Key Sequences not affected by "turbo"?

Ask general questions here.
bkruse
Posts: 38
Joined: Tue Jul 20, 2010 12:19 pm

Key Sequences not affected by "turbo"?

Post by bkruse » Thu Sep 02, 2010 1:59 pm

I noticed that playing back a recorded files in turbo mode does not speed up Key Sequences.

For example:
Create a new recording.
Record the following:
- click into explorer address bar
- enter a long path
- hit <Enter>
Now choose playback, first time without Turbo option selected, second time with Turbo enabled.
I noticed that the Key Sequence is not speeded up by the Turbo option.

Now choose "View code", copy the whole code (see below) and paste it into a new Class file.
Run that class (via "Program.cs"). You'll notice that the Key Sequence is speeded up well.

The code my recording produced:
Mouse.DefaultMoveTime = 0;
Keyboard.DefaultKeyPressTime = 20;
Delay.SpeedFactor = 0.0;

Report.Info("Mouse Left Click item 'FormComputer.ToolBar1001' at 581;4.");
repo.FormComputer.ToolBar1001.Click("581;4");
Report.Info("Key sequence 'C:\\Users\\bkruse\\Documents\\RanorexStudio Projects\\Samples'.");
Keyboard.Press("C:\\Users\\bkruse\\Documents\\RanorexStudio Projects\\Samples");
Report.Info("Key 'Return' Press.");
Keyboard.Press(Keys.Return, Keyboard.DefaultScanCode, Keyboard.DefaultKeyPressTime, 1, true);
Intended? -> Please explain why/purpose.

regards, Björn

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Key Sequences not affected by "turbo"?

Post by Support Team » Thu Sep 02, 2010 4:16 pm

Hi,

Thank you for posting the issue. We know about this limitation and we will fix this in a future release of Ranorex. At the moment you have to change the key press time at the properties tab of the keyboard action, if you want to accelerate the speed of you keyboard actions.

Regards,
Peter
Ranorex Team
.
Image

bkruse
Posts: 38
Joined: Tue Jul 20, 2010 12:19 pm

Re: Key Sequences not affected by "turbo"?

Post by bkruse » Fri Sep 03, 2010 9:37 am

Support Team wrote:... At the moment you have to change the key press time at the properties tab of the keyboard action, if you want to accelerate the speed of you keyboard actions.
...
Ah, thx for this information.