Page 1 of 1

Playing test is unable to perform the key sequence

Posted: Sun Oct 25, 2015 3:05 pm
by lpierre
Hi all,

I've been encountering this issues recently where my tests case are not fully playing properly. Each time it reaches the keys sequence step it kind of freezes but the test reports marks as successful, which is false cause the test is not completed.

My colleague and are working on the same svn code and everything works fine on her pc but not on mine.

We both have the same Pc configuration and spec.

What could be the problem?

Thank you

Re: Playing test is unable to perform the key sequence

Posted: Tue Oct 27, 2015 1:02 pm
by Support Team
Hello lpierre,

In order to analyze the issue I would need more detailed information.
May I ask which version of Ranorex you currently use?

Additionally, please upload a Ranorex Snapshot of the corresponding element.
This will help me analyzing the issue.

Thank you in advance.

Regards,
Johannes

Re: Playing test is unable to perform the key sequence

Posted: Tue Oct 27, 2015 1:54 pm
by lpierre
Hi, we are currently using Ranorex 5.4.1.25490.

As mentionned before, it works perfectly on my colleague's computer. It use

to work on my computer and all of sudden it stops working.


Thank you in advance,

Re: Playing test is unable to perform the key sequence

Posted: Tue Oct 27, 2015 2:28 pm
by odklizec
Hi,

Have you considered using SetValue action instead of key sequence? If there is no onkeypress script behind the input in question, SetValue action is generally more reliable way of setting input values.

Also, I would suggest you to compare your Ranorex Global Settings with your colleagues' settings (you can find them stored in C:\Users\username\AppData\Roaming\RanorexConfig5.xml).

Re: Playing test is unable to perform the key sequence

Posted: Tue Oct 27, 2015 7:43 pm
by lpierre
We do have the same configuration

Re: Playing test is unable to perform the key sequence

Posted: Wed Oct 28, 2015 8:15 am
by odklizec
Hi,

Unfortunately, it's hard to say what else could be wrong without seeing your recording and AUT. It looks as something machine dependent? Maybe your PC is just slow, there is running something in background that steals your keypresses, etc... It could be just anything? ;)

As mentioned, I would suggest to try the SetValue approach instead of key sequence. SetValue simply sets the value to pointed element without messing with keyboard.

Re: Playing test is unable to perform the key sequence

Posted: Thu Oct 29, 2015 8:18 am
by Support Team
Hello lpierre,

As odklizec has mentioned, please try setting the value with the 'Set Value'-action.
set_value.png
If this doesn't solve the issue, please contact [email protected].

Regards,
Johannes

Re: Playing test is unable to perform the key sequence

Posted: Thu Oct 29, 2015 6:27 pm
by lpierre
I found out what was the problem. Synergy (Virtual keyboard and mouse share software) was conflicting with Ranorex. I uninstalled it and problem resolved.