Available alternative solution for Xtype need not focus on screen

@admin

What are the alternative to Xtype command ?

I read here visual basic script

Visual basic script to emulate keyboard require focus on screen ?

Exist other alternative to emulate keyboard and need not to have focus on screen ?

I tried sendkeys (selenium command) but seems not working.

I search a good solution to simulate keyboard and need not focus on screen.

Thanks for suggestion

Visual basic script to emulate keyboard require focus on screen ?

Yes

I tried sendkeys (selenium command) but seems not working.

Yeah, the selenium IDE sendkeys command works just like our TYPE command. It uses Javascript events. This works for most basic websites, but fails for more complex input controls (drop down lists, date controls, etc).

Exist other alternative to emulate keyboard and need not to have focus on screen ?
I search a good solution to simulate keyboard and need not focus on screen.

We would love to find this, too :slight_smile: But technically we think it is impossible to simulate native keypress events without having focus.

Workaround: The only “kind of” workaround is to use run the automation inside a virtual machine. We recommend to use small Ubuntu Virtual Box machines. As you know, our RPA software is cross-platform and fully supports Linux/Ubuntu. It is free and fast. And when it runs inside a VM, you can run the native keystroke and click simulations “in the background”/“without focus” on your Windows machine.

1 Like

Thanks admin for suggestion