w is descriptive programming
Answers were Sorted based on User's Feedback
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 |
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 |
Q- what is the advantage of merging tool in QTP 9.2?
Please explain how to open with notepad of saved html file by right click option using QTP
How to use transactions in qtp?
In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How to use conditional loops in qtp ?
What are the versions of qtp,What are the differences b/n them?
How to run a test using quicktest professional (qtp)?
Pls Solve Error(SAP-CRM):- Cannot identify the specified item of the SAPNavigationBar object.Canfirm that the specified item is included in the object's item collection.
What is the Diff between Image check-point and Bit map Check point?
Explain quicktest professional (qtp) testing process?
How To clear the AutoComplete?