Edit an axe Expert Script
Edit script events when you want to modify any of the fields of information associated with previously recorded script events (for example, Timing, which would be the number of milliseconds required for a particular event to complete so that it takes more or less time than the original recording when subsequently played again). Additionally, the target (
XPATH) of an event is editable.
For more information about
XPATH expressions, refer to W3 XML Path Language (XPath) 3.1.
With a script currently displayed in the content pane event table of the Scripts panel, click the
context menubutton in the Actions column within the desired event row and select
Editfrom that menu.
The Edit Script Step pane replaces the event table in the right content pane of the Scripts panel, displaying editable fields of information associated with the event script step. Depending on the type of event you selected, the editable fields will differ.
In the desired field(s), change the existing content value(s) as desired (for example, for a LoadURL type of event, in the
Event Timingfield, modify the existing amount of milliseconds by either increasing the numeric value to add time to complete or decrease the value to reduce the amount of time required to complete the event).
Scroll to the bottom of the editable fields and click
The Edit Script Step pane is replaced by the event table, and if the value you changed is one of the events displayed as a column within the table, it will reflect the new value (for example, the Timing column value changed to the number you specified).
You are now able to re-run (play) the script and the change you made will be reflected accordingly for the event step.
The fields of information that are editable on the Edit Script Step pane of the Scripts panel will differ depending on the type of script event selected, as will the number of editable fields.
A logical next step after you've edited an event step in a script would be to upload it to replace the old script in axe Monitor. For complete details, see Upload a Script.
Delete a script event whenever you want to eliminate an event from a script. Deleting a script event removes the event from the
Scripts panel event table.
Before you begin: Events cannot be restored to a script after deletion.
Within the table row of the event you want to remove, click
context menu(ellipses) in the
Actionscolumn context menu, click
The event row is removed from the table in the content pane of the
Scriptingtab, and will no longer be included when you play the script again.
Related Topic: You can control which types of events are recorded by selecting options on the
Settings panel. For more information, see Select Event Recording Options.