Results 1 to 2 of 2
  1. #1

    Need help with code


    I have to write the code for running the entire script for 3 students one after the other. I tried wriitng the code as:

    For i=0 To DataTable.GetRowCount()-1

    RunAction "Create Student"
    RunAction"Create Intervention"
    RunAction "Modify Intervention"


    I added a local datatable for this and entered 3 students and their information. It creates the 3rd row student successfully but doesnot jump to 2nd row after this iteration.

    Is this code corerct??DO I have to make that datatable as Global sheet or keep it as Local sheet.

  2. #2

    Re: Need help with code

    Look at the SetCurrentRow function in QTP help and that is what you need to use...



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:43 PM.

Copyright BetaSoft Inc.