My company has recently started using Ajax for building UI
and QTP is nor recognizing the drop down list for
selection.It recognises it as a general Web Element or Web
Table. I have added individual selections from the drop
down as web Table. It works as long as the page is not
refreshed. I need some help and inputs as to how to make
QTP recognise a drop down list for selection. Any help will
be appreciated.
Answer Posted / jp
Hi,
Before selecting the list item, check for the the list box
exist.
Try this code
If Browser("title:= Application").Page("title:=
Application").WebList("html id:= property name").exist then
Browser("title:= Application").Page("title:=
Application").WebList("html id:= property
name").Select "name"
Else
Msgbox "Drop down List box not available"
End If
If the list box exisit does not work add one more property
for the WebList like- WebList("html id:= property
name","items count:=11").exist
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How many types of recording facility are available in quicktest professional?
Output values? i want a practical example
Explain about business process component? types and usage?
What are the five challenges you faced in QTP?
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Does quicktest professional is unicode compatible?
what is the difference between IE & Netscape in web testing on a log in page
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
explain how to write vb script in qtp?when will you write own script?
When and why to use descriptive programming?
How many types of object repository in qtp?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
Can anybody post some real time scenario in qtp? please its very urgent.
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
Is QTP supports Unix. If yes, then how the test automation is done?