h u call the function

Answer Posted / sugumar

First u Write the test. And then rename the action (shift +
F2) then which test u want to call that renamed function
open the test Choose call to Existing Action. choose which
function u wand to call the action name automatically
appear in the action's box. And then click ok function
called.
Rename Steps:
Edit-->Action-->Rename (or) Action Property.
Steps for Call Function:
Insert-->Call to Existing Action-->select the test from
list--> Choose where u want call the function then press
ok. Finally u see that test RunAction.... step appear

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the types of object repository?

553


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1524


What are the types of data tables in qtp?

581


What are the differences between table and db checkpoints?

531


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1343






Generic function to search for the unique link in webtable and click on it

2481


Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.

6655


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1638


How to customize checkpoints with parameters?

3018


what type of framework u r using in ur organization

1646


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1456


hou can we use vb script in qtp could u tell me breafly

1734


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1487


1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me

1597


How you can write contexts to text file in qtp?

588