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 is descriptive.create()in qtp?
HI How to take screenshots of a Webpage and saving it in a external word document using QTP.
We developed 100 descriptive programms and put in running, in the midle if any descriptive program is stucked with some error? what will happend weather it will execute the remaining prg's or it will terriminate ?
How many types of parameters are available in quicktest professional?
How we can test a Frame in a web page?
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..
what is Defect density, defect leakage, defect age,latentbed,yasid testing, interface
After creating testcases, how do you start testing in QTP? what methodology will follow?
7 Answers Actran, American Well,
What are the Levels of Automation in QTP
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent?
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.
How to Display last item of a Combobox by using QTP?