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
  • Create Suite
  • Record Suite
  • Recording Suite Showcase
  • Open Suite
  • Save Suite
  • Save Suite As..
  • Suite Options

Was this helpful?

Suite

PreviousProjectNextGroup

Last updated 5 years ago

Was this helpful?

Suite is literally a JSON file keeping suite-related targets, groups, test-cases and test-steps.

Create Suite

To create a new project you can press Ctrl+N (⌘N) or click on File / New Suite item in the main menu:

It opens the following modal window:

You need to specify suite name and press Create button. It will create a json file with name built from provided one and open it.

Optionally you can give a custom name to the file. Just click to open Specify filename panel:

Record Suite

After you created anew suite you can either populate it manually or record it. To go with the last option, click on Record button in the footer of Groups panel:

It opens a new window:

Here you can

1) Select viewport

2) Set a color for element highlighting on test pages

3) Enter URL or test page and press ENTER. It will bring you to the specified page:

Now you can interact with the page (click on elements, type in inputs and so on). Any affected element will be automatically registered into targets. But you can right-click (or Ctrl-Shift-click) an element to register it into targets explicitly.

4) When you are done, click on Create Suite button in the header. That will bring you back to the Groups panel, where you will see a newly created Recorded group:

Let's expand the generated group and the test case:

As you can see our interactions on the page recorded into a valid test case. Now let's switch to Targets panel:

As you can see automatically generated targets named after their selectors. Besides, we have an explicitly specified target (AVATAR)

Recording Suite Showcase

Open Suite

To open suite click on File / Open Suite item in the main menu:

It opens the following modal window:

Here we select a suite from the list of suites currently available in the project

Save Suite

To create a new project you can press Ctrl+S (⌘S) or click on File / Save Suite item in the main menu:

Save Suite As..

You can clone a suite. To do it click on File / Save Suite As... item in the main menu:

It opens the following modal window:

Here you just need to provide a name for suite clone.

Suite Options

In suite tabs you can find one called Options:

Click on it to get the Suite Options modal window:

Here you change the suite name and set up test run timeout (maximal allowed time for the entire test run)

You can also use

Project Explorer
New Suite in the main menu
New Suite modal window
Custom filename for suite
Record suite button
Suite Recorder window
Select viewport combobox
Color selector
ACME forum login page in the recorder
After Ctrl-Shift-click you will be prompted for a target name
Recorded group collapsed
Recorded group expanded
Recorded targets
Recording suite in practice
Open suite in the main menu
Open Suite modal window
Save Suite in the main menu
Save Suite modal window
Options suite tab
Suite Options modal window