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

w is descriptive programming

Answer Posted / umasankar

When you record an operation on an object, QuickTest adds
the appropriate test object to the object repository. After
the object exists in the object repository, you can add
statements in the Expert View to perform additional methods
on that object. To add these statements, you usually enter
the name (not case sensitive) of each of the objects in the
object's hierarchy as the object description, and then add
the appropriate method.But in descriptive programming it is
quite different.Let us see the below example.

Decriptive programming with an example on a webpage.

General programming:

Browser("Mercury Tours").Page("Mercury Tours").WebEdit
("Name:=Author", "Index:=3").Set "Uma Sankar"

Descriptive Programming:

Browser("Title:=Mercury Tours").Page("Title:=Mercury
Tours").WebEdit("Name:=Author", "Index:=3").Set "Uma Sankar"

The difference is quite very less. But is very important.

Note:If you specify a test object by its object repository
name after other objects in the hierarchy have been
specified using programmatic descriptions, QuickTest cannot
identify the object.

If any doubts please let me know.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to download mercury qtp9.2 ny internet ?

3554


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

2314


How to capture a window in QTP?

2028


What are the advantages of qtp?

1049


How to open a new test using quicktest professional (qtp)?

1040


What is the basic concept of quicktest professional (qtp)?

1114


Can we create user defined functions in qtp?

1058


How does qtp identify objects in the application?

1172


if our qtp vb Script may be Currepted then What we want do?

1970


Diff b/w Health care domain and Banking Domain?

4738


How does qtp identify the object in the application?

1006


How to use conditional loops in qtp ?

1101


What are the different types of recording modes?

1067


What test cases can you automate using QTP?

1155


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

2047