ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How can i select multiple items from a WebList bOX USING QTP
 Question Submitted By :: Sastry
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can i select multiple items from a WebList bOX USING QTP
Answer
# 1
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 ?    11 Yes 0 No
Sri Satya
 
  Re: How can i select multiple items from a WebList bOX USING QTP
Answer
# 2
Dim a,i

'Getting list box count

a=Browser().Page().Weblist(WebListName).GetItemsCount 

'getting list box values

For i=0 to a-1
    msgbox  Browser().Page().Weblist(WebListName).GetItem
(i),4,"States" 
Next
 
Is This Answer Correct ?    0 Yes 3 No
Ragupathi From Syntel
 
 
 
  Re: How can i select multiple items from a WebList bOX USING QTP
Answer
# 3
' Check if multiple items exist in 
listbox, IF yes, then select those ELSE report error
         Dim AppList ,Obj
		 AppList = ListApplicationsToSelect()
         Set Obj = Browser("SMART").Page("Add User").WebList
("seiApp")
        ItemSelected = SelectMultipleListItems 
("SEI_Applications", Obj, AppList)
        SelectMultipleListItems(
	   	If  ItemSelected <> "PASS" Then
            AddUserInfo_Page1 = ItemSelected
			'Exit function 
		end if
 
Is This Answer Correct ?    4 Yes 0 No
Bhavya
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
what is the framework followed by ur company in qtp  5
in Qtp,how to display user name and pwd (script)in data table(global sheet).  2
how can i add an action(external action) programmatically? Ordain-Solutions2
Define QTP ? TCS4
How to count the no of objects in XML file(QTP)  1
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me  1
how can i call reusable action in a function could any one explain me? Livetek2
what is the difference between Reusable action and external action? HCL1
I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.  2
What is driver script and driver script in qtp frame work???? IBM1
The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....  1
How to send QTP scripts to our colleagues? Virtusa1
Synchronozation types in QTP  4
I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.  1
what is the difference between Table checkpoint and Database checkpoint in QTP Ordain-Solutions2
What is the current version of QTP?  11
How to do excception handling ( error handling ) in QTP Institute-for-Medical-Education5
in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha  1
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME Ordain-Solutions3
How can I use the value retrieved by OUTPUT VALUE check point as Input for other Actions? Motorola1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com