Online Exam Quiz

questionQuestion  1 to 30

Which framework type uses tags to define actions?

  • Data-driven
  • Keyword-driven
  • Modular
  • Hybrid
Mark for review

Which type of testing is most commonly automated?

  • Integration testing
  • System testing
  • Smoke testing
  • Performance testing
Mark for review

Which programming languages can be used with Selenium WebDriver?

  • Java
  • Python
  • C#
  • All of the above
Mark for review

Which one is a test management tool?

  • Jenkins
  • Selenium
  • Jira
  • GIT
Mark for review

What is an automation script?

  • A test document
  • A coded sequence that performs test actions
  • A bug report
  • A test log
Mark for review

What is Git used for in automation projects?

  • Project Management
  • Code Deployment
  • Version Control
  • Test Execution
Mark for review

Which of the following is a disadvantage of using Selenium WebDriver for automation testing?

  • Requires multiple tools for reporting and managing test cases
  • It only supports desktop applications
  • It cannot run tests on mobile devices
  • It does not allow scripting in multiple programming languages
Mark for review

What is XPath used for in Selenium?

  • Navigation between test suites
  • Locating elements in a web page
  • Data storage
  • Assertion checks
Mark for review

Which is the best practice when writing automation scripts?

  • Reuse code wherever possible
  • Write long and complex scripts for every scenario
  • Test only the happy path
  • Use manual testing for everything
Mark for review

What is the use of the @Test annotation in TestNG?

  • It defines a class
  • It declares a method as a test method
  • It runs before the test starts
  • It is used for logging
Mark for review

What is the name of the tool used for performance testing?

  • JUnit
  • JMeter
  • Selenium
  • TestNG
Mark for review

Which of the following is a disadvantage of automated testing?

  • Requires high initial investment
  • Increased test coverage
  • Faster execution
  • Improved accuracy
Mark for review

What is the primary focus of performance testing in automation?

  • To test the response time of the system
  • To test the functionality of a system
  • To test the usability of a system
  • To test the security of a system
Mark for review

Which keyword is used in Java to handle exceptions in Selenium?

  • try-catch
  • catchError
  • handleException
  • recover
Mark for review

What is Jenkins mainly used for?

  • Manual test execution
  • Continuous Integration
  • GUI development
  • Code debugging
Mark for review

What is the purpose of a "dummy" or "mock" object in automation testing?

  • To simulate a real object during testing
  • To speed up test execution
  • To store the test results
  • To simulate an error in the system
Mark for review

In automation testing, what is a "locator"?

  • It helps in identifying and interacting with UI elements
  • It defines the expected result of a test case
  • It runs the test scripts automatically
  • It stores the test data for the execution
Mark for review

Which command is used in Selenium to navigate to a URL?

  • goTo()
  • navigate().to()
  • openUrl()
  • url.open()
Mark for review

What is the benefit of data-driven testing?

  • Random test execution
  • GUI simulation
  • Running same test with different data sets
  • Reducing number of test cases
Mark for review

What is Maven used for in test automation?

  • Writing test cases
  • Dependency and build management
  • Execution of scripts
  • Version control
Mark for review

How can you reduce the maintenance cost of automated tests?

  • By writing shorter and less complex scripts
  • By using a centralized test management tool
  • By writing reusable and modular code
  • By running the tests less frequently
Mark for review

What type of data is used in data-driven frameworks?

  • Static content
  • Hardcoded values
  • External input like Excel or CSV
  • GUI layouts
Mark for review

Which one is NOT a feature of Selenium WebDriver?

  • Desktop application support
  • Multi-browser support
  • Multi-language support
  • Integration with TestNG
Mark for review

What does the term "keyword-driven testing" refer to?

  • Using keywords for automation script execution
  • Using a keyword-based interface to create test scripts
  • Writing keywords in the test data file
  • Both 1 and 2
Mark for review

What does hybrid framework combine?

  • Functional and Performance tests
  • Data-driven and keyword-driven features
  • Manual and automated tests
  • GUI and API tests
Mark for review

Which of the following helps reduce flaky tests?

  • Avoiding waits
  • Ignoring failures
  • Using explicit waits properly
  • Skipping validation
Mark for review

Which of the following best helps reduce test maintenance effort?

  • Hard-coded values
  • Centralized locators
  • Static test data
  • Rewriting test code
Mark for review

What is the use of test data in automation testing?

  • Logs test failures
  • Simulates user inputs
  • Replaces test scripts
  • Organizes report
Mark for review

What is a "test suite" in the context of automation?

  • A set of related test cases executed together
  • A test report generated at the end of execution
  • A single test case
  • A user interface used to define test data
Mark for review

What is the use of TestNG in automation testing?

  • GUI testing
  • Framework for writing and running tests
  • Data collection
  • Code coverage analysis
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review