fbpx

How to run modular tests on a specific row?

How to run modular tests on a specific row?

Home Forums ZAPTEST Best Practices How to run modular tests on a specific row?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30793
    Valentin ZAP
    Keymaster

      I have a reusable action (A1) which has 3 rows in the datatable. I am calling that action in a separate script (S1) using Runtest. I need to call A1 3 times. First time, it has to use data in first row from the datatable. Second call uses data in second row and so on. How do I do this?

      #30794
      Valentin ZAP
      Keymaster

        A1 – (make sure to set Test Settings of S1 to “Run Single Row”):
        Iteration = cint(TestParameters.Item(“row”))

        S1:
        TestParameters.SetItem “row”, cstr(Iteration)
        Runtest “A1”, Nothing, TestParameters

        Attachments:
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo