Robot Framework and AI for QA: Hands-on iPhone Testing
Build readable web, API and mobile tests with Cursor, then apply them to physical iPhones.
Develop maintainable Robot Framework tests with AI assistance, meaningful assertions and guided iPhone automation using Appium and XCUITest.
Why this course
Effective automation starts with clear test intent, meaningful checks and reliable evidence when something fails. This practical workshop helps QA professionals develop Robot Framework tests they can understand, execute, troubleshoot and maintain. AI assistance supports the work, while participants retain responsibility for reviewing generated code and verifying test results.
The programme begins with how AI works, its risks and limitations, and the importance of providing relevant context and clear prompts. Participants then apply these principles through Cursor while developing reusable automation for web applications, APIs and mobile apps. The final section focuses on iPhone testing using MacBooks, physical iPhones and the Appium XCUITest toolchain.
The training emphasises practical engineering judgement, maintainable test design and skills applicable to everyday QA work.
Guided individual practice and collaborative activities build a focused set of Robot Framework tests against prepared applications. Participants use their existing Python, command-line and client-server knowledge to practise reusable keywords, test execution and failure diagnosis.
Learning outcomes
By the end of the course, participants will be able to:
- Explain how AI assistants work and recognise their limitations and risks.
- Provide relevant context and clear prompts for AI-assisted test development.
- Translate manual test cases into readable Robot Framework tests with meaningful assertions.
- Organise reusable keywords, resource files, configuration and test data.
- Develop and execute web, API and mobile tests using the appropriate Robot Framework libraries.
- Interpret reports, logs and failure evidence to troubleshoot test failures.
- Use Cursor to generate, explain, refactor and debug tests while verifying its output.
- Configure and execute guided iPhone tests using AppiumLibrary and the XCUITest driver.
Prerequisites
- Working QA experience: independently write test cases, execute tests and report defects.
- Good working knowledge of Python: write and run functions, import modules, manage packages and virtual environments, and interpret tracebacks.
- Good working knowledge of the iPhone ecosystem, including app installation, permissions and device settings.
- Comfort with POSIX systems and CLI tools: navigate files, manage permissions and environment variables, and run commands.
- Working understanding of client-server architecture, endpoints, ports and remote connections.
- Experience connecting to remote environments, transferring files and executing commands independently.
- A MacBook with compatible macOS and Xcode installed, plus permission to install compatible Python, Robot Framework, Node.js, Appium, XCUITest driver, Git and Cursor versions.
- A physical iPhone with a suitable data cable and permission to pair with the MacBook, enable Developer Mode and UI Automation, and trust the required development signing identity.
- Valid signing and provisioning access for the practice iPhone application and WebDriverAgent.
- Cursor access with AI features enabled under the organisation’s approved settings.
- Access to suitable practice web applications, APIs, an installable iPhone test build and authorised test accounts.
- Reliable internet access to the approved development tools and services.
- Authorised SSH access where remote practice environments are used.
8 modules
011. AI Fundamentals, Risks, Context and Prompting4 topics
- How AI assistants and language models work
- AI limitations, hallucinations, privacy and security risks
- Providing relevant project context and supporting evidence
- Clear prompts, acceptance criteria and output verification
022. Robot Framework Foundations and Test Execution4 topics
- Project environment and dependency verification
- Test structure, syntax, variables and library imports
- Keywords, arguments, return values and assertions
- Command-line execution, tags, reports and logs
033. Writing Reusable and Maintainable Tests4 topics
- Translating manual test intent into readable automation
- User keywords, resource files and shared configuration
- Setup, teardown, independent test data and data-driven templates
- Refactoring duplication and maintaining tests after application changes
044. AI-Assisted Automation with Cursor4 topics
- Repository context and project rules
- Generating tests from test cases and acceptance criteria
- Explaining and refactoring Robot Framework and Python code
- Diagnosing failures, reviewing changes and verifying assertions
055. Web Application Testing with SeleniumLibrary4 topics
- Browser sessions, element inspection and stable locators
- User interactions and meaningful assertions
- Explicit waits, synchronisation and flaky-test prevention
- Hands-on web test development, execution and troubleshooting
066. API Testing with RequestsLibrary3 topics
- HTTP requests, headers, authentication and JSON payloads
- Status codes, response content and negative-path assertions
- Hands-on API test development, execution and test-data cleanup
077. Mobile Application Testing with AppiumLibrary4 topics
- Appium client-server architecture, drivers and sessions
- Device capabilities, element inspection and mobile locators
- Mobile interactions, waits and assertions
- Mobile test execution and failure evidence
088. iPhone Testing4 topics
- MacBook, Xcode, iPhone pairing and Developer Mode checks
- XCUITest driver, WebDriverAgent, signing and provisioning
- iPhone application configuration and element inspection
- Hands-on iPhone test execution, assertions and troubleshooting
The course outline is a guide. Content, sequence and activities may be adjusted to participant readiness, available systems, technical constraints and the agreed learning objectives.
A programme built around your team.
Share your training goals and requirements.