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   SiteMap shows list of All Categories in this site.
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 to call .vbs functions in QTP? plz Explain indetail
 Question Submitted By :: Chandana
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to call .vbs functions in QTP? plz Explain indetail
Answer
# 1
You can execute a VB Script function using the statement

ExecuteFile "File"

Eg: If you have the .vbs (MyVBScript.vbs) file in the 
path "C:\Temp" then the following statement will call the 
same:

ExecuteFile "C:\Temp\MyVBScript.vbs"
 
Is This Answer Correct ?    1 Yes 0 No
Nandishpatil
 
  Re: How to call .vbs functions in QTP? plz Explain indetail
Answer
# 2
to call function in QTP go to 
test--->settings-->resorces-->add the .vbs file

correct me if am wrong.
 
Is This Answer Correct ?    2 Yes 0 No
Kavs
 
 
 
  Re: How to call .vbs functions in QTP? plz Explain indetail
Answer
# 3
Above two answers are correct but they forgot to explain
about the differences of those?

1. Call .vbs file

Test Settings-->Resources-->+ button-->show the path of .vbs
file-->Click OK button

Click the "Check Syntax button"

It is available for all actions in the test. If you click
"Set as Default" It will be available for all the new Tests.

In Test Pane.

Call functionname(parameters)
or
var=functionname(parameters)
msgbox var

2. Executefile "path of .vbs" file

It is used to execute the function dynamically but it is
used for only particular action,
 
Is This Answer Correct ?    0 Yes 0 No
Bfakruddin
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What will be the test script in QTP to test a ComboBox where a user has to select more than two items???? L&T4
Plz suggest me a good training institute in Mumbai/hyderabad for QTP…. Plz advice thank u IBM14
How to export QTP results to an ".xls" file?  3
What are the problems / difficulties faced when you used Smart Identification ? Keane-India-Ltd1
Can you import and export data from XLS and how?  4
what is the difference between Automation object model(AOM) and test object model(TOM) UHG2
How to handle the exceptions using recovery scenario manager In QTP?  2
What is parameterization? What is syncronization pt.? Semantic-Space3
There is a name "AJAY" how do u count no.of. "A" in that name ?  2
how to merge object repositories?  4
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)  1
How to use Regular Expressions in QTP  1
What is the Diff between Image check-point and Bit map Check point? CTS12
Up to how much VB scripting knowledge and what type of VB script knowledge is required for a QTP test engineer for real time to work ?  2
which command u will use to access the application through descriptive programing? Datamatics5
Pls can anyone give me the descriptive programing script to find the number of edit boxes in a login window in flights reservation (windows application only not web). Pls anyone, very urgent  1
Scenario:2 combo boxes.1st combo contains a,b,c,d.2nd combo contains 10..20,20..30,30..40,.Selecting 'a' shld display 10...20,'b' shld display 20..30.. and so on.tell d script? 2.Random testing of 500 test cases in qtp?  1
I have a Webedit object. some text is entered in that object I want to know the font sixe of that text.How could I do this using QTP? This is a requirement for me. I am happy if any one help on this GE3
difference between recording methods and recording modes in QTP Ordain-Solutions3
What will be the script for recovery scenerio.plzanyone give ans with aexample related to banking project Yahoo2
 
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