how can we retrieve ten rows from the data table using
loop concept?
Answer Posted / nanda
Hi Sreeprasad..this will take 10 rows..but the loop will
execute no.of times that how many rows in datatable.
If u r using 9.0 or above version..
set app = createobject("quicktest.application")
set qtest = app.test
qtest.settings.run.startiteration = 10
qtest.settings.run.enditeration = 20
this script will execute only 10 rows starts from 10 th row
and ends with 20 th row.
If any queries..
nanda.dreddy@gmail.com
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What VBScript operators, functions, and statements do you use in QuickTest Professional?
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 to create flat file datasubmission in qtp
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
How do you synchronization point through DP?
What is the use of an object spy tool in qtp?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
In Remote acess server how u run a test?
What is the syntax for how to call one script from another?
What is checkpoint in qtp?
How to check which add-ins are associated with a test in qtp?
how many maximum number of virtual users we can create?
What are the check points can be inserted without recording?