# Local testing

Actions can be tested locally with the application.

# Requirements

  • App (at least the 5066 version). Windows version recommended.
  • The App should not run while testing Actions.

# How to test

  • Go into your App folder (C:\OtohitsNetwork\OtohitsApp if the installer was used)
  • Create an actions.txt file
  • Open the file with a text editor
  • You will need to specify the start URL with setStartUrl
  • You can then write your actions, one per line
  • Once done, save the file
  • Open OtohitsViewer.exe (otohits-viewer on Linux)
  • A window should open and actions will start to be executed

The window is not closed automatically. You should close it when actions are executed and the result file is created.

# How to get Actions results

When all actions are executed, a file will be written with actions details.

Results can be found inside the actions/ folder in you App folder.

All session of test will contains the Actions made, their results and the time they were executed (relative to the load of the first URL).