what is the script to select 2 or more than 2 options from
a listbox.

Answers were Sorted based on User's Feedback



what is the script to select 2 or more than 2 options from a listbox...

Answer / cvr

Browser().Page.().weblist().Select " "
Browser().Page.().weblist().Extendselect " "

by using extend method we can select ata time two name sin
list box

Is This Answer Correct ?    14 Yes 0 No

what is the script to select 2 or more than 2 options from a listbox...

Answer / nihar ranjan

Browser().Page().WebList().Select "Value1"
Browser().Page().WebList().ExtendSelect "Value2"
'It will Work

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Explain about Table and DB Checkpoints?

1 Answers   Crea,


Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

0 Answers  


How to export(copy) the entire webtable from the webpage into Excelsheet? using Vb scripting

9 Answers  


How to compare source and target database in testing? Can anybody please tell me in detail the procedure how to compare it?

1 Answers  


Where we save all scripts in the QTP

5 Answers   Ordain Solutions, Sathya Technologies,






Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in

0 Answers  


Tell me the QTP Advantages and Disadvatages ?

1 Answers  


Hi, I have a login page. To login in that page I need to have a valid username and password, which is stored in database. I imported that table to my DataTable in QTP (Global sheet). Now I need to write a code in qtp so that I can login only with valid username and data. my condition is : I want to get username and password from inputbox(which i did) and click on login button- which should verify the datatable for username and password and if value is present only then lofin else stop the testing. DataTable contains columns : LoginName and Password Code: Rowcount= DataTable.GetSheet("Global").GetRowCount msgbox "RowCount= " &RowCount,1 CurrentRow= DataTable.SetCurrentRow(1) Do Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$UserName$ctl").Set DataTable("LoginName",1) Browser("").Page("").Frame("Frame").WebEdit("ctl10$ct l00$ctl00$Password$ctl").Set DataTable("Password",1) Browser("").Page("").Frame("Frame").Link("Login").Cli ck CurrentRow=CurrentRow+1 Loop Until CurrentRow>Rowcount Can anyone help? Thanks, Priya

3 Answers  


HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?

0 Answers   ADP,


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

0 Answers  


Hi, Can anyone help me with: How to select a value from combobox and check the checkbox and set the filter. I have to set a filter by selecting a value from dropdown. Also, im using UFT 11.5 so can anyone help me with code for UFT. Thanks Sreevidya

1 Answers  


Did you face the problem, changing the properties of an object in Run Time?

1 Answers  


Categories