Hi,

How to give drop down values as input [Variable] from data
table in QTP?

If u know share with me.

Answers were Sorted based on User's Feedback



Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share ..

Answer / ramesh

what u mean by drop down values ...
sorry i'm not clear with the question

Is This Answer Correct ?    0 Yes 0 No

Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share ..

Answer / babu

Can you explain little bit more wat exactly you want.

Is This Answer Correct ?    0 Yes 0 No

Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share ..

Answer / xyz

Firstly go to the first row
r = datatable.getsheet(1).rowcount
for i=0 to r-1
datatable.getsheet(1).setcurrentrow(i)
Browser().page().weblist().select(datatable.Value("Name",1))
This is for single select
If you want to enable multiselect property then
Browser().page().weblist().multiselect= 2
datatable.getsheet(1).setcurrentrow(i+1)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
datatable.getsheet(1).setcurrentrow(i+2)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
next

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to explain a banking project in interview as a test engineer???

0 Answers   Accenture,


what is the main use of reviews

2 Answers   Ordain Solutions,


When and why to use descriptive programming?

0 Answers  


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,


In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?

0 Answers  






what is the command (keyboard command) to swith from expert view to key word view

3 Answers  


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


It seems Interview questions from Ordain Solutions are almost BASIC LEVEL-Easy. I am asking one tough question..(I think.. May be easy for some people) In recorded script the - WebLink("cityinfo") In reality, the WebLink name is "generalinfo" How you can write function to click that changed web link. NOTE: This functin should work with any Dynamic text link. I will post the answer later.

8 Answers  


when i perametarization of the test through outputcheckpoint,i have seen run time error i.e outputcheckpoint mismatch .Plz tell anybody to me(qtp).How to clear that?

1 Answers  


waht is the diff b/w Environment variable and Global variable in qtp?? explain types of variable in qtp??

5 Answers  


Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna

0 Answers  


How can you give wait up to 10 seconds in qtp?

0 Answers  


Categories