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 |
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing...
What is All object and Local object in Object Repositary? Explain me please.
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............
what is the recovery scenario?
what is option explicit?
i can done the project with QTP in that time i can say how many members in my team size?
is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP
What are the Application Functions available in QTP?
Explain different types of action in qtp?
Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx
What are the different properties of an web object