How to load vbs functions in qtp

Answers were Sorted based on User's Feedback



How to load vbs functions in qtp..

Answer / ananymousb

U can directly use the function
ExecuteFile "vbsfunctionname.vbs"

Is This Answer Correct ?    4 Yes 0 No

How to load vbs functions in qtp..

Answer / bfakruddin

ExecuteFile "path of file"
this is useful for only one action where you have mentioned
this line

if your test should contain that vbs file you need to go for
menu item "File" --> "Settings" --> "Resources" --> click on
+ button and show the path of your .vbs file

it will take effect on all test

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More VB Script Interview Questions

if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

0 Answers  


What are the uses of vb script?

0 Answers  


can u test the application without add-in?

1 Answers  


What is the use of option explicit in vbscript?

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  






Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance

6 Answers   Amazon,


what is the use of QCUtil? explain with one example?

1 Answers  


When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?

3 Answers   Logica CMG, McGraw Hill,


How are comments handled in the vbscript language?

0 Answers  


Mention what is the use of option explicit in vbscript?

0 Answers  


How many types of operators are available in the vbscript language?

0 Answers  


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

3 Answers   TCS,


Categories