how can we retrieve ten rows from the data table using loop
concept?
Answer Posted / arjuncr
rows=datatable.getrowcount
set globalsheet=datatable.getsheet("global")
for i=1 to rows step 1
datatable.set currentrow(i)
prameterize steps
next
it retrives not only ten rows .even more than 100 rows in a
datatable
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
Describe function procedure in vbscript.
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What are the two types of repositories available, explain them?
Can we record an application running on a remote machine using qtp?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
Difference between test object and run time object?
What is a Patch in QTP?
Explain building blocks of the bpt framework ?
Key word driven framework
your coming from electrical backgroung..but y ur coming to software side?
how to post xml data from QTP scripts to any application?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
Explain hybrid framework with advantages and disadvantages?