Hi,
I want to write the script for a webpage. But i didn't
added the properties of the objects to the object
repository. Without adding the object properties to the
object repository, how to write the script.
When i am writing the script, Let us say i typed as Browser
("").
after selecting ".", if the object is added to the object
repository it will display atomatically. But in my case it
is not as i didn't added the object properties. How to
proceed further in the above mentioned case to write the
script manually. Pls let me know if you didn't understand
the question.
Answers were Sorted based on User's Feedback
Answer / puneet
You gotcha use Descriptive Programming , thats the only way
to write the scripts without "learning the Objects in the
repository".
Eg
Browser("name:Google").Page("Name: Google")......
use object Spy for taking information about the properties
of the objects.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / babu
Hi Puneet,
Thanks for the information. I written the scirpt as you
mentioned above. But while running the script it is
displaying the message that the "Object" is not existed in
the object repository.
I want to execute the script without adding the properties
of the objects to the object repository.
Anyone can help me in this ....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / latha
Hi Babu,
Try this way
Browser("name:=Google").Page("name:=Google"). and so on.If
not as puneet suggested identify unique properties using
Object Spy.Still if the prolem persits one more way is to
add the objects to repository .Modify the script into
descriptive programming and finally delete the objec
Repository.
Is This Answer Correct ? | 0 Yes | 0 No |
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088
why do we go for Test Automation?
How can i select multiple items from a WebList bOX USING QTP
What is the difference between gettoproperty and settoproperty?Explain with an example?
What are the key points to create a framework in QTP for oracle forms?
how to merge object repositories?
How many ways return more then one value from function?
How to check feasibility of the appliction?in automation testing?
What are the different types of action?
write the code to reverse a string without using Strrev built in function.
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?