How do we make function libraries?

Showing Answers 1 - 2 of 2 Answers

Kiran

  • Aug 20th, 2006
 

We can make function libraries by wirting VB script functions in the ".vbs" file. We can reuse this vbs functions in the QTP by adding this file in the settings.

  Was this answer useful?  Yes

Israel Valencia

  • Aug 22nd, 2006
 

Just write your code in a .VBS file in any text editor.Add the following code in your test (in expert view obviously)ExecuteFile "your VBS file path"for exampleExecuteFile "c:My projectValidationQTPLibrariesMyLybrary.vbs"ExecuteFile "[QualityCenter] FolderBPT ResourcesLibrariesMyLybrary.vbs"or, a simple text file can workExecuteFile "c:My projectValidationQTPLibrariesMyLybrary.txt"

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions