Thanks for the information, I would use Rspec instead of test/unti
I also wanted some particular format in which I could keep all my test
in different .rb files and could call them in one main file where in I
would use before(:all)/after(:all)
I tried this ::
require 'rubygems'
require '
On Sun, Mar 18, 2012 at 11:40 PM, Ankita Gupta
wrote:
> I have 5 test scripts and I wanted to run those in single browser
> session but do not know how to do that.
As far as I remember, test/unit's setup/teardown methods run before/after
_each_ test. If you can use RSspec, it has before(:all)/aft
I have 5 test scripts and I wanted to run those in single browser
session but do not know how to do that. If someone could help me out
would be great..
All my script has following format
require 'rubygems'
require 'test/unit'
require 'watir-webdriver'
require 'watir-webdriver/wait'
class
def
I have 5 test scripts and I wanted to run those in single browser
session but do not know how to do that. If someone could help me out
would be great..
All my script has following format
require 'rubygems'
require 'test/unit'
require 'watir-webdriver'
require 'watir-webdriver/wait'
class
def
try something like frame = ie.frame(:id=>'fraMagnum')
text_box =
frame.text_field( id=>"Submitted-From_txt")
(make sure you use :id not :name for the frame)
You may still run into problems as the input may not resolve as a textfield
but if you can get the frame object,
Hi All,
I have been working on a web application test automation project. As per
the project requirement I need a method to be executed before beginning of
my set test-case methods and another method to be executed at the end of
all the test-case method. You can consider those to methods to be
and you can do that with regular Watir too now:
gem install watir --pre
And use the same syntax Željko provided :)
Jarmo Pertman
-
IT does really matter - http://itreallymatters.net
On Mar 8, 10:37 pm, Željko Filipin wrote:
> On Thu, Mar 8, 2012 at 2:38 AM, anurag wrote:
> > Can anyone tel
If using an AutoIt adapter doesn't help you too then that means the
problem has to be somewhere deeper and i'm not sure how to go forward
with this without being able to reproduce it and debug it.
You could try focusing the field and using #send_keys, maybe these
would give you different results:
Hello everyone!
I'm happy to announce that another version of Watir has been just released -
3.0.rc3.
Its biggest goal is to conform even better with WatirSpec making it more
compliant with Watir-WebDriver.
Changelog:
* all html elements are now supported (even html5 ones)
* CookieManager remove