Ans : OpKey provides various ways with help of which you can iterate the test case. One of iterating is using the data repository; for tests which require data parameterization. E.g. Login scenario testing with various data combinations. Other method is using FOR keyword. So in the example which you have asked- we will first fetch the number of rows in the webtable using the getrows function. Pass it to the FOR keyword and in between FOR and NEXT write steps which we wish to iterate.
Q31 : How to iterate a scenario with OpKey? Like If I want to Check if an element present in a webtable? Print
Modified on: Tue, 7 Mar, 2017 at 11:36 AM
Did you find it helpful?Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.