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 batch testing?
Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
I want some banking domain projects where can i get this projects ( anybody can help me plz)
write a function to read the items from Combobox of Flight Reservation application and save in excel.
Tell me Three major differences between QTP & Winrunner?
Can any one please explain hwo to test client/server application using QTP?
I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE
anybody give me the real time example for descriptive programming of web application
Tell me the QTP Advantages and Disadvatages ?
what is TOM in qtp?