Pass the GAQM GAQM: Software Testing CPST-001 Questions and answers with CertsForce

Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions
Questions # 21:

You are testing a form submission process using Data Driven Testing. How would you handle different sets of form data?

Options:

A.

Use a spreadsheet with columns for each form field, including expected result.


B.

Use a JSON file with objects for each set of form data containing form fields and expected result.


C.

Use a CSV file with rows for each set of form data and columns for form fields and expected result.


D.

Use a database table with columns for each form field, including expected result.


Expert Solution
Questions # 22:

The following is used to add the assert or verify to the test:

Options:

A.

Selenium IDE


B.

Context Menu


C.

Slider bar


D.

Base URL tab


Expert Solution
Questions # 23:

The following test engine is used for the Java programming language?

Options:

A.

JUnit


B.

TestNG


C.

NUnit


D.

Both A and B


Expert Solution
Questions # 24:

How can you set the path to the iOS driver executable in your Selenium WebDriver script using iOSDriver?

Options:

A.

Using the setExecutable method


B.

Using the setProperty method


C.

Using the setPath method


D.

Using the setDriverExecutable method


Expert Solution
Questions # 25:

What is the default file type for capturing screenshots?

Options:

A.

.jpeg


B.

.jpg


C.

.img


D.

.png


Expert Solution
Questions # 26:

Which parameter provides information about the display screen, such as size and resolution?

Options:

A.

GraphicsConfiguration


B.

CardConfiguration


C.

DriverConfiguration


D.

WebConfiguration


Expert Solution
Questions # 27:

Which one is not the correct type of locater?

Options:

A.

XSD


B.

DOM


C.

ID


D.

Name


E.

CSS


Expert Solution
Questions # 28:

You need to run your Selenium tests in parallel using TestNG. How would you configure TestNG to run tests in parallel?

Options:

A.

Use the parallel="classes" attribute in the TestNG XML configuration file.


B.

Manually specify the test classes and methods to run in parallel in the TestNG configuration.


C.

Use the parallel="methods" attribute in the TestNG XML configuration file.


D.

Use the ©Parameters annotation to pass parameters for parallel execution.


Expert Solution
Questions # 29:

Which one is not the WebDriver’s expected condition?

Note: WebDriver’s ExpectedConditions class is used to test expected conditions.

Options:

A.

textToBePresentInElement()


B.

frameToBeAvailableAndSwitchToIt()


C.

elementToBeClickable()


D.

titleIs()


E.

isAlertPresent()


Expert Solution
Questions # 30:

Which of the following features does Selenium IDE support?

Options:

A.

Test in multiple browsers


B.

Test against Firefox only


C.

Record and Play


D.

Export recorded tests to scripts


E.

Parallel testing using Selenium Grid


Expert Solution
Viewing page 3 out of 5 pages
Viewing questions 21-30 out of questions