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 / 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 |
How can I test the unix shell in QTP
How to Test the mainframe application?(tell me few basic things)
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
what is the difference between the modular framework and datadriven frame work
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, and also tell me the best institute and the estimate cost for joining the institute ib delhi NCR. Hence, if possible, kinldy mail PDF file to my mail-ID: kumar123.pathak@gmail.com , Regards, kumar pathak
How does qtp identify gui object?
why do we use both location and index identifier.
plz tel me what is the differnce between QC & QTP?
What is descriptive Programming in qtp.
What are benefits of qtp?
.mtr ( modular test repository or mercury test repository) plz give correct answer??
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties