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

I am new to automation testing.I am learning QTP 9.2.my question is how to install the defferent addins(other than Default Addins) is there any defference in QTP after installing the Addins.where we can get the addins?

0 Answers  


What are the benefits of quick test pro(qtp)?

0 Answers  


what r the main attributes of test automation?

0 Answers  


Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?

1 Answers  


is it possible to change the date format like MM/DD/YY into DD/MM?YY through script in QTP

5 Answers   IBM,


what are the design objects in qtp

3 Answers   Wipro,


what is virtual object?

2 Answers  


How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


Give answer with example what is orthogonal array testing technique?

1 Answers   CTS, Wipro,


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

0 Answers  


While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts

2 Answers  


Categories