During execution, how can we capture the data from the pop-
up, ie. when any popup comes with some numbers written on
it, then how can we capture the value/number that is coming
on the pop-up and save in the dynamic file/or other file,
even when the run is going on.
Answers were Sorted based on User's Feedback
Hi,
Use Getroproperty,
For ex: ivalue =
Browser(".*").Dialog(".*").GetRoProperty("text")
Now, using FSO save the ivalue in required file.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / saharsh
B("b").Dialog("").static("".Getroproperty("any roperty which
describes the popup contcnt)
| Is This Answer Correct ? | 0 Yes | 1 No |
Both static and dynamic arrays are handled by the vb script. Is it true?
why can't you use excel directly in qtp. why we want to import excel data into Datatable.
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 to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
how to convert 100 into hundred repees only and viceversa
What is the Command used to start the QTP
what is tool interface?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
examples of user definied functions? how to write user defined functions in qtp9.2?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
Can any one explain about environment variables with examples?
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?