How to call a function in QTP?Is there any method ?


Thanks ,
PRASANNA

Answers were Sorted based on User's Feedback



How to call a function in QTP?Is there any method ? Thanks , PRASANNA ..

Answer / siva

there are twoways
call login( login is a function name) for this we have to
create a function in a notepad and we have to save it
with .vbs extension, then we have to go to settings-
resources-you the show he path of the vbs file) then it
will work perfect or else
executefile"pathof your vbs file"
ex: executefile"d:\\login"
i hopw you can understand

Is This Answer Correct ?    2 Yes 0 No

How to call a function in QTP?Is there any method ? Thanks , PRASANNA ..

Answer / ramesh t

Call Funcation_Name()

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

can i able to connect any version of qtp to any version qc

2 Answers  


How to Creating an Output Value using QTP?

1 Answers  


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

3 Answers   CTS,


Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.

2 Answers  


Can anyone tell me about "Step- By Step Paramterization". among the two paramaterizations, Step by step and Parameterize All, which one is mostly used.

0 Answers  


Please tell me the steps to record the test in Analog recording mode in QTP version 9.2???

2 Answers  


What is FRAME WORK? How many Frameworks can QTP supports?

4 Answers  


How can we record an edit box in the Web application ?

4 Answers   Kanbay,


what is the difference between Reusable action and external action?

2 Answers   HCL,


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1 Answers  


How to change the run-time value of a property for an object in QTP?

4 Answers  


Can we test internet application using QTP?

2 Answers   Quinnox,


Categories