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


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

Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?

3 Answers  


i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no?

6 Answers   IBM,


pls dont join MIndq nageshwar rao...Nageshwar rao sir didnt teach QTP indepth...he teach basics only...atleast he dont know about INSTR concept...this concept take min 30 min...buthe teach 3 min only...like this so many concepts are missing in class. IN CLASS ROOM NAGESHWAR RAO SIR HIPNATIZE THE STUDENTS....WITH OTHER ISSUES.. dont join... look other institutes...this is my personal openion share your comments thank u

1 Answers   Mind Q Systems,


Hi Friends,will any body tell to Me for which Auomation Tool their is great Requirement inht eMarket Eithr the QTP or WINRUNNER and for what reason and how long it is going to remain and wat the Scope for the automation Testing In the Future Please tll to Me In Details Ok .

2 Answers  


Hi all, Recently i faced this question in infosys What is QTP architecture?? Is Architecuture and Framework are same?? Can someone please give clear understanding of this.

3 Answers   Infosys,


i need to learn the descriptive programming very well so for that what to do am reading the qtp user mannual but it is not so any materials or links with examples i want please help me

2 Answers  


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


when i am running login page i got test run error? Please give me the script to handle run time exceptions. It's urgent for me.

4 Answers  


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

0 Answers  


During test run,How will you copy/paste from/to clipboard?

3 Answers  


I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance

0 Answers  


What are the advantages of parameterization ?

0 Answers  


Categories