Skip to content
Sahi Pro Flowcharts is retired. These pages document the last release (v12) and are no longer updated. Go to the current documentation.Flowcharts is retired. Current docs
Get Free Trial
Sahi Pro Flowcharts is retired. These pages document the last release (v12) and are no longer updated. Go to the current documentation.

Organize Automation Artifacts using Quick Extract

For maintainable automation, we need to organize UI Element identifiers, the data values being passed etc. meaningfully. Quick Extract extracts UI Elements and data values and stores them with the relevant Entity Attribute.

  1. In the User Registration flowchart, click on Enter $user details and click on Automate.

  2. Click on Quick Extract button at the bottom of the Automate dialog.

    Quick Extract Button

  3. Quick Extract All dialog will open. You will see a list of all UI Elements and data that we have used in the recorded steps.

    Quick Extract All

    You will notice that Entity and attribute names are auto-suggested based on UI Element under ‘Extract To’ column. Optionally, you can change the auto-suggested attribute name. To exclude extracting any UI Element and its data, untick the checkbox for this UI Element row.

    Now, click on Extract button.

  4. Click on Save Keywordbutton.

  5. Observe the changes in Automate dialog after Quick Extract.

    Extracted Attributes

    Clicking on $user link will open the Entities tab. Under the $user entity, we can now see the various attributes we just extracted, along with their UI Elements.

    Entities - UI Element Tab

    The $user entity and its attributes are also available on the Add Step dialog’s Entity/Screen tab.

    Add Step - Entity/Screen Tab

In a similar way, we can extract UI Element and data using the Edit Step dialog.

  1. Double click on a Step from Keyword.

  2. Click on Quick Extract To.

    Add Step - Quick Extract

  3. Select $user from Quick Extract To dropdown. It will show prompt for Attribute name with auto-suggested name based on UI Element.

    Quick Extract Suggestions

  4. Click OK button which shown in prompt.

  5. Observe the changes in Edit Step dialog after Quick Extract.

    Extracted Attribute

  6. Click on Update button to Save changes.

Next: Repeatable Tests - Data Generator