0
0
Testing Fundamentalstesting~10 mins

Test management tools (Jira, TestRail) 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 create a new test case in TestRail using the API.

Testing Fundamentals
response = client.[1]('add_case/1', data)
Drag options to blanks, or click blank then click option'
Anew_case
Bcreate_case
Cadd_case
Dpost_case
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'create_case' instead of 'add_case' causes an API error.
Using 'post_case' is not a valid method in TestRail API.
2fill in blank
medium

Complete the code to filter Jira issues by status using JQL.

Testing Fundamentals
jql_query = 'project = TEST AND status = [1]'
Drag options to blanks, or click blank then click option'
A'In Progress'
B'Resolved'
C'Closed'
D'Open'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Closed' will filter only finished issues, not active ones.
Using 'Open' might include issues not yet started.
3fill in blank
hard

Fix the error in the code to update a test run status in TestRail.

Testing Fundamentals
client.[1](run_id, {'status_id': 1})
Drag options to blanks, or click blank then click option'
Aupdate_run_result
Bset_run_status
Cupdate_run_status
Dupdate_run
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'update_run' only updates run details, not results.
Using 'set_run_status' is not a valid API method.
4fill in blank
hard

Fill both blanks to create a Jira issue with a summary and description.

Testing Fundamentals
issue_dict = {'fields': {'summary': [1], 'description': [2], 'project': {'key': 'TEST'}, 'issuetype': {'name': 'Bug'}}}
Drag options to blanks, or click blank then click option'
A'Test failure in login'
B'Login button does not respond'
C'Bug in login module'
D'Steps to reproduce the issue'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping summary and description values.
Using too long text for summary.
5fill in blank
hard

Fill all three blanks to create a TestRail test run with a name, description, and suite ID.

Testing Fundamentals
run_data = {'name': [1], 'description': [2], 'suite_id': [3]
Drag options to blanks, or click blank then click option'
A'Regression Test Run'
B'Run for release 1.2'
C5
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers as strings for suite_id.
Mixing up name and description values.