'Test.mts
'------------------
=======================
1. Place functions in a function Library file(.qfl)
2. Run Above Test, observe that you will be able to access the Private Function.
3. Now Comment ExecuteFile Statement and associate Function Library with the Test.
4. Run Test. observe that Type Mismatch Error is thrown.
Please refer following Snapshots:
Thanks,
Rajeshwar..
'------------------
Code:
ExecuteFile "E:\QTP\Library1.qfl" [Change the file path to your file path]
myPrivateFun()
1. Place functions in a function Library file(.qfl)
2. Run Above Test, observe that you will be able to access the Private Function.
3. Now Comment ExecuteFile Statement and associate Function Library with the Test.
4. Run Test. observe that Type Mismatch Error is thrown.
Please refer following Snapshots:
Thanks,
Rajeshwar..