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 |
What are table and db checkpoints?
Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?
What is the present version of the VB Script we are using
What phases are involved in testing an application in qtp?
Can any one tell me Difference between Keyword Driven Frame work and Hybrid framework? Its Urgent.
How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?
What are the five challenges you faced in QTP?
What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
My Project is HOSPITAL CONTROL SYSTEM. In this MY testing modules are In-patient and Out-patient. plz explain those modules. i.e. How explain to Interviewer. with full details also . Waht types of bugs we can fond ? NOTE : IT is a web project plz urgent.
How you create new action in qtp?