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 |
How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it
difference between multiple parameterization and data driven wizard in QTP?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
How to capture screen shots when an error occurs?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?
Have you used TD?
I have application it is one digital clock with all minutes and seconds. you have to identify the time to verify weather the time displayed is correct time or not? How do you automate this scenario?
Hello, Can we capture only the labels of the web page in the object repository. If yes, then how. Actually my scenario is: I have to capture all the label of mercury site http://newtours.mercuryinteractive.com/tour/mercurypurchase. php. and want to copy all these labels in the notepad. So,please help me how to do this all. Thanks in advance, Gaytri
How do we connect QC by using QTP?
Explain the concept of how quicktest professional identifies object?
What are some test assets and related extensions of qtp?