[wtr-general] Need to click on a link which has only the class name.

2011-06-15 Thread Mahesh
Hi, This is the source code, and i am using the if condition to extract the dynamic class name to extract the class name & click the link. The Watir script i am using is: if // begin ie.link(:class, $1).click rescue => e

[wtr-general] Re: Closing and opening IE session in watir.

2011-06-15 Thread b...@pettichord.com
I judged tested this and it worked for me. Could you please try again. If you still have a problem, please provide details of what you are seeing. Bret On Jun 9, 6:06 pm, Bhavesh wrote: > Hi, > > I tried to log a bug but then it default to Bamboo development if i > use this link : > > http://jir

Re: [wtr-general] Need to click on a link which has only the class name.

2011-06-15 Thread Ashok Tulachan
What's the source code for your link??? Ashok On Wed, Jun 15, 2011 at 2:27 AM, Mahesh wrote: > Hi, > > id=mainTabsId__CaseDetails> > > This is the source code, and i am using the if condition to extract > the dynamic class name to extract the class name & click the link. > > The Watir script i

[wtr-general] Re: watir scripts in windows scheduled task

2011-06-15 Thread chachster
I don't believe i have any js popups but I'll check that out, thanks for the suggestion! The weird thing is those 2 scripts seemed to work well when i had them on another server that crashed. Now it seems i had to stop using Timeout::Error and use Exception instead if i wanted my scripts to email

[wtr-general] Need to access the login window

2011-06-15 Thread Era
Hi, I am new in watir group and not very good in watir scripting. Please help me to write the script for the following scenario: There is one web application in which the user can access the main elements by logging into the account. But there is some issue in the login window. It sometimes asks

[wtr-general] Re: Need to click on a link which has only the class name.

2011-06-15 Thread Mahesh
Ashok, this is the source code: On Jun 15, 6:20 pm, Ashok Tulachan wrote: > What's the source code for your link??? > > Ashok > > > > On Wed, Jun 15, 2011 at 2:27 AM, Mahesh wrote: > > Hi, > > > > id=mainTabsId__CaseDetails> > > > This is the source code, and i am using the if condition to ex

Re: [wtr-general] watir-webdriver & firebug

2011-06-15 Thread a b
Thanks millions Jari! I working perfect, Cristina Dumitrescu crist...@dumitrescu.ca On Tue, Jun 14, 2011 at 5:07 PM, Jari Bakken wrote: > You can either > > (a) tell WebDriver to use your default profile: > > browser = Watir::Browser.new(:firefox, :profile => "default") > > (b) install the Fi

Re: [wtr-general] Re: Need to click on a link which has only the class name.

2011-06-15 Thread Ashok Tulachan
** ** Mahesh, If that's the link source code then, Try this, if ie.link(:class, "x-tab-strip-closable x-tab-with-icon x-tab-strip-active").exist? == true begin ie.link(:class, "x-tab-strip-closable x-tab-with-icon x-tab-strip-active").click rescue => e

[wtr-general] Re: Somewhat philosophical question about persistence of Watir's page object variables...

2011-06-15 Thread Abe Heward
Thanks, Chuck! -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com

Re: [wtr-general] Watir 1.9.0 released with full support for Ruby 1.8.7 and IE9

2011-06-15 Thread a b
Hi, gem install watir will install the latest release? Thanks On Tue, Jun 14, 2011 at 9:37 PM, Hugh McGowan wrote: > Hi all, > > Watir 1.9.0 has been released. This release includes: > > * Full support for IE9 > * Full support for Ruby 1.8.7 > * Remove Autoit (replaced with Rautomation) >

Re: [wtr-general] Watir 1.9.0 released with full support for Ruby 1.8.7 and IE9

2011-06-15 Thread Charley Baker
Yes. It's been pushed to the gem servers. -c On Wed, Jun 15, 2011 at 12:19 PM, a b wrote: > Hi, > gem install watir > > > will install the latest release? > > Thanks > > On Tue, Jun 14, 2011 at 9:37 PM, Hugh McGowan wrote: > >> Hi all, >> >> Watir 1.9.0 has been released. This release includes:

[wtr-general] Re: Need to click on a link which has only the class name.

2011-06-15 Thread Chuck van der Linden
On Jun 15, 12:27 am, Mahesh wrote: > Hi, > > id=mainTabsId__CaseDetails> > > This is the source code, and i am using the if condition to extract > the dynamic class name to extract the class name & click the link. > > The Watir script i am using is: > > if // >                 begin >            

[wtr-general] Re: Need to access the login window

2011-06-15 Thread Chuck van der Linden
On Jun 15, 5:12 am, Era wrote: > Hi, > > I am new in watir group and not very good in watir scripting. Please > help me to write the script for the following scenario: > > There is one web application in which the user can access the main > elements by logging into the account. But there is some i

[wtr-general] [Job] Looking for Boston area Watir test developer

2011-06-15 Thread chrism
I'm looking for someone to join our small, but awesome qa team. We're working on: http://www.brightcove.com/en/content-app-platform Oh, and you'd also be working with rspec, mongo, java(android), objective-c(ios) and jasmine. Send me a resume if you're interested. Thanks, Chris -- Before post

[wtr-general] Re: Jssh Socket error

2011-06-15 Thread Chuck van der Linden
On Jun 14, 3:02 am, V wrote: > Hi , I am also facing the same issue.But in Windows. > > C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/firewatir/ > jssh_socket.rb:19:in `js_eval':  this.docShell is null > (JsshSocket::JSTypeError) >     from c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.8.1/lib/f

[wtr-general] Re: Watir does not highlight accessed object?

2011-06-15 Thread Chengwei Lin
Yes, it works after I do as you said. Many thanks for your solution! On 5月26日, 下午6時26分, Sergey Erokhin wrote: > and last > as i understand > > if in element.rb replace >   alias style currentstyle > to >  def_wrap_guard :style > > all should work fine -- Before posting, please read http://watir