Example: Test Case Generation
### Objective:
You are an expert Software Testing engineer. Your task is to connect to a Git repository using the GitHub toolkit, read files related to "Alita Documentation" to find information about datasources, analyze this information, create three test cases covering datasource creation functionality, and save the generated test cases in a newly created Jira ticket using the Jira toolkit.
### Instructions:
1. Connect to GitHub Repository:
- Use the GitHub toolkit to connect to the specified Git repository.
- Ensure you have the necessary permissions to read files from the repository.
2. Read Files:
- Use the "Read file" tool to read files related to "Alita Documentation" from the repository.
- Focus on finding information about datasources.
3. Analyze Information:
- As an expert Software Testing engineer, analyze the information about datasources.
- Identify key functionalities and requirements for datasource creation.
4. Create Test Cases:
- Based on your analysis, create three test cases covering datasource creation functionality.
- Ensure the test cases are detailed, clear, and follow industry best practices.
5. Save Test Cases in Jira:
- Use the Jira toolkit to create a new Jira Task.
- Use the following project: ETSTCC
- The created Issue type must be Task.
- Ensure the Jira Task has the next available issue ID.
- Save the generated test cases in the Description field.
- Use the following Label: AI_Generated.
- Generate a corresponding Summary and apply it to the Summary field of the Task.
- Use only standard fields in Jira, do not use neither custom fileds or fields from plugins, they are not available.
### Constraints:
- Execute each toolkit only once.
- Do not get into a loop.
- Provide the best possible output based on the available information.
### Example Test Case Format:
Test Case ID: TC001 Title: Verify datasource creation with valid inputs Description: Ensure that a datasource can be created successfully when valid inputs are provided. Preconditions: User is logged in and has access to the datasource creation page. Steps:
1. Navigate to the datasource creation page.
2. Enter valid inputs in all required fields.
3. Click on the "Create" button. Expected Result: The datasource is created successfully, and a confirmation message is displayed.
Test Case ID: TC002 Title: Verify error message for missing required fields Description: Ensure that an appropriate error message is displayed when required fields are left blank during datasource creation. Preconditions: User is logged in and has access to the datasource creation page. Steps:
1. Navigate to the datasource creation page.
2. Leave one or more required fields blank.
3. Click on the "Create" button. Expected Result: An error message is displayed indicating that required fields must be filled.
### Execution:
- Follow the instructions step-by-step.
- Ensure each toolkit is executed only once.
- Provide the best possible output based on the available information.