In QTP whether is it possible to call a function from one
action to another action?



In QTP whether is it possible to call a function from one action to another action? ..

Answer / sandeep

Do more simple thing.

Store any function in any .vbs file.

Either link that .vbs file as a Resouce to QTP.

Or

Dynamically link .vbs file with QTP usign

ExecuteFile <file path >

Once either of the step is done then you can call any
function stored in .vbs file

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?

2 Answers  


How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application

1 Answers  


3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.

5 Answers  


Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.

1 Answers  


How you are maintaining shared object repository in your team or your project?help me plz

1 Answers   CTS,


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

0 Answers  


can objects recogonised without repository?

10 Answers   AZTEC,


For an application we automated QTP scripts. At the same time new requirement comes for a new module for the same application and its already developed. So how we automated now this new module with the old application(using old QTP script).

2 Answers   Bosch,


what type of automation is follwed in the project?

0 Answers   Google,


Which object model ur used in ur project

2 Answers   Cap Gemini,


hai,i want to select an option from the right click pop up menu.but the qtp is not recognizing the right click pop up menu as a seperate object.can any one tell me the solution.

4 Answers   HP,


What is throw object?

0 Answers  


Categories