how to pass parameters from one action to another using
output parameters
I am not calling action 2 from action 1, they are being
called individually
I need syntax please ..
Requirement:
Action 1
customer = Browser(" ").Page(" ").Link("
").GetROProperty("value")
I want to use the value stored in customer in Action 2
I do not want to use any of these actions as re-usable actions
Answer Posted / hussain
using parameter u can pass the values with out using action
finction
action1
Parameter("variable")= outputvalue
action2
x=parameter("Variable")
Like that u can try
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?
How did you use regular expressions in QTP and also in WR?
what are all the fileds present in object repository?
What are the differences between quicktest professional and winrunner?
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
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
what QTP Options do you know?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How software tester can use constants and variables in scripts?
after click on compose mail how can we attached a file in qtp with vbscript code
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
Explain xml checkpoints.
What phases are involved in testing an application in qtp?
What are the challenges you faced during you entire life automation ?
What is the basic concept of quicktest professional?