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 we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec..
any body can you help me what is the script to automate an comand promt
give me an example where u used good judgement and logic in solving a problem
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
How to Run a Test using QTP?
What is the difference between QTP 8.2 and QTP 9.2 ?
How to execute a winrunner script in quicktest professional (qtp)?
Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this?
Is it a smart choice to use QTP for backend testing?
How to associate function library at a run time?
Hi,Every one,my name is RAHUL,aim wondering if any one got QTP software? If yes,can u plz knock on to gchinthakindhi@gmail/yahoo.com. THANK U.
What is the standard timing delay for web based application in qtp?