Skip to content

Commit

Permalink
#893 - update docs parameters only p1-p8
Browse files Browse the repository at this point in the history
  • Loading branch information
kensoh committed Dec 16, 2020
1 parent 8a719f3 commit fd20cc4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ Prompts user for input and saves the input as the variable ``ask_result``.
live
###################
Wait for user confirmation before continuing. The user must enter "done" before the flow continues.
Run steps interactively and immediately see the output. The user must enter "done" before the flow continues.

.. code-block:: none
Expand Down Expand Up @@ -704,7 +704,7 @@ Uses the specified csv file as the datatable for batch automation. See :ref:`dat

input(s)
********************
Add your own parameter(s) to be used in your automation flow as variables p1 to p9.
Add your own parameter(s) to be used in your automation flow as variables p1 to p8.


See :doc:`other deprecated options </dep_options>`.
Expand Down
6 changes: 3 additions & 3 deletions src/tagui
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ chrome_command="google-chrome"

if [ -z "$1" ]
then
echo "tagui v6.12: use following options and this syntax to run - ./tagui flow_filename option(s)"
echo "tagui v6.14: use following options and this syntax to run - ./tagui flow_filename option(s)"
echo
echo "live launch in live mode enabled with visual automation for interactive development"
echo "input(s) add your own parameter(s) to be used in your automation flow as variables p1 to p9"
echo "tagui live launch TagUI live mode enabled with visual automation for interactive development"
echo "input(s) add your own parameter(s) to be used in your automation flow as variables p1 to p8"
echo "data.csv specify a csv file to be used as the datatable for batch automation of many records"
echo "-deploy -d generate .command file which can be double-clicked to run workflow with specific options"
echo "-headless -h run on invisible Chrome web browser instead of visible as default (first install Chrome)"
Expand Down
6 changes: 3 additions & 3 deletions src/tagui.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ rem enable windows for loop advanced flow control
setlocal enableextensions enabledelayedexpansion

if "%~1"=="" (
echo tagui v6.12: use following options and this syntax to run - tagui flow_filename option^(s^)
echo tagui v6.14: use following options and this syntax to run - tagui flow_filename option^(s^)
echo.
echo live launch in live mode enabled with visual automation for interactive development
echo input^(s^) add your own parameter^(s^) to be used in your automation flow as variables p1 to p9
echo tagui live launch TagUI live mode enabled with visual automation for interactive development
echo input^(s^) add your own parameter^(s^) to be used in your automation flow as variables p1 to p8
echo data.csv specify a csv file to be used as the datatable for batch automation of many records
echo -deploy -d generate .cmd file which can be double-clicked to run workflow with specific options
echo -headless -h run on invisible Chrome web browser instead of visible as default ^(first install Chrome^)
Expand Down
4 changes: 2 additions & 2 deletions src/tagui_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
// xpath for object identification
var xps666 = require('casper').selectXPath;

// assign parameters to p1-p9 variables
// assign parameters to p1-p8 variables
var p1 = casper.cli.raw.get(0); var p2 = casper.cli.raw.get(1); var p3 = casper.cli.raw.get(2);
var p4 = casper.cli.raw.get(3); var p5 = casper.cli.raw.get(4); var p6 = casper.cli.raw.get(5);
var p7 = casper.cli.raw.get(6); var p8 = casper.cli.raw.get(7); var p9 = casper.cli.raw.get(8);
var p7 = casper.cli.raw.get(6); var p8 = casper.cli.raw.get(7); // p9 (${10}) is less portable

// save start time to measure execution time
var automation_start_time = Date.now(); casper.echo('\nSTART - automation started - ' + Date().toLocaleString());
Expand Down

0 comments on commit fd20cc4

Please sign in to comment.