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...


On a web application I want to select list item 5 from a
dropdown list. but QTP identifying this object as
winobject. Then how can we select list item 5 from that
dropdown list.

Answers were Sorted based on User's Feedback



On a web application I want to select list item 5 from a dropdown list. but QTP identifying this o..

Answer / ashok kumar

Hi,
1. Are u using IE browser?
2. Have u opened the browser after QTP opened?

If u opened the IE browser after the QTP,

then, object will be record as Weblist, if you want to
select more than one value from list, try "ExtendSelect"

For ex:
Browser(".*").Page(".*").WebList(".*").Select "A"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "B"
Browser(".*").Page(".*").WebList(".*").ExtendSelect "C"

Is This Answer Correct ?    7 Yes 3 No

On a web application I want to select list item 5 from a dropdown list. but QTP identifying this o..

Answer / santhosh

1.FIRST LAUCH THE QTP AND LAUNCH THE APPLICATION AND THEN
CHECK IT OUT

2.DISABLE SMART IDENTIFICATION AND TRY

AND WHILE SCRIPTING U CAN USE


BROSER(" ").PAGE(" ").WEBLIST( " ").GETITEM(5)


this wil get u item 5

plesae revert back it this doesnot work

Is This Answer Correct ?    2 Yes 0 No

On a web application I want to select list item 5 from a dropdown list. but QTP identifying this o..

Answer / baby

in case of IE it identifies as winlist, to select a particular value say for eg, as '5'

For ex:-

Browser(" ").Page(" ").WebList(".*").Select(4)

Is This Answer Correct ?    1 Yes 0 No

On a web application I want to select list item 5 from a dropdown list. but QTP identifying this o..

Answer / kartheekmavuluru

It 's not possible. QTP will always identifying this object as
WebObject in Web application.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More QTP Interview Questions

How to get data line by line from web element

2 Answers  


How to make arguments optional in a function?

2 Answers   Crea,


Suppose there are 100 links in a web page and the number of links will be changing dynamically from time to time. I need code such that every time i had to click on the last link of the web page.

4 Answers   Virtusa,


how to retrieve the column headers in database using vbscript statement in QTP

1 Answers  


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

0 Answers  


does automation replace manual testing?

2 Answers  


How to remove the associated function library?

0 Answers  


QTP WAS WORKING FINE BUT TODAY I GOT THE ERROR , THE MEMORY COULD NOT BE READ -REFERENCE MEMORY ,pPLEASE REPLY URGENT WHAT IS THE SOLUTON

1 Answers  


write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How to change the run-time value of a property for an object?

3 Answers   Crea,


3. Anyone pls tell me as many points as possible for this question? what r the things to take into consideration before automating an application like; a). Identify whether the tool supports the appln or not. b). When there is lot of retesting and regression testing. c). ROI. d). When there is a need for running same script for multiple datas, etc. e). ---- f). --------- Pls give me more points.

1 Answers  


What is Curd testing?

0 Answers   Wipro,


Categories