Hi Abhijit, Can you forward the sample function. I am not getting how you are calling the function.
Thanks Srinivas Pavuluru On Fri, Jun 26, 2009 at 4:41 AM, Abhijit Sahoo <[email protected]>wrote: > Thanks to all for replying to my problem........But the solution from > Srinivas does not answer my question. i have tried both the ways..i.e. > writing the function after and before the call, but every time its giving > "Type Mismatch" error. i am trying to pass a string value as a parameter in > the function call. > > Regards > Abhijit > > On Fri, Jun 26, 2009 at 12:22 PM, Srinivas Pavuluru <[email protected]>wrote: > >> Hi Abhijit >> When you wrote a function with in an action, you need to call that >> function for execution. >> Don't right click before the calling function and execute them.. Function >> needs to be loaded in to the memory for execution. If you wrote the >> function before the call execution you will face this kind of issues. Other >> way is copy entire function into one VBS file and enclose that file in File >> --> Settings --> reference include that vbs file.. and call functions in >> your action script.. Hope this will help. If there is any other send error >> message. >> >> Thanks >> Srinivas Pavuluru >> >> >> >> On Thu, Jun 25, 2009 at 9:50 AM, Roman Zilber <[email protected]> wrote: >> >>> What did you do? which kind of error you got? >>> >>> >>> On Thu, Jun 25, 2009 at 3:46 AM, Babloo <[email protected]> wrote: >>> >>>> >>>> Hi All, >>>> >>>> I am newbie in QTP. I have some doubts in calling functions in action. >>>> Following is the scenario. >>>> >>>> I have created a function inside an action and i want to use the same >>>> function in the same action by calling the function and passing the >>>> parameters. I have tried a lot but failed. Anyoe please help me on >>>> this. >>>> >>>> Thanks >>>> Abhijit >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> >> > > > -- > Regards > > Abhijit > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
