Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what is batch testing?

1 Answers  


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 ?

3 Answers  


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

0 Answers   Wipro,


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)

3 Answers  


write a function to read the items from Combobox of Flight Reservation application and save in excel.

5 Answers  


Tell me Three major differences between QTP & Winrunner?

2 Answers  


Can any one please explain hwo to test client/server application using QTP?

3 Answers   Patni, Value Labs,


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

3 Answers   HCL,


anybody give me the real time example for descriptive programming of web application

7 Answers  


Tell me the QTP Advantages and Disadvatages ?

6 Answers   Accenture, CTS, GE,


what is TOM in qtp?

5 Answers   Accenture,


Categories