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
What are the properties you would use for identifying a browser and page when using descriptive programming?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
diff between qtp versions from 8.5
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How many lines of code in each script of QTP?
Can we create user defined functions in qtp?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What are private functions in QTP? How they can be called from the function library?
after click on compose mail how can we attached a file in qtp with vbscript code
What is checkpoint in qtp?
What is Distributed testing? How does UFT support it?
unique properties of button,edit box, radio button,check box?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
when a test case is written how u test using qtp
What are the recording modes in qtp?