w is descriptive programming

Answers were Sorted based on User's Feedback



w is descriptive programming..

Answer / 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

w is descriptive programming..

Answer / habeeb.sk

wtiting Script with out having the object repository.
or,

A technique used to handle automation test even though
object repository is not available.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to explain a banking project in interview as a test engineer???

0 Answers   Accenture,


How to carry out bit map check points in QTP

0 Answers   kenexa,


How to customize qtp?

0 Answers  


What is standalone database?

0 Answers  


How can you delete the results file (XML)

2 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,


does test plan is in test strategy or test strategy is in test plan.

6 Answers   Microsoft, TCS,


In a web page, one web table is present which is dynamic. In that table one of the column has links with the same inner text. write a script so that i need to click the third link.

3 Answers  


Differences between QTP & Winrunner?

2 Answers   Crea,


What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.

3 Answers   Cap Gemini,


What is checkpoints for quicktest professional?

0 Answers  


explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


Categories