h u call the function
Answers were Sorted based on User's Feedback
Answer / swarup
We can call a function using below method.
Call Function Name("Hello World")
[public/private]Function Function(text [Arg List])
MsgBox text [Description]
End Function
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / venu
Even if U don’t specify CALL keyword & just write this way:
FunctionName (Parameter1, Parameter2,….)
This will call the required function
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / praveena
we can call the function by using tools>general
options>folders...........
(or)
call test_name ( [ parameter1, parameter2, ...
parametern ] );
if it is wrong plz tell the correct...........
thank you
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Answer / narendra
First of all we need to add that function into resources
tab and script as call <function name>(arguments if any)
comment on the same
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / siva
I can tell the ways of how to call the function
First prepare test for any application then
go to==>note pad==>save with extension of .VBS then
EX:=function function name()
""ur test""
End function
then Associate this function to QTP
How to associate==>file==>settings==>Resources==>add ur file
then call to ur function
function name()
| Is This Answer Correct ? | 0 Yes | 0 No |
WHY U CHOOSE TESTING FIELD?
Can we directly automate testscripts accrdoing to requirements? WHY ?
What ate the Technologies supported by QTP?
Can u call txt extension file in QTP?
How to add Dynamic Objects to Object repository?
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
How to get align property of the link on web page?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
In QTP while testing 3 tier application, It is Java Based Application developed using Java, servelets and JDBC etc... and It is a Web based Application.. which Add-In do we need to select while testing ...Java or Web Add-In
4. what is the use of Text output value in Qtp?
How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies