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 |
How to Import the data from MS-Access in QTP?
how can we merge the object repositories?is ther any option in qtp to merge the object repositories if we have two or three object repositories?
What are the check points can be inserted without recording?
where the check points are stored ?
qtp script for recording and running the application.need script for short cut keys like f3,f4 etc.how to write script for recording?
There is a very good institute for Automation Testing using QTP.For more details please visit jbslearnings.com.
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
Explain xml checkpoints.
How to retrieve data from application objects?
What are the Features & Benefits of Quick Test Pro (QTP)..?
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?