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 can i use Ordinal identifiers and Smart identification methods suppose i want to know the index no of check box

1 Answers  


Explain in brief about the QTP Automation Object Model.

1 Answers  


what is the diffrence bw qtp architectute and qtp framework?

0 Answers  


how will you handle the situation when object is not caputred during record?

0 Answers  


How you r using QTP in u r project

1 Answers   IBM, Lehman Brothers,






what type of scripts are asked in qtp?

2 Answers  


How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


can test automation improve test effectiveness?

0 Answers  


Explain quicktest professional testing process?

0 Answers  


HOW TO DO THE BATCH TESTING USING QTP?

2 Answers   Ordain Solutions,


How many types of trigger events are there in qtp?

0 Answers  


What is load testing?

1 Answers   Crea,


Categories