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

Which object repository we use in real time and can we merge 2 object repostiory and how?

6 Answers   HCL, Satyam,


What is the difference Between LowLevel and Normal Recording Modes?

1 Answers  


Hi, I want to write the script for a webpage. But i didn't added the properties of the objects to the object repository. Without adding the object properties to the object repository, how to write the script. When i am writing the script, Let us say i typed as Browser (""). after selecting ".", if the object is added to the object repository it will display atomatically. But in my case it is not as i didn't added the object properties. How to proceed further in the above mentioned case to write the script manually. Pls let me know if you didn't understand the question.

3 Answers  


how can you select random value for every iteration from a weblist

4 Answers   Microsoft,


After geting the modules where we generate the script ie in qtp or notpad ?

1 Answers  






hai friends i'm learning qtp now where we r using only record &playback frame work.and people r saying in realtime they won't use this frame work. if so what frame work actually using in realtime .and could you give explanation comaparing the record &play back fm and what ever FWyou r using in your organization. hoping cool response. thanx in advance

3 Answers  


hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you

2 Answers  


PLS SEND REAL TIMERS, WHAT IS SOA TESTING..IM TRYING 3+ YR.. I HAVE GOOD KNOWLEDGE ON MANUAL TESTING... NOW IM NEW TO LEARN "ETL TESTING" IS BEST OR NOT? BEFORE LEARNING ETL TESTING ANY SKILLS ARE REQUIRED..... AND NOW WHAT IS THE MARKET FOR ETL TESTING... AND IT IS BASED ON PROGRAMMING OR NOT?PLS HELP ME REAL TIMERS IM REQESTING U..... CONTACT ME gan9000@gmail.com

1 Answers  


How to make arguments optional in a function?

2 Answers   Crea,


Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where.

8 Answers   Microsoft,


how can we retrieve ten rows from the data table using loop concept?

3 Answers  


how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance

1 Answers  


Categories