QuestionQ154

VerifiedUI Automation

A developer plans to enter text into an input field by using a string together with a hotkey. The input action must occur in a hidden or minimized window.

Which input method(s) can be used independently for the Type Into activity?

Explanation

The default input method (Hardware Events) requires the target window to be in the foreground, so it cannot work with a hidden or minimized window. Only the Simulate and Window Messages (SendWindowMessages) methods run in the background and can interact with a window that is not active or is minimized. Therefore both Simulate and Window Messages can be used independently for the Type Into activity in this scenario. Option A (Window Messages only) and D (Simulate only) are each too narrow, and B misdescribes the methods.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!