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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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
 
w is output value MBT2
Diff B/w Webserver and Client Server  2
We are using the QTP version 9.0 where we want to call objects from global repository for a particular function at runtime for increasing the performance of framework.We are actually looking for loading the objects under test (OAT) dynamically when script runs and would like to unload the same once the execution of the script is completed.  2
what is virtual object?  2
hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful? Syntel2
can we use QTP for load testing instead of load runner?  3
how can we retrieve ten rows from the data table using loop concept?  3
How can we close all webbrowsers which are opened in out desctop?  4
How to capture data from images in QTP and produce them in Excel sheet ? iFlex1
What is runtime objects and test objects? What is the difference between them? IBM4
Synchronozation types in QTP  4
who is the best faculty in Hyderabad for QTP?  5
can anyone please send me qtp framework material please its urgent  1
i m tryed to use qtp in a user registration form but at the "image enter"part it gives a error when i run the qtp bcz the image is changed every time so it gives a error when i use regukar expreesion fot this it still gives a error value bcoz it reads the image code bt nt reconige the image which i enter in the image verification text box.so hw can i automate qtp for this function.plz give me a answer  1
Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????  2
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this? IBM3
suppose i can done the project in automation tool with QTP in that time what i can say?  3
What is the function of Filter in QC . give with a real time example. TCS1
What is Optional step?  3
Differentiate the two Object Repository Types of QTP.  5
 
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