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
  • Create Suite
  • Record Suite
  • 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.

You can also find recorder console below the address bar.

It prints all the user actions intercepted by the recorder. If you hover the console it expands showing you more of the log.

Left to the Create Suite button you can see an icon:

Click it when you need Chrome DevTools.

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)

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 Suite 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: Initial state
Select viewport combobox
Color selector
Suite Recorder window: URL entered
After Ctrl-Shift-click you will be prompted for a target name
Recorder console
Recorder log
DevTools button
Recorded group collapsed
Recorded group expanded
Recorded targets
Open suite in the main menu
Open Suite modal window
Save Suite in the main menu
Save Suite modal window
Suite options tab
Suite Options modal window