Using Surface Automation there is requirement to enter a note in the Note field on the screen below:
The Note Box element has been spied as a Region:
On Launching the Add Note screen, the cursor is in the Name field and the Notes field will be empty.
Which of the following is the most appropriate sequence of stages to enter the note into the Note field?
A . Send a Global Mouse Click Centre to the Note Box element, followed by a tiny unconditional wait stage, followed by a Global Send Keys to the application.
B . Use a Write stage to write data to the Note Box element
C . Send a Global Mouse Click Centre to the Note Box element, followed by a tiny unconditional wait stage, followed by a Write Stage to the Note Box element
D . Send a Global Mouse Click Centre to the Note Box element, followed by a tiny unconditional wait stage, followed by a Global Send Keys to the Note Box element
Answer: C
Leave a Reply