Puppetry
3.2.2
3.2.2
  • Welcome Puppetry
  • Getting Started
  • Project
  • Suite
  • Group
  • Target
    • Simple Target
    • iFrame Target
    • ShadowDOM Target
    • Chained Target
    • Shared Target
  • Test Case
  • Test Step / Action
    • Page Commands
    • Page Assertions
    • Target Commands
    • Target Assertions
  • Managing Records
  • Snippets
  • Running tests
    • Interactive Mode
    • Troubleshooting
  • Test Report
  • Export
    • Exporting as Jest Project (CI-friendly)
    • Exporting as Test Specification
  • Settings
  • Template Expressions
  • Testing Techniques
    • Testing Dynamic Content
    • Exhaustive Testing
    • Performance Testing
    • Visual Regression Testing
    • Testing Shadow DOM
    • Testing Google Analytics tracking code
    • Testing Chrome Extensions
    • Testing REST API
    • Mocking HTTP/S Requests
    • Testing Transactional Emails
      • Example with Restmail.net
      • Example with Mailinator
      • Example with IMAP bridge
      • Example with Google API
    • Testing Forms with Captcha
  • Version Control
  • Tips and Tricks
    • Embrace the Power of CSS
  • Command API
  • Test Application
Powered by GitBook
On this page
  • Adding Target with CSS Selector
  • Adding Target with XPath
  • Editing Targets as CSV

Was this helpful?

  1. Target

Simple Target

PreviousTargetNextiFrame Target

Last updated 5 years ago

Was this helpful?

Targets are basically identifiers associated with locators (CSS selector or XPath) that we can refer in the tests

Adding Target with CSS Selector

When you change name of an existing target, the new name will be reflected in all the test cases referring to it

Adding Target with XPath

Editing Targets as CSV

You can edit targets as CSV. After clicking on Edit as CSV button you get a modal window where existing targets presented as lines of target/locator pairs separated with comma.

Adding Target with CSS Selector
Adding Target with XPath
Editing Targets as CSV