0

application properties: retry.count = 5

One of the element locators is getting visible only during the 3rd or 4th retry, but if another element is also having the same issue within the given testcase, it never goes for 5 retries. Testcase fails after remaining retry left.

I have also noticed that the test case starts from the start after 5th retry and fails.

I have also referred the doc: https://qmetry.github.io/qaf/latest/properties_list.html

Renish
  • 165
  • 6

1 Answers1

0

retry.count property used by framework to determine number of retry of test case on failure not for element failure retry. For element failure retry you can impement web-element listener. Regarding element visibility you can try increasing wait time out using selenium.wait.timeout property

user861594
  • 5,733
  • 3
  • 29
  • 45