Multiple choice technology testing

Before we redirect keystrokes to any application, using Send Keys, focus can be set using which method?

  1. AppFocus

  2. Focus

  3. AppActivate

  4. Activate

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

AppActivate is the method used to set focus on a specific application window before using SendKeys. It takes the window title or handle as a parameter. AppFocus and Focus are not valid VBScript methods for this purpose. Activate alone is not the correct method name.