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



Hi, I want to write the script for a webpage. But i didn't added the properties of the objec..

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

Hi, I want to write the script for a webpage. But i didn't added the properties of the objec..

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

Hi, I want to write the script for a webpage. But i didn't added the properties of the objec..

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

Post New Answer

More QTP Interview Questions

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.

1 Answers  


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

1 Answers  


why do we go for Test Automation?

2 Answers  


How can i select multiple items from a WebList bOX USING QTP

3 Answers   DuPont, Syntel,


What is the difference between gettoproperty and settoproperty?Explain with an example?

4 Answers   QQS, Satyam,






What are the key points to create a framework in QTP for oracle forms?

0 Answers  


how to merge object repositories?

5 Answers  


How many ways return more then one value from function?

2 Answers   Ingram Micro,


How to check feasibility of the appliction?in automation testing?

0 Answers   CTS,


What are the different types of action?

0 Answers  


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions?

1 Answers   Motorola,


Categories