Repository navigation
TR-22345: Added short README update for automatic creation of Automation ID - #474
Open
acuanico-tr-galt wants to merge 1 commit into
Open
acuanico-tr-galt wants to merge 1 commit into
acuanico-tr-galt wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated README: 409 - 420
1. Using Automation ID (code-first approach)
To use this mechanism, you must first add a new custom field
of type
Textor with system nameautomation_id.Auto-creating the automation_id field: If the
automation_idfield doesn't exist yet in your TestRail instance, the CLI can create it for you (scoped to your current project, not globally) the next time it runs with--case-matcher autoand either-yor an interactiveyesresponse. This requires TestRail Administrator rights for the account/API key being used; if the account lacks permission, the CLI will show a specific error explaining that admin rights are required. If the field already exists but is inactive or not scoped to your project, the CLI will notattempt to create a duplicate - you'll need to fix its configuration manually in the TestRail Administration under Customizations > Case Fields, as described below.
The TestRail CLI will use the unique combination of your automation test case’s
classnameandname(expressed as
classname.name) to compare against values of theautomation_idfield in your TestRail test case repository.If a match is found, this test case will be included in the auto-generated test run for this upload.