Automation Assignment – UI & API Testing
Please find below the details of the automation assignment.
General Instructions
- Framework: Playwright /Cypress (choose one)
- Follow the Page Object Model (POM) design pattern for UI automation.
- Ensure assertions for:
• UI element visibility and interaction
• Functional flow and expected behaviors
• API response validations and functional correctness
Application to be used for Automation
[Link]
Please register yourselves on the above and use the same for below automation assignment.
Use Case 1: Message Box Task (UI Automation)
Steps:
1. Log in to the application.
2. Navigate to Automation from the left-hand menu.
3. Click on the Create dropdown and select Task Bot.
4. Fill in all mandatory details and click the Create button.
5. In the Actions panel, search for Message Box and double-click to add it.
6. On the right panel, verify every UI element interaction.
7. Save the configuration.
Expectations:
- Automate the flow for creating a message box task.
- Use POM for organizing elements and actions.
- Assert the following:
• UI element visibility
• Proper data entry
• Successful creation and confirmation messages
• Full functional flow validation
Use Case 2: Form with Upload Flow (UI Automation)
Steps:
1. Log in to the application.
2. Navigate to Automation from the left-hand menu.
3. Click on the Create dropdown and select Form.
4. Fill in all mandatory details and click the Create button.
5. From the left menu, drag and drop the Textbox and Select File elements onto the canvas.
6. Click on each element and verify all UI interactions in the right panel.
7. Enter text in the textbox and upload a document from your shared folder.
8. Save the form and verify whether the document is uploaded successfully.
Expectations:
- Build and automate a form with:
• A Text Box input field
• A File Upload control
- Automate the following:
• Text input interaction
• File selection from a shared folder
• File upload process and completion
- Assert the following:
• UI element visibility and functionality
• File upload status and confirmation
• Form submission behavior and backend response
Use Case 3: Learning Instance API Flow (API Automation)
Steps:
1. Perform login using the provided credentials:
- Username: your-username
- Password: your-password
2. After login, navigate to learning instance under AI tab
3. Create a Learning Instance.
4. Validate the created instance with appropriate checks.
Expectations:
- Identify required API endpoints using the browser Network tab.
- Perform the following validations:
• HTTP status code (e.g., 200 OK, 201 Created)
• Response time (optional but preferred)
• Response body schema and field-level checks (e.g., ID, name, status)
• Functional accuracy (e.g., instance created with correct data and status)
Submission Guidelines
- Submit your code in a GitHub repository or as a zip file.
- Include a [Link] with:
• Setup and execution instructions
• Framework and tools used
• Any environment/configuration notes