Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Execute Functions
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi Ankur,

I am new to QTP, just started few days back,

I understood the concept of functions that you explained.

Now whatever the functions that I am creating if i want to see the ouput of that function, how I can see that.

exapmple: Function sum (val1,val2)
sum = val1 + val2
End Function.

now I know that if I call this function in my script i have to give value to my arguments val2 and val2. but

(1)how to check that whatever the function I created is giving me the correct value?

(2) Do i have to create new test and then just call this function, if this is the cade then how I call the function in the test and then what statement i use to execute that script?

please guide me with your best.

Thanks
Tapan Dalal
Reply


Messages In This Thread
How to Execute Functions - by tapandalal - 10-23-2008, 07:27 AM
RE: How to Execute Functions - by Brian3 - 10-23-2008, 12:21 PM
RE: How to Execute Functions - by tapandalal - 10-23-2008, 06:40 PM
RE: How to Execute Functions - by anemuday - 10-23-2008, 06:25 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Execute button of putton won't be clicke automaticly in UFT (VB) MarUFT 3 2,459 11-21-2016, 04:22 PM
Last Post: Ankur
  Not able to execute script shanthalaAR 0 1,946 06-27-2015, 03:53 AM
Last Post: shanthalaAR
  How to Execute a testset from QC using OTA framework AutomationTester2011 12 51,627 01-21-2015, 09:22 PM
Last Post: karthik_sanakran
  Is there a possible way to execute sql in QTP using 'WITH' clause shruthic 0 2,994 04-26-2014, 11:42 PM
Last Post: shruthic
  Perform some functions whenever QTP Stop button is pressed smartkarthi 2 2,951 08-22-2013, 11:43 AM
Last Post: smartkarthi

Forum Jump:


Users browsing this thread: 1 Guest(s)