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

how to evalute defects in QTP script?

1703


i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?

1793


How QA specialist can identify when programmatic descriptions are useful?

2180


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2282


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3703


What are the types of properties that quick test learns while recording?

768


What is Port testing. Whhen will you perform?

1699


Explain data driven framework?

760


What is ObjectParamater?

1781


How to use debug tools?

2430


In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls

1653


In qtp, how you can exit for loop?

724


Explain how you can find length of array in qtp?

810


Explain the types of object repositorys in qtp?

784


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

837