I want to do following..
1. In my main action, i am using
executefile "F:\qtp_temp_work\abc.vbs" where i have many functions (i.e Func1(),Func2(),Func3() ).
2. I call an external action from some other test.
how to use/call functions from abc.vbs in the external functions?
I want to call all the functions in the abs.vbs file in all the actions of my Test.
I tried with assotiate lib also, but no luck..
any help plz??
Try using the Execute statement. Read the contents of the vbs file using ReadAll and use the statement Execute "..String val".
I hope this would make the functions available in global scope and to all the actions.
Check and reply.
Winds of Change
If you have version 10 and above, you can try LoadAndRunAction
Patience is like bread I say.... I ran out of that yesterday.