How do we call Library Files(.vbs) in the Test Script

Thanks in Advance...


Answer Posted / sri satya

By using script, we can add in this way also:

path1="C:/Lib1"
path2="C:/Lib2"
Set qtLibraries =
qtApp1.Test.Settings.Resources.Libraries ' Get the
libraries collection object

qtLibraries.Add path1 ,1
qtLibraries.Add path2 ,2

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is checkpoints for quicktest professional (qtp)?

800


How would you directly trigger javascript in a test?

1682


What do you mean by iteration?

886


In what occasion we can specify global sheet and action sheet?

776


What test you perform mostly? Regression or retesting in your testing process?

804


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1608


What are the different types of recording modes in qtp? Which will be used when?

804


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1680


What is difference in global and action sheet in qtp?

842


What is the virtual object?

892


Difference between copy to action and call to action?

783


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

1695


When to use descriptive programming?

825


How do client side image and server side image work?

1612


how to test use the quality control .how to verify the image verification

2825