Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can we call a function stored in another test ?
#3
Solved: 10 Years, 9 Months, 2 Weeks ago
(08-25-2011, 12:23 PM)parminderdhiman84 Wrote: [quote='akhilsoni776' pid='17739' dateline='1314208702']
If say our script is stored as Test1 in QTP

Hello,

No, you cannot call a function from another test. All the functions should be written in library file and that library file can be attached to your test from File>>Setting>>Resources

This file is the global file and you can call the functions from this file in any test you want.

Regards,
Parminder

Thanks Parminder for your valuable response.

Reply


Messages In This Thread
RE: How can we call a function stored in another test ? - by akhilsoni776 - 08-25-2011, 10:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a Function in Function Library when function is defined in an Action jitenderkkr 0 2,782 11-27-2014, 12:53 PM
Last Post: jitenderkkr
  Need to put a value in editbox and the value is stored in a variable anushreebehura 2 2,452 05-10-2013, 03:03 PM
Last Post: SweetyChowdhury
  calling stored procedure from Oracle borisk 3 6,240 03-19-2013, 12:41 PM
Last Post: gaveyom
  Run Error on Function call in QTP essentials cnujonnala 1 2,212 12-31-2012, 02:38 PM
Last Post: krr
  call function from another library y1799 2 5,436 08-19-2010, 06:43 PM
Last Post: y1799

Forum Jump:


Users browsing this thread: 1 Guest(s)