How to Get the Run-time value of an object under that web
app under Test to the local data table sheet of that Action?
Answers were Sorted based on User's Feedback
Answer / shriram
Output value is used to catch the run time value. This can
be used to match actual and expected value same as
Checkpoints in QTP.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kishan
Point to Remember:
1. get the Run time property using "getROproperty" method
2. Use DataTable.value property to set the required value to
a cell in datatable
Sample Code:
val=Browser().Page().webEdit().getRoproperty("<propertyName>")
DataTable.AddSheet "mysheet"
DataTable.getsheet("mysheet").AddParameter "myParam",val
| Is This Answer Correct ? | 1 Yes | 0 No |
How to associate function library at a run time?
what is keyword driven testing
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
In qtp, explain what is keyword driven automation framework?
How do you invoke any application and write a script to invoke QTP using VB Script.
describe some problems that u had with automating testing tool?
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 do find current links in webpage for ex: in yahoowebsite today mainpage is having 50 links and next day same page is having 60 links. if i run same programe it should display total links in webpage ?
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 u will open the build automatically in QTP except using Systemutil.run command
what are the difference between qtp8.2 to 9.0 surya
What are Child Objects?