Last Updated: 04 Mar 2022 09:00 by ADMIN
Created on: 24 Feb 2022 11:44
Type: Bug Report
Keyboard Keypress is not working under Chrome headless

Last updated product done (23-02-2022) to Product version: 2022.1.215.0

After being updated, we have found that tests which already were running correctly with Chrome headless, stopped working.

Those tests had some 'Keyboard KeyPress' steps, with no Code. Now, those steps make fail the wholes test.

We tried to change those steps to Code, and the final result remains the same.

Tests with this type of step, fail:

        [CodedStep(@"Keyboard (KeyPress) - Enter (1 times) on 'ELEMENT'")]
        public void TEST_CodedStep()
            ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.KeyBoard.KeysFromString("Enter"), 150, 1);

We added the assembly reference System.Windows.Forms and nothing changes to better ┬┐Should we need to attach another reference assembly?

We would appreciate if you could help us

Thank you

1 comment
Plamen Mitrev
Posted on: 04 Mar 2022 09:00

Hello Raul,

After discussion in a support ticket, you mentioned that the issue is not reproduced any more and the recorded tests work as expected. That is why I declined the current bug item, but we can reopen it, if the issue appears again.

Thank you for your cooperation and feedback.

Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at