Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How many types of recording facility are available in quicktest professional?

1159


Output values? i want a practical example

1806


Explain about business process component? types and usage?

2130


What are the five challenges you faced in QTP?

3261


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

1144


Does quicktest professional is unicode compatible?

999


what is the difference between IE & Netscape in web testing on a log in page

2384


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

2712


explain how to write vb script in qtp?when will you write own script?

2363


When and why to use descriptive programming?

1106


How many types of object repository in qtp?

1152


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.

3410


Can anybody post some real time scenario in qtp? please its very urgent.

2334


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

3929


Is QTP supports Unix. If yes, then how the test automation is done?

2235