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 can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.
Explain the check points in QTP?
22 Answers Gray Matrix, IBM, Microsoft, Prapan Solutions, Zensar,
can u write one user defined function for webedit class.
Differences between quicktest professional (qtp) and winrunner?
What is Associate Repository in QTP 9.2 ?
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....
images are dynamically changes how to compare two images
What is chaild object method? When we will go for chaild object method? How to use chaild object method?
1.IF SOME OBJECT IN APPLICATION IS NOT IDENTIFIED BY QTP? HOW WILL YOU OVERCOME THIS? 2. WHEN AND WHYDO U GO FOR DESCRIPTIVE PROGRAMMING? 3. WHAT IS THE DIFFERENCE BETWEEN VB AND VBA? 4.WHAT ARE THE REGULAR EXPRESSIONS YOU USED? 5.IF ANY REQUIREMENT IS ADDED IN YOUR PROJECT, HOW WILL YOU PROCEED TO DERIVE THE TEST CASES AND HOW WILL YOU PERFORM AUTOMATION FOR IT?
In QTP what is the difference between Step-in, Step-out, Step-over ?
i did B.Tech cse and i secured 76%. instead of siting at home ... i would like to do some course. can u suggest me in this.