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 |
How to use descriptive programming?
What is Description Object?
can we do load testing , by using QTP......?
write a function to read the items from Combobox of Flight Reservation application and save in excel.
How to use QTP for Regration testing, plz tell as with short Example of login window? plz tell as....
Explain in brief about the QTP Automation Object Model.
cud anybody please tell me the full form's of the extention files that we use in real time---.tsr,.mtr,.qrs
Which recording modes need more memory?
What r the different filters in defect in quality center
Explain types of output values?
What is the use of Accessibility check point?
I have application it is one digital clock with all minutes and seconds. you have to identify the time to verify weather the time displayed is correct time or not? How do you automate this scenario?