Answer Posted / 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 |
Post New Answer View All Answers
What are the disadvantages of recording test cases in qtp?
what is supply chain management?
Explain the concept of object repository and how quicktest professional recognises objects?
How qtp identifies objects?
What is an object repository?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How to define array in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
I want to grow as a Automation Engineer,Kindly help me in clearing my interview that what interviewer looks for as a Automation Engineer. I am having three years of experience in testing.
what is impact analysis on regression testing?
How to export quicktest professional (qtp) results to an .xls file?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?