- Tried to run the firewatir/unittests/mozilla_all_tests.rb, but FIRST I had to change to "visible: true" and "browser: firefox" in options.yml and set "new window" inside Firefox/Tools/Options/Tabs/"New page should be opened in:". Got 312, 1661, 0, 0 in 154.494 seconds.
- Looks at the Firewatir Ruby code and found four methods of interest. jssh_command is used to collect the javascript commands; jssh_socket.send takes jssh_command and send it to the window; read_socket gets the return code from jssh_socket.send. Also js_eval is similar to jssh_socket.send.
- My Previous Wiki: http://sites.google.com/site/watironopensolaris/Home/jssh-xpi-for-linux
- My Previous "SolarWatir" Wiki Diary: http://sites.google.com/site/watironopensolaris/Home/watir-on-opensolaris/experiencecompilingopensolarisonvirtualbox
Thursday, March 12, 2009
Chapter 41: Watir (FireWatir Unit Tests)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment