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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to test background color and dynamic images during run time can you put the check point for moving objects?

1548


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1597


What is the basic concept of quicktest professional (qtp)?

672


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1800


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1483






How you will rate urself in QTP in the range of 0 to 5

1833


How to use debug tools?

2285


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1650


What is the difference between shared and local object repository?

697


How to test results for qtp ?

869


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1637


How to use reporter.report event in qtp ?

651


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1821


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1470


What are the common defects found in your project? (in qtp interview)

1697