Micro Focus QTP (UFT) Forums
Fixing datatable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Fixing datatable (/Thread-Fixing-datatable)



Fixing datatable - Revathy - 08-05-2010

hi all

How will fix the row in datatable (from -to) for running test

plz help


RE: Fixing datatable - Punam K - 08-05-2010

Hi Revathy,
Hope this helps ..

If I want to run from row 3 to 5 then :

For temp= 3 to 5 step 1
Datatable.SetCurrentRow(temp)

'------Your codes-----
'------Your codes-----
'------Your codes-----
'------Your codes-----

Next

Regards
Punam


RE: Fixing datatable - Revathy - 08-05-2010

Thanks Punam for the reply

Needed more help

Im doing with Keyword view only,through the keyword view how i can fix the steps?

plz reply


RE: Fixing datatable - Punam K - 08-05-2010

Go to File ---> Settings ----> Edit the values in "Run from row__ to row __" ---> Apply ---> OK

Please refer the attachment.

Regards
Punam Smile


RE: Fixing datatable - venkatbatchu - 08-05-2010

Hi Revathy,

As punam suggested, the better way of setting the rows but as a automation guy we need to avoid manual interactions so it would always better to use AOM and use it at required place.

To know more about AOM Click on [Generate Script] button

Please let me know if i need to add any information.