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

What is the descriptive programming?

0 Answers  


suppose our project is developed using java technologies.after complition of the coding developer relesed a build to the testing team.so, what is the process means how we open that documents?what are that documents?plz give reply its urgent

2 Answers  


from where we will retrieve data for data driven tests in qtp?

3 Answers  


Hi Friends, Iam Beginner in QTP and i want to Try the software QTP. I checked the mercury site for QTP Trial version and i found QTP 9.0. The thing is that it supports windows 2000,Xp but not windows 98.And Iam using Windows 98 onlu and it's not possible for me to upgrade to windows 2000. Pls. guide me how to get the trial version of QTP which supports windows 98 Operating System The version may be 6.5 is ok for me.Thanks in Advance

2 Answers  


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  






Where we can use the synchronization?

0 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

0 Answers  


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


what testplan contents and what test strategy contents,what is the diff b/w them

0 Answers  


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


can any body pls mail me latest FAQ's in QTP to my mailid btrintra@gmail.com....Thanks in advance

0 Answers  


How to execute a VBS file without using Execute File statement?

3 Answers   iGate,


Categories