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

Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

0 Answers  


somebody please say me why we go for using regular expressions,actions.what is the main and exact use of this in real time applications.real time testers pls answer my question with example if u can

4 Answers  


Hi, how can we check or avoid the memory leakage in QTP9.2?

0 Answers   Arctern,


Hoe can we do retesting using functions please give the code for it using login page

0 Answers  


can anyone tell me from where i can download qtp demo or crack version

0 Answers  






Difference between object identification and smart identification

2 Answers   Wipro,


.mtr ( modular test repository or mercury test repository) plz give correct answer??

3 Answers  


General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?

2 Answers  


What is the difference between "call" and "callclose"

1 Answers   Polaris,


if i want to check text on the status bar how to test is i need the report also after getting the result weather it is matched or not?

2 Answers  


What is object spy in quicktest professional (qtp)?

0 Answers  


I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...

1 Answers   Bank Of America,


Categories