QTP provides the ExecuteFile function to dynamically load a library at run-time. When this method is used the library and its contents are only visible in the Action in which the ExecuteFile is used. Below are the few examples:
'Load a file using absolute path
'Load a file using relative path
currentTestDir = Environment"TestDir")
vbsFilePath = currentTestDir& "....C:Test.vbs"
' Load a file Library from Quality Center
ExecuteFile " IQC-ATTACHIj;SubjectVCoaraonLibsj; YTest. vbs"
Using Qtp Help
Qtp Environment Variables
Descriptive Programming (dp)
Debugging In Qtp
Working With Apis
Qtp Automation Object Model
Working With Xml
Working With Databases
Working With Microsoft Excel
Working With Microsoft Outlook
Working With Microsoft Word
Working With Microsoft Internet Explorer
Working With Hp Quality Center
Working With .net Classes
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.