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.



My company has recently started using Ajax for building UI and QTP is nor recognizing the drop dow..

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

Post New Answer

More QTP Interview Questions

Can u call winRunner scripts from QTP?

4 Answers  


WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT

0 Answers   Infosys,


Can we create test script with out Step Generator?

4 Answers  


what is Supplemental Objects ?

0 Answers  


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


How do you know the location Id of an object if you know its index id?

0 Answers  


What is InStr()

6 Answers   Kanbay,


How to use library files in QTP? how we can call these files in to script?

4 Answers   Virtusa, Wipro,


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


Hi,All How to change background color of a cell in excel using qtp and that too with out using Excel Object.(I am importing the excel sheet by using ImportSheet method)

1 Answers  


Why QTP is termed as a Record and Playback tool?

1 Answers  


wht is the difference betn check point and output value?

5 Answers   BirlaSoft,


Categories