0
0
Testing Fundamentalstesting~10 mins

Tool selection criteria in Testing Fundamentals - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to select a testing tool based on the {{BLANK_1}} of the project.

Testing Fundamentals
if project_requirements == [1]:
    selected_tool = 'Tool A'
Drag options to blanks, or click blank then click option'
Aperformance
Bmanual
Cautomation
Dsecurity
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing manual when automation is required.
Confusing performance with automation.
2fill in blank
medium

Complete the code to check if the tool supports the required {{BLANK_1}}.

Testing Fundamentals
if tool.supports([1]):
    print('Tool is suitable')
Drag options to blanks, or click blank then click option'
Aplatforms
Bdatabases
Cbrowsers
Dlanguages
Attempts:
3 left
💡 Hint
Common Mistakes
Checking for platforms instead of languages.
Ignoring language support.
3fill in blank
hard

Fix the error in the code that evaluates the tool's cost against the budget.

Testing Fundamentals
if tool_cost [1] budget:
    approve_tool()
Drag options to blanks, or click blank then click option'
A>
B<
C==
D<=
Attempts:
3 left
💡 Hint
Common Mistakes
Using '>' which approves expensive tools.
Using '==' which is too strict.
4fill in blank
hard

Fill both blanks to filter tools that support the required features and have good {{BLANK_1}}.

Testing Fundamentals
suitable_tools = [tool for tool in tools if tool.supports(features) and tool.[1] >= 4]
Drag options to blanks, or click blank then click option'
Arating
Bcost
Cpopularity
Dspeed
Attempts:
3 left
💡 Hint
Common Mistakes
Using cost which is numeric but not a quality measure.
Using popularity which may not reflect quality.
5fill in blank
hard

Fill all three blanks to create a dictionary of tools with their {{BLANK_1}}, {{BLANK_2}}, and {{BLANK_3}}.

Testing Fundamentals
tool_info = {tool.name: {'cost': tool.[1], 'rating': tool.[2], 'platforms': tool.[3] for tool in tools}
Drag options to blanks, or click blank then click option'
Acost
Bscore
Csupported_platforms
Dprice
Erating
Fplatforms
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect attribute names like 'price' or 'score'.
Mixing attribute names with dictionary keys.