Reset Ranorex actions

Ask general questions here.
aleksv
Posts: 14
Joined: Tue Feb 20, 2018 7:12 am

Reset Ranorex actions

Post by aleksv » Mon Dec 17, 2018 9:30 am

Is there some kind of reset for test suites?
E.g. when there is a CTRT key pressed but never released I'd like ranorex to "clean" this up.

User avatar
RobinHood42
Posts: 306
Joined: Fri Jan 09, 2015 3:24 pm

Re: Reset Ranorex actions

Post by RobinHood42 » Tue Dec 18, 2018 4:22 pm

Hey,

there is no reset for pressed keys. I'm wondering why the keypress doesn't get released. My guess is that the test fails after a key down action?

Cheers,
Robin

aleksv
Posts: 14
Joined: Tue Feb 20, 2018 7:12 am

Re: Reset Ranorex actions

Post by aleksv » Wed Dec 19, 2018 7:27 am

Yes it does. I created a teardown where I press all the possible keys which could cause problems so that they are released.
Just wondered if there is some kind of built in function for this.

User avatar
RobinHood42
Posts: 306
Joined: Fri Jan 09, 2015 3:24 pm

Re: Reset Ranorex actions

Post by RobinHood42 » Thu Dec 20, 2018 11:00 am

Hi,

There is no out-of-the-box fuctionality. Usage of TearDown is perfectly fine. Would have made it the same way.

Cheers,
Robin