what is mean by output parameters?
I need full description with example. tell me any one please
Answer / lakshmi.v
inputout Parameters are used for passing the values into the
action.while calling it and returing the values from it.
eXAMPLE FOR USING INPUT AND OUTPUT PARAMETERS IN THE SCRIPT
vbwindow("cal").vbedit("value1").set parameter("a")
vbwindow("cal").vbedit("value2").set parameter("b")
vbwindow("cal").vbbutton("ADD").click
var1=vbwindow("cal").vbedit("RESULT").GetRoProperty("Text")
parameter("c")=var1
vbwindow("cal").vbedit("value1").set parameter("a")
vbwindow("cal").vbedit("value2").set parameter("b")
vbwindow("cal").vbbutton("SUB").click
var2=vbwindow("cal").vbedit("RESULT").GetRoProperty("Text")
parameter("d")=var2
EXAMPLE FOR PASSING THE VALUES&RETURN VALUES
RunAction "Action1[inouttext]",oneiteration,5,7,s1,s2
msgbox s1
msgbox s2
| Is This Answer Correct ? | 1 Yes | 0 No |
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
How to test login module with different username and password by using data driven testing in QTP?
your coming from electrical backgroung..but y ur coming to software side?
What are the types of Object Repository’s in QTP?
What are the different scripting languages you could use when working with QTP ?
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
what is the qtp objects?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
Any one knows about descriptive programming to identify objects in a page? Kindly drop me mail prasanna.sabat@gmail.com
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
How to measure transaction time through VBScript without using start and end transaction points?
How do I get the QTP scripts result in xml format by using vb script function?