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 capture a window in QTP?

0 Answers   IBM, Mphasis,


Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?

0 Answers   HSBC, T Mobile,


I have one bitmap image in my webpage. The bit map image is moving like 1 place to 2nd place and 2nd place to 3rd place Etc… in my webpage. I wanted to write script for dynamical objects like above example. Could you please send me the answer for above query.

9 Answers   IBM,


Do we have to Enable Smart Identification while running Or will it automatically be enabled ?

2 Answers  


Write the Test Cases for ATM(Any Time Money)

3 Answers   SpaceLabs,






How to handle the exceptions using recovery scenario manager in QTP?

1 Answers   Crea,


what is difference betweein qtp 9.0 and 9.2

1 Answers  


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

2 Answers   Keane India Ltd,


Explain hybrid framework with advantages and disadvantages?

0 Answers  


Differences between text and test area checkpoints?

0 Answers  


Can launch two instances of qtp on the same machine?

0 Answers  


How to create configuration scripts

1 Answers  


Categories