TestWise | StoryWise | LoadWise      

Validate and reformat test scripts

Validate test scripts

The test script used in TestWise (RWebSpec or Watir) is based on powerful (and growing popular) scripting language: Ruby.

Click the ‘reformat’ toolbar icon on the toolbar,

Warning: Sometimes the error line number shown is not where actually the syntax error is, as an error on previous lines may be only detected on later ones.

Note: Before a test executed, TestWise will try to save the script file and validate the script syntax (by default).

Reformat test scripts

Reformatting (or sometimes called: pretty printing) test scripts make them indent correctly, i.e., more readable.

Click the ‘reformat’ toolbar icon,

Result: