While running the testcase in Watir if an Exception is encountered, I
program quits at that point.
How can we handle exception in Watir
Thanks,
Vishal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General
require 'watir'
require 'watir/testcase'
class Test1 Watir::TestCase
def test1
end
def test2
end
end
When there is exception in test1, test2 will still run.
Expect it could work.
Thanks.
Wesley Chen.
On Thu, Sep 17, 2009 at 3:02 PM, Vishal bvkon...@gmail.com wrote:
I'm not too sure what you mean by verifying that span elements are
required but you could identify the two separate elements in two ways:
1) Use the second property :index. So, it would something like
@browser.span(:class = reqempty, :index = 1) and @browser.span
(:class = reqempty, :index = 2).
On Wed, Sep 16, 2009 at 8:58 PM, dk dkora...@gmail.com wrote:
PS: i am new to this group - please let me know if i need to start a
different discussion thread.
If it is a new topic, please start a new thread.
Željko
--~--~-~--~~~---~--~~
You received this
Hi,
I am not able to tun a .rb script through rufus scheduler.Nothing
happens.No message,
Please find belo my scheduler script -
-
### Script to schedule a job using rufus-scheduler
require 'rubygems'
require 'rufus/sc/scheduler'
class Scheduler
def start
scheduler =
adding java script for this pop-up windows:
a onclick=javascript:openViewPromoPopup('https://teststore.t-
suite.telstra.com:443/jsdn/shoppingcart/viewShoppingCartPromotion.do?
offerId=2001830isOrderMore=falseactiveCount=1','false');return
false; href=
img border=0 alt=Apply promotion title=Apply
4432 (20090917) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32 Antivirus, version of virus
signature database 4434 (20090917) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Hello Anna,
Works perfect!! so simple and brilliant
The code looks like this:
ie.div(:id, 'resultsList').lis.each do |element|
puts element.link(:url ,/job/).text
puts element.span(:class, 'jobSearchJobListedDate').text
puts element.ps[1].text.to_s
end
Only 2 problems left:
1).
From what i have done is, Firewatir is compatible with ruby 1.9.1 on ubuntu.
still i was unable to use Ruby 1.9.1 on windows that comfortably. I
guess Watir with Ruby 1.9.1 might be on the way once we have a stable
One click installer for Window, the highest priority for the ruby
community right
Hi people !
I am working on a code with a lot of java script that make ajax calls
very often. I read and tried the wait options for Watir ( sleep,
wait_until etc. on http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir)
but they dont seem to work with Firewatir. sleep has no effect while
Hi,
We're using an editable div, and we need to be able to set its contents using
Watir (in IE). What's the best way to do that?
It doesn't seem to respond to IE.text_field(...)... And IE.div(...).innerHTML
does not work (nor set).
(this syntax)
div contenteditable=true/div
Thanks,
Brian
Can you post the html code of this page?
Are there any frames outside the div?
On Fri, Sep 18, 2009 at 5:34 AM, Brian Rosenthal brosent...@facebook.comwrote:
Hi,
We’re using an “editable div”, and we need to be able to set its contents
using Watir (in IE). What’s the best way to do that?
Why not use Javascript commands,
there is a technique to insert/execute javascript commands as well,
that would be a better direct way
http://karimnumerouno.wordpress.com
On Fri, Sep 18, 2009 at 10:45 AM, Prajakta Jadhav
jadhav.praja...@gmail.com wrote:
Can you post the html code of this
13 matches
Mail list logo