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...


I register user defined function in one test, I tried to
call that function into other test. But that function not
works in other test please give the direction for that.



I register user defined function in one test, I tried to call that function into other test. But t..

Answer / vijay

Hi,
You need to place the function in to .vbs file and you need
to execute that file before you are calling that function
in to other test. then that function will be there in the
memory and you call any no of times.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi What are re-usable actions in QTP? -Thank You

5 Answers   Siemens,


what is syncurnisation point? what is the use of this in real time environment? plz explain?

6 Answers   AppLabs,


In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?

2 Answers   Wipro,


What is chaild object method? When we will go for chaild object method? How to use chaild object method?

2 Answers  


What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?

1 Answers   Brain Roots, Ordain Solutions,


how can i call reusable action in a function could any one explain me?

2 Answers   Livetek,


Tell me the difference between the Data Driven Frame work and Keyword Driven frame work?

3 Answers   Semantic Space,


how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization?

5 Answers   Ordain Solutions,


Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.

1 Answers  


What is the difference between functional spec. and Business requirement specification?

5 Answers  


Can we Test Welcome Screens and Process Images with QTP

0 Answers  


How to identify 2 versions of browsers based on regular expression

1 Answers   Cognizant,


Categories