I have faced one issues while doing test in QTP.

I have described the scenario below.
1. I have to test web application.In that i want to give
input of drop down values in the application.
2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to
give value from data table of QTP.
3. I have changed the drop down value as variable in Keyword
view and given values in data table "A,B,C,D,E" as one below
one.
4. While i am running the script it could not identify the
drop down value which is in Data Table.It shows message.

How to make value identify by QTP?

Answer Posted / kiran

Browser("Mercury Tours").Page("Find Flights").WebList("depart").Select "London"

or else by using index

Browser("Mercury Tours").Page("Find Flights_2").WebList("arrive").Select "#4"

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1642


Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

620


How to use actions in qtp ?

595


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

588


What is fragmentation and paging?

1602






Explain about the quicktest professional (qtp) automation object model?

578


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1571


what is the difference between data driver & data driven and driver script?

2148


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

1573


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

591


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

1512


What are the trigger events in qtp?

587


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1346


Is it possible to change the values of analog recording?

585


Key word driven framework

1694