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

Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"

1 Answers  


how can i pass a "cript"as a parameter in to a function

0 Answers  


What is the difference between "call to action" and "call an existing action"

9 Answers   Accenture, Yana Software,


How to make arguments optional in a function?

0 Answers   Crea,


what is the diff b/w assistive and mandatary rules of object repository in QTP???

0 Answers  






results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file

1 Answers  


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

0 Answers  


What are the types of environment variables in qtp?

0 Answers  


It is regarding VBScript, how to export our function results to ExcelSheet through VBscripting. Ex: I have written add function, that result should export to Excel.

3 Answers  


What is the difference between browser sync and page sync in QTP?

2 Answers  


Can we do server automation by QTP? If you have any helpful links ,pls post it. Thanks Uma

1 Answers  


What are the Automation Limitations??

1 Answers  


Categories