Wait attribute usage and also Test suite query

Ranorex Studio, Spy, Recorder, and Driver.
ashivankari84
Posts: 1
Joined: Fri Feb 12, 2021 10:50 pm

Wait attribute usage and also Test suite query

Post by ashivankari84 » Wed Mar 17, 2021 8:11 pm

Hi Team,

I need to know with an example how we can use wait for action attribute since my application always has some Iframe issue due to which the test run is not consistent.

Even delay did not help either hence request you to give with example, and also if there are 10 test cases in a test suite I want some test cases to be running even some test cases fails how can I achieve it.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Wait attribute usage and also Test suite query

Post by odklizec » Wed Apr 07, 2021 9:41 am

Hi,

As for the first question, You can use Wait For Exists/NotExists action (or method), which will wait for the presence or absence of an element, before continuing to next recording step.

Basically, you should create a repo element, which you want to wait for and drag&drop this element to Recording table. Then from the appeared menu, select "Wait For" action. You can also add Wait For action manually from the list of recording actions and assign the repo element later.

As for continuing with next test case after previous one fails, you need to set proper Error Behavior at Test Case level (most probably Continue with sibling).

Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration