Certified Pega Robotics System Architect v8.0 (2019) — Question 19
Your log on automation is failing and you cannot proceed because the Submit button is not enabled. After searching the HTML code, you discover that the Submit button is enabled only after the Password field experiences a key press.
How do you resolve the automation issue?
Answer options
- A. On the Password field, add an Enabled property and set it to True.
- B. On the Password field, add a RaiseEvent method with onkeypress.
- C. On the Submit button, add a Disabled property and set it to True.
- D. On the Submit button, add a RaiseEvent method with onkeypress.
Correct answer: A
Explanation
The correct answer is A, as adding an Enabled property to the Password field and setting it to True ensures that the Submit button can be activated. Option B does not directly enable the button; it merely triggers an event without changing the button's state. Option C incorrectly suggests disabling the Submit button, which is counterproductive. Option D also does not solve the issue since it relates to the Submit button and not the Password field's requirement to activate it.