In the solution to Practice 1 Input Actions and Methods of UI Interactions it is mentioned under the 3rd point:
Use an ‘Attach window’ container and indicate the ‘Font’ window opened. In the container:
- Use a ‘Type into’ activity to type “Bold” under ‘Font style’ ;
- Use another ‘Type into’ activity to type “16” under ‘Font size’ ;
- Use a ‘Send Hotkey’ activity to hit ‘Enter’ to close the ‘Font’ window
- Use a ‘Send Hotkey’ activity to save – Ctrl + S;
The 3rd step to send a hotkey to hit Enter will close the Font Window and as such the 4th step to save will throw an exception since the Font window is already closed.
Hence, the Send Hotkey activity should and logically has to be placed inside the Open Application Container.