Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to call .vbs functions in QTP? plz Explain indetail

Answer Posted / bfakruddin

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 ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of status are there?

985


Explain the concept of object repository and how qtp recognises objects?

984


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

2075


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

2168


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

2001


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1805


What are the two types of repositories available, explain them?

970


how to find that tools work well with your existing system?

1813


hou can we use vb script in qtp could u tell me breafly

2141


In QA Testing when do you use Loadrunner vs QTP? What are the main differences between those two tools? Explain the purpose with real world scenario examples...In advance thank you!!!

2854


What are the trigger events in qtp?

1058


When Recovery scenario actually starts while testing the application?

1974


How to add synchronisation points in qtp?

995


I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.

2022


Explain how qtp identifies object?

1024