• Home
  • Company
    • About
    • Customers
    • Testimonials
    • Contact Us
    • My Account
  • Products
  • Downloads
  • Tutorials
  • Professional Services
  • Home
  • Company
    • About
    • Customers
    • Testimonials
    • Contact Us
    • My Account
  • Products
  • Downloads
  • Tutorials
  • Professional Services
Free Edition Compatible
How to Create Reusable Test Steps with Parameters
Objectives
In this tutorial you'll learn HOW TO:
► Add a new test step to the Test Step Tree
► Define Selection Time Parameters
► Drag the test step to the test flow
► Run your test by click
All Tutorials
How to ...
Add a New Test Step
Right click on any existing leaf to add a new sibling:
Give a name to the new test step using the window that will appear:
"ESL Script" button defines the new item as a script leaf.
Choose meaningful name to the test step.
Select "Selection Time Parameters" check box if required. You can skip this step and define the parameters later.
Click "Add" button to append the test step to the pre-view list on the right.
Define Test Step Parameters
Define Selection Time Parameters if you you choosed to apply the step 3 above:
Click to add a new selection time parameter.
Variable Name will be recognizable and its value available in your script.
Define default value.
This explanation will appear each time the test step is dragged to the flow.
Define parameter type: e.g. "File" will open the file explorer as user clicked on "Value" field.
Click OK to apply

Define more test steps if you need and click OK.
Write a Script
The Coronys ESL Editor will automatically start and generate templates of all new created test steps
At this stage you can copy the sources from the WEB tutorials.
Use ESL Editor templates, wizards and helps to implement your own test logic.
Press F1 for Help and API index.
Create Test Flow
Drag your new test step to the Flow Editor:
If you defined "Selection Time Parameters", the "User Parameters" window will pop up:
Click on Value field to open FIle Explorer to choose your application to run.
Define timeout longer than expected execution time.
Ckick OK to apply.
Run Your Test
Click "Run" button to run your test.
Download Your Free Edition
Resources
To do your hands-on practice more effective:
Watch the "How to Automate Windows Command Line Operations" tutorial.
Watch the "How to Write Data Driven Test" tutorial.
Install the ETS Free Edition on your PC.
Download the "Get Started" project with all up-to-date tutorial scripts. Unzip it to C:\ETS_Workspaces.
  • Home
  • Products
  • Downloads
  • Tutorials
  • Contact Us
  • Terms of Use
  • Privacy Policy

Copyright © 2002-2017 Coronys Ltd. All Rights Reserved.
 
Back to top