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 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 0 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
 
What is the difference between Image Checkpoint and Bitmap Checkpoint?  4
How can you Open a Notepad and How can you write the test Resuts in Notepad by Using QTP?  3
difference Between LowLevel and Normal Recording Modes?  4
How to create a run time propertyfor an object? IBM3
can we run the scripts of QTP8.2 in QTP7.0?  1
who will distribute the project modules for testing in testing team ?  2
how i will connect oracle or microsoft acess database through manually written Script Aurigo2
Is it possible to convert QTP scripts to Silk scripts? Sierra-Atlantica2
Can we call a parameter from an action to other action?  4
how to load the *.vbs (or) test generating script in a new machine? Ordain-Solutions3
how can we retrieve ten rows from the data table using loop concept?  3
WHICH functionalities of QTP used in Banking project? Tarang2
Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance  2
Give me the Example of standard check point and text check point with syntax? IMI-Soft-Engineering2
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project? AppLabs7
How to handle the exceptions using recovery scenario manager In QTP?  2
what is the use of automation frame work ??(QTP)  2
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()  1
How can the expected image for a bitmap checkpoint be recaptured in QTP Ordain-Solutions1
Hi, actually I completed Btech(CS). But i Will go to admin (Facility) interview. So, If Interviewer asking like " Why You choose this field". What we say? pLZ PLZ PLZ PLZ >............................................Send me.....  2
 
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