Puppetry
2.0.0
2.0.0
  • Welcome Puppetry
  • Getting Started
  • Project
  • Suite
  • Group
  • Target
  • Test Case
  • Test Step
    • Page Commands
    • Page Assertions
    • Target Commands
    • Target Assertions
  • Managing Assets
  • Snippets
  • Running tests
    • Troubleshooting
  • Exporting Tests for CI
  • Template Expressions
  • Version Control
  • Testing Transactional Emails
    • Example with Restmail.net
    • Example with Mailinator
    • Example with IMAP bridge
    • Example with Google API
  • Testing Forms with Captcha
  • 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?

Target

PreviousGroupNextTest Case

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.

Target with CSS selector
Target with XPath
Editing Targets as CSV