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...


i need to learn the descriptive programming very well so for
that what to do am reading the qtp user mannual but it is
not so any materials or links with examples i want please
help me

Answers were Sorted based on User's Feedback



i need to learn the descriptive programming very well so for that what to do am reading the qtp use..

Answer / p

Descriptive not need any regular expression or object repository..AND descriptive ae of two types this is not write code for descriptive...Don't write any wrong ans anybody if u dont know the ans....okkk

Is This Answer Correct ?    0 Yes 0 No

i need to learn the descriptive programming very well so for that what to do am reading the qtp use..

Answer / pallavi

Hi,

In Decriptive programming all the properties and their
values which make an object uniquely identifiable are
written in the script.

Regular Expressions can be used to specify the value.

Easy way to learn Descriptive programming would be
1.Record the script
2. Now modify the code in such a way the code becomes
independent of object repository
3.Now try to run this code

Eg.
1.If the recored statement is
Browser("Yahoo Login").Page("yahoo Login").WebEdit
("Login").set "User1"

2. Now try to identify the variable-value pair for each oh
these objects which will make these objects unique.
For example if for 'Page' object , its title makes it
unique, then specify the property-value pair in the
description

Browser("title:=Yahoo Login").Page("title:=Yahoo
Login").WebEdit("Name:=Login","html tag:=INPUT").set "User1"

Note:
1. Object Spy will give the the list of all the properties
and their current value for an object.
2. what i do is,
I. i record the script, now the object repository is
created.
II. Now i start changing the script, by looking at the
object repository i change the description of the object in
the script.
III. Run the modified script. I correct the script until
the scrit runs successfully.
IV. When the script runs without any error and is
completely descriptive. Go to Object Repositry and delete
the antire object repository
3.You can write partly descriptive script also
E.g.
Browser("Yahoo Login").Page("yahoo Login").WebEdit
("Name:=Login","html tag:=INPUT").set "User1"

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

0 Answers   HCL,


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

0 Answers  


How you are developing the script? Using record and play back or manual?

0 Answers  


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

0 Answers  


WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?

2 Answers  


How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script

0 Answers   IBM,


In a WebTable 2nd row,3rd column contains one link and that link name is changing dynamically. How you will click the link?

1 Answers   Bank Of America,


what is the script to select 2 or more than 2 options from a listbox.

2 Answers   Polaris,


in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one

1 Answers   DigiTech, Infotech,


What is QTP’s model for test creation?

0 Answers  


Under what conditions would you recommend QTP for future projects?

1 Answers  


Categories