nerdexam
iSQI

CTAL-TA_SYLL2019 · Question #80

The Technical Test Analyst has created a suite of keyword-driven tests to be used to test a calendar creation application. Because users may enter erroneous data, error checking must be handled with…

The correct answer is A. Create test data for the keywords that includes error data and verifies the proper error is returned. The correct answer is A. Create test data for the keywords that includes error data and verifies the proper error is returned. Create test data for the keywords that includes error data and verifies the proper error is returned This is the best way to test the error conditions…

Test Tools

Question

The Technical Test Analyst has created a suite of keyword-driven tests to be used to test a calendar creation application. Because users may enter erroneous data, error checking must be handled with the automation. What is the best way to test the error conditions and still use the keyword-driven tests?

Options

  • ACreate test data for the keywords that includes error data and verifies the proper error is returned
  • BCreate a suite of data-driven tests that will provide all possible errors
  • CCreate new keywords to handle the error situations
  • DCreate manual tests for the error conditions and provide only valid data for the keyword tests

How the community answered

(45 responses)
  • A
    71% (32)
  • B
    18% (8)
  • C
    4% (2)
  • D
    7% (3)

Explanation

The correct answer is A. Create test data for the keywords that includes error data and verifies the proper error is returned. Create test data for the keywords that includes error data and verifies the proper error is returned This is the best way to test the error conditions and still use the keyword-driven tests because it allows the reuse of the existing keywords and functions, while providing different inputs and expected outputs for the test cases. It also ensures that the error checking is automated and consistent, and that the test coverage is adequate1. Keyword Driven Testing Framework with Example2, Section How to create Keyword Driven What is Keyword Driven Testing: A Detailed Tutorial With Examples3, Section How to perform Keyword Driven Testing KEYWORD DRIVEN TESTING4, Section How to do Keyword Driven Testing

Topics

#keyword-driven testing#test automation#error handling#test data design

Community Discussion

No community discussion yet for this question.

Full CTAL-TA_SYLL2019 Practice