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