CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 44: UiSTEPv1: UiPath Software Testing Engineer Professional

When an exception is thrown during a test case execution, it is desirable to fail the test case and take a screenshot of the current state of the application. Which of the following strategies can be used to achieve this?

Nội dung câu hỏi

When an exception is thrown during a test case execution, it is desirable to fail the test case and take a screenshot of the current state of the application. Which of the following strategies can be used to achieve this?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Surround the test case in a Try CatchAdd a Verify Expression in the Catch Exception block, configured in the following way:TakeScreenshotIfFailed: False -Expression: False
  2. B. Surround the test case in a Try CatchAdd a Verify Expression in the Catch Exception block, configured in the following way:TakeScreenshotIfFailed: True -Expression: True
  3. C. Surround the test case in a Try CatchAdd a Verify Expression in the Catch Exception block, configured in the following way:TakeScreenshotIfFailed: True -Expression: False — đáp án hiện tại
  4. D. Surround the test case in a Try CatchAdd a Verify Expression in the Finally Exception block, configured in the following way:TakeScreenshotIfFailed: True -Expression: “1 > 2”

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề