Re: [wtr-general] Re: Cannot click on link using :href

2013-06-07 Thread Željko Filipin
On Fri, Jun 7, 2013 at 6:27 AM, Nikhil Nerkar nikhil.ner...@gmail.comwrote:

 Can you also suggest some good reference for learning Watir ?


You will find links to everything you need to know about Watir at
http://watir.com/, there are links to a couple of books at
http://watir.com/book/

Disclaimer: I am working on one of the books listed there.

Željko

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[wtr-general] Open local excel file and assert data

2013-06-07 Thread He Bing Lin
Can watir open local excel sheet file? then compare the data in a cell to a 
table data on the web? If watir cannot do it, is any other automation tools 
possible such as selenium etc. Thank you very much

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [wtr-general] Open local excel file and assert data

2013-06-07 Thread Al Snow
Try roo: 
http://3qilabs.com/2011/03/using-watir-and-roo-to-read-data-from-spreadsheets/

Date: Fri, 7 Jun 2013 08:56:05 -0700
From: peter...@gmail.com
To: watir-general@googlegroups.com
Subject: [wtr-general] Open local excel file and assert data

Can watir open local excel sheet file? then compare the data in a cell to a 
table data on the web? If watir cannot do it, is any other automation tools 
possible such as selenium etc. Thank you very much




-- 

-- 

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

 

--- 

You received this message because you are subscribed to the Google Groups 
Watir General group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 
  

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Open local excel file and assert data

2013-06-07 Thread He Bing Lin
Thanks alot i will check this out. will post my result later

On Friday, June 7, 2013 12:00:02 PM UTC-4, Al Snow wrote:

 Try roo: 
 http://3qilabs.com/2011/03/using-watir-and-roo-to-read-data-from-spreadsheets/

 --
 Date: Fri, 7 Jun 2013 08:56:05 -0700
 From: pete...@gmail.com javascript:
 To: watir-...@googlegroups.com javascript:
 Subject: [wtr-general] Open local excel file and assert data

 Can watir open local excel sheet file? then compare the data in a cell to 
 a table data on the web? If watir cannot do it, is any other automation 
 tools possible such as selenium etc. Thank you very much 
 -- 
 -- 
 Before posting, please read http://watir.com/support. In short: search 
 before you ask, be nice.
  
 watir-...@googlegroups.com javascript:
 http://groups.google.com/group/watir-general
 watir-genera...@googlegroups.com javascript:
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to watir-genera...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
  

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[wtr-general] Any fast ways to parse a table

2013-06-07 Thread Super Kevy
I have a table on a page with 7 columns of data that I need to match
against in order to click a button associated with row.
My current method is to do compares of the row data but it seems to
take forever to evaluate the 7 column match.
Any suggestions on how I can speed up validating a table row contains
the values I'm looking for?


-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[wtr-general] Re: Open local excel file and assert data

2013-06-07 Thread Super Kevy
I use xls.rb which works great with Excel. see  https://github.com/bash0C7/XLS
Its old, but allows range names to be used in the calls so as your
data sets grow or add columns you're not updating code only the excel
sheet.
It delivers a nice hash array.  where myExcel[1].fetch('Login')  would
return the value I want without regard to column or row index

| Login | Password | more |
|  | any | stuff |




On Jun 7, 12:07 pm, He Bing Lin peter...@gmail.com wrote:
 Thanks alot i will check this out. will post my result later







 On Friday, June 7, 2013 12:00:02 PM UTC-4, Al Snow wrote:

  Try roo:
 http://3qilabs.com/2011/03/using-watir-and-roo-to-read-data-from-spre...

  --
  Date: Fri, 7 Jun 2013 08:56:05 -0700
  From: pete...@gmail.com javascript:
  To: watir-...@googlegroups.com javascript:
  Subject: [wtr-general] Open local excel file and assert data

  Can watir open local excel sheet file? then compare the data in a cell to
  a table data on the web? If watir cannot do it, is any other automation
  tools possible such as selenium etc. Thank you very much
  --
  --
  Before posting, please readhttp://watir.com/support. In short: search
  before you ask, be nice.

  watir-...@googlegroups.com javascript:
 http://groups.google.com/group/watir-general
  watir-genera...@googlegroups.com javascript:

  ---
  You received this message because you are subscribed to the Google Groups
  Watir General group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to watir-genera...@googlegroups.com javascript:.
  For more options, visithttps://groups.google.com/groups/opt_out.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Open local excel file and assert data

2013-06-07 Thread Joe Fleck
Hi,

Watir can open a csv file which you save an excel file as.  Ruby alone can
to what you want and there is a gem that will work with excel.  You might
need to do google search for it.

Joe
On Jun 7, 2013 11:56 AM, He Bing Lin peter...@gmail.com wrote:

 Can watir open local excel sheet file? then compare the data in a cell to
 a table data on the web? If watir cannot do it, is any other automation
 tools possible such as selenium etc. Thank you very much

 --
 --
 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

 ---
 You received this message because you are subscribed to the Google Groups
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [wtr-general] Any fast ways to parse a table

2013-06-07 Thread Joe Fleck
Hi.

Can you post the html?

Joe
On Jun 7, 2013 4:36 PM, Super Kevy kpe...@scholarshipamerica.org wrote:

 I have a table on a page with 7 columns of data that I need to match
 against in order to click a button associated with row.
 My current method is to do compares of the row data but it seems to
 take forever to evaluate the 7 column match.
 Any suggestions on how I can speed up validating a table row contains
 the values I'm looking for?


 --
 --
 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

 ---
 You received this message because you are subscribed to the Google Groups
 Watir General group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
Watir General group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.