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

what is descriptive.create()in qtp?

3 Answers  


What is object identification?

8 Answers   Wipro,


what is the use of automation frame work ??(QTP)

2 Answers  


Explain about invoking of application?

2 Answers  


I have below user Defained function function AddTwo(ByVal a, ByVal b) Dim Ans Ans=a+b MsgBox Ans End function Now my question comes here...from given below methods which method is right to call above function?Which is Wrong and why? 1. AddTwo(2,4) 2. Call AddTwo(2,4) 3. AddTwo 2,4 4. Call AddTwo 2,4

1 Answers  


can we take 'dim my pen is good' as a paramerter

2 Answers  


Plz someone tell me about user interface testing and backend testing and hw did u use it in ur project.plz give a detail answer i need to explain it to the interviewer. plzzzzzzzzz guys its urgent

2 Answers  


How can I pass values from one action to another in QTP ?

8 Answers   Ordain Solutions,


we have 10 automation scripts. how to call them from one main script.

2 Answers  


tell me about framework types and most used framework in real time. types of output value in details. diff between wr and qtp in detail.

2 Answers  


How to find the length of the string in qtp?

0 Answers  


How do u override the meaning of a standard object in QTP?

1 Answers  


Categories