Install CubicTest+WatirWebdriver+Firefox

38 views
Skip to first unread message

Pablo Ganuza

unread,
Mar 7, 2011, 5:25:53 AM3/7/11
to cubictest-users
Hi there.

I've been trying for a couple of weeks but still can't figure out how
to do what I want or what am I doing wrong. My problems are:

1. Can't record with "Record Test with Selenium". I've found
http://groups.google.com/group/cubictest-users/browse_thread/thread/bfb2d5ce1efe3e90/a397cd996d9aa3fb?lnk=gst&q=chrome#a397cd996d9aa3fb
so could you tell me if www.tuenti.com does any of those two things?
Because if I set www.google.com as the start point my actions are
recorded, but if I go to www.tuenti.com it stops. Any workaround?

2. How to specify that I'm using Watir-Webdriver instead of Webdriver?
Right now I have to export the tests and manually change it (see diff
output).

3. How to specify that I'm using Firefox or Chrome? Right now I have
to export the tests and manually change it (see diff output). That
happens even when I set
SeleniumExporterPlugin.defaultBrowserType=*firefox on test-
project.properties file.

Diff output:
$ diff LoginCorrect.rb LoginCorrectMod.rb
2c2
< require 'watir'
---
> require 'watir-webdriver'
12,13c12
< ie = Watir::IE.new
< ie.speed = :fast
---
> ie = Watir::Browser.new :firefox


Thanks a lot in advance.
Reply all
Reply to author
Forward
0 new messages