Forum Discussion

Siax's avatar
Siax
Contributor
12 years ago

Smartbear / Test Complete Table Type

Objective: Add a new row to the table at runtime using scripting (JS).



Requirements: Remember which table row you are working on so you can go back to it after adding a new row.



Any ideas?

2 Replies

  • Anonymous's avatar
    Anonymous

    Hi Stuart,



    Implementation ways may connect to the table control. Let us know its vendor and version. Also, what kind of application (WPF, .NET, VCL) are you using?
  • Siax's avatar
    Siax
    Contributor
    Hi, Thanks for your response.

    I have resolved this issue by taking a note of the current line I'm working on, then iterating until the EOF.



    Then adding a new row and going back to the row I was on by searching for the original row by it's value.