On Fri, Jul 3, 2009 at 12:54 AM, Dylan mej...@gmail.com wrote:
font class=link title=Click Here onclick=javaScriptCommand
();Click Here/font
Try this:
browser.element_by_xpath(//fo...@title='Click Here']/).click
More information:
http://wiki.openqa.org/display/WTR/XPath
And you can always
I have just installed watir 1.6.2 and ruby 1.8.6. I have written the
following code to check the content on web page.
require 'test/unit'
require 'watir'
class GoogleHomePage Test::Unit::TestCase
def test_there_should_be_text_About_Google
browser = Watir::IE.start http://www.google.com;
You'll need the require statement, don't remove it.
Try updating your gem system with:
gem update --system
And failing that, try updating windows-pr with:
gem update windows-pr
I currently have version 0.9.6 installed and working fine with watir
1.6.2.
Regards,
John
Sure let me know where it fails
On Fri, Jul 3, 2009 at 5:28 PM, Gonza gonzalogte...@gmail.com wrote:
Works fine! After testing it for a while I can tell you It works! I've
several TCs, if any fails because jssh, I'll let you know.
Thanks,
Gonza
Hello Angrez,
To build the XPI, do you have to go through the whole Firefox building
process?
I've seen guides to build Firefox+JSSh, but I don't know if it creates the
extension file separately or not :)
I could try to build it for Linux.
FK
On Fri, Jul 3, 2009 at 9:44 AM, Angrez Singh