Use Clipboard to Input Text in Virtual Desktop Automation

Kasper Fehrend

Senior Product Evangelist at Leapwork

Learn how to drive automation of virtual desktop applications with text input from Windows Clipboard.

Learn how to: 

When automating virtual desktop applications, inserting text into fields and text areas, searching for terms etc. should typically happen with the same speed as a user would insert the text. This will increase the value of the test case and emulate a user scenario the best possible way.

However, in some instances, there's no need to emulate a user when inserting text into an application. For example, typing in a URL in the address field of a browser doesn’t really bring any value to a flow. In this case, it makes sense to do the typing the fastest possible way to bring down the total time it takes to run the automation flow in question.

The video below shows an example of how to set the speed of the standard Type Text building block, and also introduces the Stopwatch building block to measure how long time it takes for the automation flow to enter a certain text with the different settings.

The video ends by showing how the Set Clipboard building block can be used to increase the typing of text with a factor of 25.

Please note that the tutorial video involves an older version of the LEAPWORK Automation Platform (formerly called LEAPTEST), but the principles shown are still valid.



Go back to tutorials for virtual desktop automation.