How can i select multiple items from a WebList bOX USING QTP

Answer Posted / sri satya

Hi,
You can select multiple items from the Web List by using
ExtendSelect.
For Ex:

Browser().Page().Weblist(WebListName).Select(WebListValue1)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue2)
Browser().Page().Weblist(WebListName).ExtendSelect
(WebListValue3)
.................. ....... (WebListValue4)
.................. .......(WebListValue5)

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What r the different filters in defect in quality center

3516


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1974


can any body give the banking domain concepts/links

3839


What are the advantages of qtp?

772


What is an optional step in qtp ?

851


Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak

1868


Output values? i want a practical example

1520


How will internal and external links be validated and updated? how often?

884


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1935


Why is action split used by qtp?

757


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3676


Is the qtp course will help to create a virtual object?

1716


How qtp identifies objects?

760


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1853


I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1665