How can I pass values from one action to another in QTP ?
Answer Posted / sanju_gdk
using parameter u can pass the values with out using action
finction
action1
Parameter("variable")= outputvalue
action2
x=parameter("Variable")
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
How can you send user defined messages to test report?
When and why to use descriptive programming?
What are the check points can be inserted without recording?
How do client side image and server side image work?
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
What is Curd testing?
What are the ordinal identifiers in web page?
What is difference in global and action sheet in qtp?
Explain the difference between data driven testing and parameterization ?
What are the advantages of Object Repository?
How to test background color and dynamic images during run time can you put the check point for moving objects?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
when to start the automation?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?