[wtr-general] Re: clicking image on mouse over to a table column using watir webdriver

2012-10-03 Thread Dan
Use the hover method. http://rubydoc.info/gems/watir-webdriver/Watir/Element:hover On Wednesday, October 3, 2012 6:11:33 PM UTC-4, Vamsi Agraharam wrote: > > Hi All, > > I will try my best to explain the situation here.I am trying to test an > XWT application with Watir webdriver framework. > >

[wtr-general] clicking image on mouse over to a table column using watir webdriver

2012-10-03 Thread Vamsi Agraharam
Hi All, I will try my best to explain the situation here.I am trying to test an XWT application with Watir webdriver framework. Here is the problem: I have a table and the first column of the table has a XWT quickview and the image is shown only on mouse over. I would like to click the image t

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Ry
ahhh, ok yeah. I will mark that for use in some other projects. With this one I am working I am left with unfortunate that they dont have a common www.someserver.com/ the pre-fix of the URL is different every time because it includes the dev ID and server they use and a ticket number somet

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Oscar Rieken
lets say you set an environment variable ENV['URL'] ||= "test" then when you call the url you can do something like browser.goto("www.someserver.com/#{ENV['URL']}/app_path/") so by default if you just do something like rspec it will go to "www.someserver.com/test/app_path/" but if you do

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Ry
Oscar, You've piqued my interest now. By your suggestion, are you refering to editing the script file prior to running? or some other way? Is there a link to some documentation to show me more about your suggestion? An example would greatly ensure my understanding. Thanks! Ryan On Wedne

Re: [wtr-general] select_list issue -> wrong number of arguments (1 for 0) (ArgumentError)

2012-10-03 Thread Dan
style="display:none;" on that select is your problem. You need to trigger whatever event is going to make that visible. Watir won't interact with an element that isn't visible to the user, because a real user wouldn't be able to do that either. On Wednesday, October 3, 2012 1:49:52 AM UTC-4,

Re: [wtr-general] Re: variable for a URL?

2012-10-03 Thread Oscar Rieken
if its a differnt url for every build depending on the changes in the url why not just pass that in to the url string at run time On Tue, Oct 2, 2012 at 8:48 PM, Ry wrote: > Would that work if URL changes a few times a day? We cut what we call a > release from development and the URL contains li