[wtr-general] malformed XML: missing tag start error

2009-08-13 Thread Marlon
Hi, who among you guys experience this kind of error? Sometimes my script is working, sometimes its not. Is there a workaround for this? Is this a problem with the site? 1) Error: Testcasename(Testsuitename): REXML::ParseException: #REXML::ParseException: malformed XML: missing tag start Line:

[wtr-general] Re: malformed XML: missing tag start error

2009-08-13 Thread Marlon Mojares
Problem solved! Just an issue on element locator used. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting,

[wtr-general] Re: Firefox 3.5 compatible with FireWatir?

2009-08-13 Thread Angrez Singh
Can you use the plug-ins provided here? http://wiki.openqa.org/display/WTR/FireWatir+Installation On Wed, Aug 12, 2009 at 10:29 PM, Tony Zanella tony.zane...@gmail.comwrote: Hello all, I work in an office with developers using Linux, Mac, and Windows boxes. We have a set of regression tests

[wtr-general] Re: Closing just tab (or window) with Firewatir

2009-08-13 Thread Angrez Singh
Make sure you have a setting to open link in new window instead of tab. Currently tabs are not supported. On Thu, Aug 13, 2009 at 12:51 AM, WilliamWallace stoltzeegoa...@gmail.comwrote: Hi all, First time posting. Forgive any mistakes please. I'm using Firewatir to test links on a page in

[wtr-general] Not able to run automatically a script automatically using rufus-scheduler

2009-08-13 Thread Maumita
I'm trying to use rufus-scheduler to run automatically a script in every 1 hr. But not able to do that.. This is the script - require 'rubygems' require 'rufus/scheduler' class Scheduler def start scheduler = Rufus::Scheduler.start_new scheduler.every '1h' do puts running test

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-13 Thread Durgesh Nadkarni
Hi Raveendran, I want to make sure that Previous link is disabled. So I need to use the second method given by you. But do I need to pass the parameter to it as shown below? assert(browser.link(:id,PageLinkDisabled).exists?) How can use the given method? Thanks Regards Durgesh. --- On

[wtr-general] Re: How to click the link in dynamically generated ajax content?

2009-08-13 Thread Raveendran P
Hi Durgesh, Are asking this code? check=browser.link(:id,PageLinkDisabled).enabled? if check == true It is Enabled. Continue your work else It is Disabled end If yes then just use it otherwise :) Thanks On Thu, Aug 13, 2009 at 6:19 PM, Durgesh Nadkarni fordurg...@yahoo.co.inwrote: Hi

[wtr-general] Re: Not able to run automatically a script automatically using rufus-scheduler

2009-08-13 Thread Michael Hwee
I think you need to use system(). system(ruby test1.rb) - Original Message From: Maumita maumita.majum...@gmail.com To: Watir General watir-general@googlegroups.com Sent: Thursday, August 13, 2009 3:26:52 AM Subject: [wtr-general] Not able to run automatically a script automatically

[wtr-general] Watir on Shoes

2009-08-13 Thread infoDrone
I'm trying to run Watir scripts from a Shoes app and the Shoes console keeps giving me a hoe requires RubyGems version = 1.3.1 error. I've tried the steps on http://tobiasbraner.de/blog/?p=19 (that's my comment at the bottom) but to no avail. I even tried using his sample program, no dice. Has

[wtr-general] Re: Can I get to a row with no id from a row with an id?

2009-08-13 Thread Steve
Dylan, I appreciate the help. Thanks for taking the time. Steve On Aug 12, 5:26 pm, Dylan mej...@gmail.com wrote: You can iterate through a table's rows with the .rows function. Using this, we can find out where your row with the id xyz is and add one: def nextRow(tbl,rowid)    i=0    

[wtr-general] nice PNSQC paper on security testing with Ruby/Watir

2009-08-13 Thread Chris
From Jim Knowlton, this showed up on Twitter just now, I read it over, very well done I think: http://docs.google.com/fileview?id=0B2VIeFg5LMV6NTZkMzM2MDktNDAyNC00ZTliLWI3MjAtYWE3OTJlYTk4YzA0hl=en Apparently this is a draft, and Knowlton is soliciting comments. @jimknowlton

[wtr-general] Re: nice PNSQC paper on security testing with Ruby/Watir

2009-08-13 Thread Charley Baker
That's pretty cool, I think it's very nicely done as well. -c On Thu, Aug 13, 2009 at 5:15 PM, Chris christopher.mcma...@gmail.comwrote: From Jim Knowlton, this showed up on Twitter just now, I read it over, very well done I think:

[wtr-general] Re: Not able to run automatically a script automatically using rufus-scheduler

2009-08-13 Thread Marlon
Hi, you forgot this line Scheduler.new.start require 'rubygems' require 'rufus/scheduler' class Scheduler   def start     scheduler = Rufus::Scheduler.start_new     scheduler.every '1h' do       puts running test       `ruby test1.rb`     end     scheduler.join   end end