Skip to content

Configuring the parameters of a walkthrough

kvantomme edited this page Aug 6, 2013 · 3 revisions

Parameters make it easy for people to reuse an existing Walkthrough. Under the "advanced" section (by default collapsed) it is possible to manually add or remove parameters for Walkthroughs and to configure their default values.

  1. Open the edit form for the Walkthrough you want to change. You can do so by clicking the edit tab for any Walkthrough you have the permissions for.
  2. Click on "Advanced settings" to open the hidden fieldset that contains the Steps.
  3. Edit the parameters:
    • To remove a parameter: Click the remove button under the parameter.
    • To add a parameter: Click on the "Add another item" button under the parameter list.
  4. Enter your preferred default value for the parameters
  5. Save the form when finished editing

###Tips

  • The Selenium import script automatically replaces the domain in a url with a domain parameter if you have an "Open" step at the beginning of your Selenium test. If your site is hosted inside a folder on a domain you will need to remove that folder from your command step and add it into your domain default value.
  • You can use parameters for any arbitrary variable information you want to insert into your Walkthrough.
  • You can use parameters in the share url functionality to pass information about a user to WalkHub (e.g. name, information you want to automatically add to their form submission, etc.)

###Next

###Requirements

Clone this wiki locally