how can we retrieve ten rows from the data table using loop
concept?
Answer Posted / uday kumar. a
Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable.value("Column1","Global")
msgbox(returnvalue)
next
| Is This Answer Correct ? | 18 Yes | 4 No |
Post New Answer View All Answers
Explain xml checkpoints.
How to define array in qtp?
What is synchronization? What are the ways you can synchronize?
How to call a test from another test?
What is an expert view and keyword view?
how do u plan test automation?
how to idetfy which test cases are automated?who will deside that plz tell me
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
Define Error Pane of UFT?
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 do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
How many ways we can parameterize data in quicktest professional?
what is the frame work in J-meter?
What is the expert view?
What is Port testing. Whhen will you perform?