Browse QA Engineers Section 3: Automation Scripts

Generate Page Object / Robot Pattern Classes

16 fill-in slots · from The AI Prompt Handbook for QA Engineers

Your details

0/16 filled

Generate Page Object / Robot Pattern Classes

Generate the page object (iOS) or robot pattern (Android) classes for this screen.

SCREEN: [Name]
PLATFORM: [iOS (XCUITest) / Android (Espresso) / Both]

ELEMENTS ON SCREEN:
1. [Element 1]: [Type][Accessibility ID / Test Tag][What it does]
2. [Element 2]: [Type][Accessibility ID / Test Tag][What it does]
3. [Element 3]: [Type][Accessibility ID / Test Tag][What it does]
4. [Element 4]: [Type][Accessibility ID / Test Tag][What it does]

USER ACTIONS POSSIBLE:
1. [Action 1]: [Description]
2. [Action 2]: [Description]
3. [Action 3]: [Description]

ASSERTIONS NEEDED:
1. [Verification 1]: [What to check]
2. [Verification 2]: [What to check]

Generate:
- Element locator properties
- Action methods (tap, type, scroll, swipe)
- Assertion methods (isDisplayed, hasText, isEnabled)
- Navigation methods (navigateTo, goBack)
- Wait/loading state helpers

Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.