how do u get lib files into scripting files?

Answers were Sorted based on User's Feedback



how do u get lib files into scripting files?..

Answer / king

The above one related to navigation this is the code
executefile ("path of VBS file")

Is This Answer Correct ?    2 Yes 0 No

how do u get lib files into scripting files?..

Answer / leena

Open test Go to File menu -> Settings -> Resources ->
Associate function libraries -> Click on '+' button ->give
Function library file path -> Apply -> Ok. In this way
function library file get associat with the test. now call
a function in the function library file. While runing the
scrit lib file is called into scripting file.

Is This Answer Correct ?    1 Yes 0 No

how do u get lib files into scripting files?..

Answer / mogal

1. Open test Go to File menu -> Settings -> Resources ->
Associate function libraries -> Click on '+' button ->give
Function library file path -> Apply -> Ok

2.ExecuteFile ("Path with FIleName")
3. LoadFunctionLibrary("Path with FIleName")

Is This Answer Correct ?    1 Yes 0 No

how do u get lib files into scripting files?..

Answer / deepa

save the notepad text as .vbs eg:testing.vbs .after
creating the file in qtp click open choose liberary file
select testing.vbs .through this v can view the libfiles in
scripting file

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What exactly is the difference among all the three recording modes.

2 Answers   TCS,


Whenever we use GETROPROPERTY function.

7 Answers   NIIT,


How do you handle XML exceptions in QTP (Here it is Exception, not the checkpoint)

2 Answers   CFC, CTS,


What is diff between SDLC AND STLC?

1 Answers   Nokia,


Explain the difference between call to action and copy action?

0 Answers  






can any one give me the doccument how to test aproject developed in java language in qtp can here can we use the general vb scripting or we have to use java script here if we have to ese the java script here can any one send me the manual for it means how to write descriptive programming for it thanks in advance

1 Answers  


How to handle Java tree in QTP?

0 Answers  


how to load vbs file to qtp through scripting. plz provide the code.....

2 Answers   IBM,


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

0 Answers   IBM,


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

2 Answers   TCS,


How many types of parameters are there?

0 Answers  


Hi I have created a table in the MS access database. I want to access the table in this database through QTP. The code is given below. The code is not working.The following error is displayed "Data source name not found and no default driver specified". Any one can correct the code. Thanks in advance. Dim dbconnection, rs Dim ca, sname Set dbconnection = createobject("ADODB.Connection") Set rs = createobject("ADODB.Recordset") dbconnection.open "DSN = MS Access Database","", "" rs.open "select * from Research", dbconnection rs.movefirst If rs.EOF <> True AND rs.BOF<> True then ca = rs("order_number") sname = rs("customer_number") rs.movenext msgbox ca msgbox sname End If

1 Answers  


Categories