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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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 values from drop down list using 
vb script in qtp?
and wt is the script for clicking msg box box automatically 
with a specific time.

Thanks in advance...Kalyani.
 Question Submitted By :: Kalyani
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.
Answer
# 1
Set x =CreateObject(”WScript.Shell”)
x.Popup “message content”, 5, “msg header”, (0+48)

the above code will close the msgbox after 5sec

but where as selecting multiple items in a list box i never 
tried it
 
Is This Answer Correct ?    1 Yes 1 No
Bhargavi
 
  Re: How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.
Answer
# 2
object.ExtendSelect Item -> This you can use to select 
multiple items from a drop down list.

Ex: 
'The following example uses the ExtendSelect method to 
select multiple, non-consecutive items in a list. 

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList("Entrees").Select "Hamburger" 

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList
("Entrees").ExtendSelect "ChickenSandwich" 

Browser("FastFoodHaven").Page("KidsMeals").JavaApplet
("Foodlist").JavaList("Entrees").ExtendSelect "HotDog"
 
Is This Answer Correct ?    1 Yes 1 No
Sasmita
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Per-Action Vs Shared repository?  5
Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc., ADP2
What is the extension of script and object repositary files?  2
What are the QTP advantages and disadvantages?  4
How to create frame work for qtp? Polaris1
how to write scripts in QTP? Ordain-Solutions3
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..?? Virtusa4
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2 Siemens1
How can i learn Descriptive programming in QTP. Please reply.  3
How can we do Data driven testing Using For loop in QTP?  2
Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so.. Correct me if iam wrong some where. Microsoft8
hi Sudhananda reddy, in my resume, i written as , I Am working as a Test Engineer for xyz company. IS IT RIGHT OR WRONG? WHAT IS THE ACTUAL meaning of "IN XYZ COMPANY", "FOR XYZ COMPANY", "WITH XYZ COMPANY".  2
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process. TCS2
Diff B/w Webserver and Client Server  2
How can we test an XML using QTP? I have been to an interview, where they have given me an XML which had 15 values and they have given those values on a separate page. They asked me to write a QTP script to check the XML is having those particular 15 values.  2
how to open Excel sheet & write in it & save it? InTech1
how to recall a function in QTP? Ordain-Solutions3
How to supress warnings from the "Test results page"?  4
What is output value? Ordain-Solutions3
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
 
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