[wtr-general] Custom attributes within a table

2013-01-07 Thread janjos
I'm working with this html line:
 

And my goal is to save the data-path-user-status-id value into a variable 
and use it elsewhere in my test. 
Are there any guidelines for custom attributes within a table, using 
firefox?


Thanks!

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


[wtr-general] Re: Custom attributes within a table

2013-01-07 Thread Dan
Try something like this:

b.tr(:class => "pathUserRow").attribute_value "data-path-user-status-id"

Although you'll likely need to find some better way to identify the table 
row.

On Monday, January 7, 2013 2:19:30 PM UTC-5, janjos wrote:
>
> I'm working with this html line:
>  
>
> And my goal is to save the data-path-user-status-id value into a variable 
> and use it elsewhere in my test. 
> Are there any guidelines for custom attributes within a table, using 
> firefox?
>
>
> Thanks!
>

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


[wtr-general] Re: Chromedriver error when trying to run watir-webdriver

2013-01-07 Thread cslumension
Wanted to say I'm getting the same issue on my end as well.

New VMWare image with Win 7 Enterprise and ruby 1.9.3p327 (2012-11-10) 
[i386-mingw32].
Gem versions,
selenium-webdriver (2.27.2, 2.27.0)
watir-webdriver (0.6.2, 0.6.1)


irb(main):003:0> browser = Watir::Browser.new :chrome
Started ChromeDriver
port=9515
version=23.0.1240.0
log=C:\Users\\chromedriver.log
[2276:1524:0107/133101:ERROR:gpu_info_collector_win.cc(91)] Can't retrieve 
a valid WinSAT assessment.
=> #
irb(main):004:0> [0107/133102:ERROR:gl_surface_egl.cc(61)] eglInitialize 
failedwith error UNKNOWN
[0107/133102:ERROR:gl_surface_win.cc(54)] GLSurfaceEGL::InitializeOneOff 
failed.


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