How to identify the objects using descriptive programming
when the object property values are same, i mean in a page
10 objects are there i want to click the 6th object but all
the object property values are same? using descriptive
programming
Answer Posted / abi
If u r going to click on the 6th object, then give the
index value as 5 in the descriptive programming. For
example, if u r trying to clcik on an OK button where in
the same page, u have 10 OK buttons, then
Browser("").Page("").webbutton
("name:=OK","Class:=button","htmltag:=sumbit","index:=
5").click
this will click on the 6th OK button of the page.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Explain different checkpoints in qtp.
What does it mean when a check point is in red color? What do you do?
What is business process testing(bpt) in qtp?
Give me some real time point of way where exactly we can conduct audits?
How software tester can use constants and variables in scripts?
What are the common defects found in your project? (in qtp interview)
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
What is the parameterization? Give one example?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Hai anyone please "Explain about Framework in QTP?"
If I change the object name in one action will it be updated in all the actions? Or not?
How does qtp identify objects in the application?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
How to check bitmap output value?
what is the structure for the data driven framework