08-18-2009, 05:44 PM
Hi qtpctc,
there is no issue with your function. The way you have called this is causing the issue
in the statement
Call loginpage(filight)
you need to pass a value which the argument(m) of your function is accepting.
so when you pass filight QTP treats is again as a variable which is not defined in your script.
so you will need to pass this as
Call loginpage("filight")
Hope you get my point.
there is no issue with your function. The way you have called this is causing the issue
in the statement
Call loginpage(filight)
you need to pass a value which the argument(m) of your function is accepting.
so when you pass filight QTP treats is again as a variable which is not defined in your script.
so you will need to pass this as
Call loginpage("filight")
Hope you get my point.