ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 147 - AD01 discussion

Report
Export

Please refer to the exhibit.

A Developer has used the Win32 mode lo spy the login window and the Region mode to spy the Username field of a Windows-based application.

Using the Navigate stage, the developer would like to

* Bring the application screen to bring it foreground

* Send a 'Global Mouse Click Centre' command to the center of the username field

* Use Global Send Keys to populate the username field

How should the navigate stage be configured?

A)

B)

C)

D)

A.
Option A
Answers
A.
Option A
B.
Option B
Answers
B.
Option B
C.
Option C
Answers
C.
Option C
D.
Option D
Answers
D.
Option D
Suggested answer: C

Explanation:

Understanding the Requirements:

The developer needs to perform the following actions using the Navigate stage:

Bring the application screen to the foreground.

Send a 'Global Mouse Click Centre' command to the center of the Username field.

Use Global Send Keys to populate the Username field.

Steps to Achieve the Requirements:

Bring the application to the foreground: This can be done using the 'Activate Application' action on the 'Login Window'.

Send a 'Global Mouse Click Centre' command: This can be done by selecting the 'Global Mouse Click Centre' action on the 'Username' element.

Use Global Send Keys to populate the Username field: This can be done by selecting the 'Global Send Keys' action on the 'Username' element.

Analyzing the Options:

Option A:

Launch action on the 'Login Window': Correct for bringing the application to the foreground but not suitable for already running applications.

Click Window Centre on 'Login Window': Not the best approach for focusing on a specific element.

Global Send Keys on 'Username': Correct for sending keys but requires prior focus on the Username field.

Option B:

Activate Application on the 'Login Window': Correct for bringing the application to the foreground.

Global Mouse Click Centre on 'Username': Correct for clicking the center of the Username field.

Global Send Keys on 'Username': Correct for sending keys to the Username field.

Option C:

Activate Application on the 'Login Window': Correct for bringing the application to the foreground.

Global Mouse Click Centre on 'Username': Correct for clicking the center of the Username field.

Global Send Keys on 'Username': Correct for sending keys to the Username field.

Option D:

Attach action on the 'Login Window': Not necessary for bringing the application to the foreground if it is already running.

Global Mouse Click Centre on 'Username': Correct for clicking the center of the Username field.

Global Send Keys on 'Username': Correct for sending keys to the Username field.

Conclusion:

The correct configuration is Option C because it uses:

'Activate Application' action to bring the application to the foreground.

'Global Mouse Click Centre' action to click the center of the Username field.

'Global Send Keys' action to populate the Username field.

Blue Prism Developer Documentation: Navigate Stage and Actions

Blue Prism Training Material on Spying Modes and Application Interaction

asked 16/09/2024
Robert Thompson
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first