Re: [wtr-general] Get value from the webpage

2012-06-22 Thread Gajendra Jain
Hi, I tried the following thing, but getting an error *HTML *Code dl class=col_3 dtAccount ID/dt ddINTRAWARE/dd dtSystem Account ID/dt dd7124712/dd dtAccount Name/dt ddIntraware, Inc/dd dtAccount Status/dt ddACTIVE/dd dtAccount Note/dt ddContent/dd dtNumber of Active Members/dt

[wtr-general] framesets in watir

2012-06-22 Thread sathiya
Hi, I am not able to click a link inside the framset the html is like this frame1 frame2 frame3 frameset1 frameset2 :Link to be selected when giving command ie.frame(:name,frame1).frame(:name,frame2).frame(:name,frame3).frame(:name,frameset1).frame(:name,frameset2).).link(:text, here is my

[wtr-general] Re: LIBMYSQL.dll error when trying to run watir scripts

2012-06-22 Thread sathiya
Hi, I had the same problem, copy the libmysql.dll from your Mysql/bin and copy it into ruby/bin i hope this will solve the issue regards Sathiyan D On Saturday, June 2, 2012 12:03:28 AM UTC+5:30, Joe Fl wrote: Hi, Does anyone know of an easy fix for this? Error Message The program

Re: [wtr-general] framesets in watir

2012-06-22 Thread Željko Filipin
On Fri, Jun 22, 2012 at 7:42 AM, sathiya sathiyan.m...@gmail.com wrote: I am not able to click a link inside the framset I think frameset can not contain html, just frames. Please provide minimal amount of html code that represents how the link is nested in framesets and frames. Željko --

Re: [wtr-general] already initialized constant

2012-06-22 Thread John Cena
Got it. There was something wrong in cucumber. Thanks for your help. Appreciate it. On Thursday, June 21, 2012 10:30:38 AM UTC-4, Željko Filipin wrote: On Thu, Jun 21, 2012 at 3:12 PM, John Cena pavaknsha...@gmail.com wrote: I tried to execute a simple Ruby code!!! It works fine. So the

Re: [wtr-general] already initialized constant

2012-06-22 Thread John Cena
Thanks for the links. I guess I can improve my cucumber skills with this. On Thursday, June 21, 2012 10:42:07 AM UTC-4, Oscar.Rieken wrote: Here is a really simple post i wrote up to get some of my team members up to speed with the basic idea of how to use cucumber and watir-webdriver.

[wtr-general] Re: Automating

2012-06-22 Thread Chuck van der Linden
I've heard of a lot of people that like Roo. Another gem is one just called 'spreadsheet' which seems to be based on an earlier (not maintained in a long while) gem called spreadsheet-excel http://rubygems.org/gems/spreadsheet I'd have a look at both that one and Roo, or the XLS.rb stuff,

[wtr-general] Re: wrong sequence in ruby unit test

2012-06-22 Thread Chuck van der Linden
On Wednesday, June 20, 2012 6:22:24 PM UTC-7, Doris Tian wrote: I got it, thank you so much, I will pay much attention to the following work. Here is a new hot problem blocked me, I was confused by this issue for several weeks. Could you take a look and give me some advice? Here is the

Re: [wtr-general] Get value from the webpage

2012-06-22 Thread Chuck van der Linden
On Thursday, June 21, 2012 12:08:16 AM UTC-7, gajendra wrote: Thanks. Could you please let me know how to create an HASH from the DL tag. OK, given the HTML looks like this dl class=col_3 dtAccount ID/dt ddINTRAWARE/dd dtSystem Account ID/dt dd7124712/dd dtAccount Name/dt

Re: [wtr-general] Get value from the webpage

2012-06-22 Thread Chuck van der Linden
The reason code like this puts $browser.dt(:text,Account ID).dd(:xpath,following- sibling::*).text is failing is because you are in effect saying, take this DT element I've identifed, look INSIDE it for a DD that is defined thusly But the DD is a sibling of the DT, not contained within