Step-By-Step Guide to Use Key Events to Automate Opening the Print Preview of E-commerce Webpage

Let's create an example to automate opening the print preview of the Amazon web page, using the  Ctrl+P keystroke, where you have short listed the top rated PS4 games.  

 

To automate printing using Ctlr+P keystroke:

1.    Create a new process.

2.    From the Canvas Tools panel, add the Focus Window activity to the Flowchart designer on the Canvas.

3.    Select the Is Default Value check box, and then enter Amazon.in in the Window Title field.

4.    In the Equals list, select Contains to set the search criteria of the Amazon window that needs to be in focus.

5.    From the Canvas Tools panel, add the Key Events activity after the Focus Window activity.

 

 

6.    In the Select Function Keys(Max 3) list, select Control.

7.    In the Input Key (optional) field, enter p.

To view the output in Automation Studio, set up the environment and then click Test Run to run the process. You can assign this process to a robot, if you want to execute this process outside Automation Studio.

 

 

The print preview screen appears with different setting options.

  Related Topics

Key Events