So what do I do with a bunch of stand-alone scripts in Watir/Ruby?
First, convert them over to use with WET.
- require "WET"
- include Watir
- take out strange symbols to print out such as <>
- Instead of writing results to a file using a loop and the file.puts command, change it to use reporter().ReportGeneral("instructions here")
1. Open up WET and click on the TEST icon
2. Select New
3. Click on the top and rename it (this name is used as the title in your results)
Example: Purchase Transaction Tests
4. Under Transactions, click on First Transaction and rename it.
Example : Purchase with credit
On the right hand side, select "choose" and choose the script file you want to use.
5.Go to the menu, add transaction
