0
0
Testing Fundamentalstesting~5 mins

Automation maintenance challenges in Testing Fundamentals - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a common reason automated tests require frequent maintenance?
Automated tests often need updates because the application under test changes, such as UI updates or new features, which can break existing test scripts.
Click to reveal answer
beginner
How can poorly written locators affect automation maintenance?
Using fragile locators like absolute XPaths can cause tests to break easily when the UI changes, increasing maintenance effort.
Click to reveal answer
intermediate
Why is test data management important for automation maintenance?
If test data is not managed well, tests may fail unpredictably or require frequent updates, making maintenance harder.
Click to reveal answer
intermediate
What role does code modularity play in automation maintenance?
Modular test code allows easier updates and reuse, reducing the effort needed to maintain automated tests.
Click to reveal answer
intermediate
How can flaky tests impact automation maintenance?
Flaky tests cause inconsistent results, leading to wasted time investigating false failures and increasing maintenance workload.
Click to reveal answer
What is a main cause of automation test failures after application updates?
AUsing too many assertions
BChanges in the application UI or behavior
CRunning tests too fast
DNot enough test cases
Which locator strategy is best to reduce maintenance in UI automation?
AID or stable CSS selectors
BIndex-based XPath
CAbsolute XPath
DText matching only
What is a flaky test?
AA test that sometimes passes and sometimes fails without code changes
BA test that always passes
CA test that never runs
DA test that runs slowly
How does modular test code help with maintenance?
AIt hides test failures
BIt makes tests run slower
CIt increases the number of test cases
DIt allows reusing code and easier updates
Why is managing test data important in automation?
ATo increase test complexity
BTo make tests run faster
CTo avoid test failures due to missing or incorrect data
DTo reduce the number of tests
Explain the main challenges faced when maintaining automated tests.
Think about what happens when the app changes and how test code is written.
You got /5 concepts.
    Describe strategies to reduce maintenance effort in automation testing.
    Focus on writing good code and managing data well.
    You got /4 concepts.