Certification: AI-driven Test Automation

Final Exam

Final Exam

Test your knowledge

Tests that are most repetitive and time-consuming to test manually.
Tests that are easiest to automate.
Tests that have already been thoroughly vetted manually and have no known bugs.
Randomly selected tests to diversify the testing process.

Create test cases for the first environment, then copy them to the second test suite.
Use one test suite for two environments, since you only need to modify test data and a target environment when you alternate between the two.
Create test cases for the first environment, then create a shared test suite for the second one.
Use two separate testRigor accounts, one for each environment.

For any repetitive set of steps to increase efficiency and improve debugging.
When a test case is running longer than expected.
Only when directed by a supervisor or team leader.
For one-time scenarios that are unlikely to be repeated.

To handle unexpected scenarios like random pop-ups and ads by automatically adding the rule when certain conditions are met.
To handle scenarios such as login – in case the user gets logged out.
To increase the runtime of each test case.
To send notifications to the test manager for each step in the test.

generate from regex “[a-z]{10,18}”, then enter into “Notes” and save as “actionNotes”
save value “Peter” as “name”
grab value from input “some-edit” and save it as “my-email”
check that page contains stored value from “actionNotes”

call api “https://testrigor.com” and save it as “variableName”, then check that “variableName” contains “James”
call api “https://testrigor.com”, then check that stored value “variableName” itself contains “James” without saving it
call api “https://testrigor.com” and save it as “variableName”, then check that stored value “variableName” itself contains “James”
call api “https://testrigor.com”, then check that “variableName” matches regex “James”

Both SQL and No-SQL commands save the results with property or column names as keys for subsequent usage in the test.
Only SQL commands save the results with column names as keys.
Only No-SQL commands save the results with property names as keys.
Neither SQL nor No-SQL commands save the results for subsequent usage in the test.

To send an SMS to the allocated number.
To ensure that the phone call to “newNumber” was picked up.
To request a new temporary phone number from Twilio and save it in a variable, which can be used for checking incoming calls or messages.
To verify that the saved value “newNumber” matches a predefined pattern.

The first one clicks on the most visible “Add to cart” button, while the second one always clicks on the top-most “Add to cart” button on the page.
They both perform the same action.
The first one gives an error if there are multiple “Add to cart” buttons, while the second one chooses specifically.
The second one uses JavaScript to perform the action, while the first one uses the mouse.

Multiple correct answers
Because the UI is not visible in headless mode.
Because in headless mode, dragging with JavaScript becomes the only option.
Because headless mode only supports hover and click commands.
Because testRigor turns off all drag and drop functionality in headless mode.

The setting for nested iframes is not properly set.
The element is set to ‘display:none’ in CSS.
The browser window is minimized.
The testRigor system is outdated and needs an update.

Multiple correct answers
Enable the “Measure page load” and “Wait for Scripts” settings in Speed Optimizations.
Disable JavaScript on the test page.
Use a different browser for testing.
Insert a dynamic wait into the script that will force testRigor to begin interacting with the page only after the last element is loaded.

check that two emails to “[email protected]” and “Confirm” in subject were delivered
check email to “[email protected]” and “Confirm” in subject was delivered
check that one and one email to “[email protected]” were delivered
verify that two emails to “[email protected]” and “Confirm” in subject were sent

check that url has “testrigor.com” in link
verify url contains “testrigor.com”
check that url contains “testrigor.com”
check that url starts with “testrigor.com”

enter a enter command into 3rd “Notes”
type enter in the 3rd occurance of “Notes”
write “enter” into 3rd “Notes”
enter enter into 3rd “Notes”