Hi,
how would you automate following Javascript link in watir-webdriver?
a
href='javascript:selectDevice(122334455,12121212,#divAddCustomerLine);'Select/a
Thanks
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
What do you mean by automate? How to click on the element?
You can use usual method like:
browser.link(:text, Select).click
or if due any reason click method does not work:
browser.link(:text, Select).fire_event(onclick)
or
browser.link(:text, Select).fire_event(onmousedown)
On Wednesday,
Maybe, you can try
browser.div(:*id, idDiv_PWD_UsernameExample*).send_keys blah-blah
or
browser.div(:*id, idDiv_PWD_UsernameExample*).click
browser.send_keys blah-blah
That solution works for me perfectly (for text in divs)
On Saturday, February 2, 2013 8:19:11 PM UTC+2, mc060200778 wrote:
The same exception we get when IEDriver is not installed at all, so does
anybody has situation when driver stopped to respond or hanged up?
It should be reproducible whether you have more or less complex test suite
On Tuesday, February 5, 2013 1:27:16 PM UTC+2, Alex Shtayer wrote:
Env:
1.
Input is a parent class for all inputs (like buttons, checkboxes,
text_fields and etc), so if you can't use any sub-class of elements due you
input is a special one (like *input type=image*), you can use just
browser.input and watir will look for all inputs (buttons, checkboxes,
unusual and
Actually you can. And without any problem through usual
browser.window(:title=Browser title).use do
code
end
or even to sub-window
browser.window(:title=Browser title).use do
code
browser.window(:title=Browser title).use do
code
browser.window(:title=Browser title).use do
code
On watir through .attach method
on watir-webdriver through browser.window(title).use
On Friday, February 1, 2013 6:19:27 PM UTC+2, mc060200778 wrote:
Hi,
I wanted to know How to run watir script on an already opened Chrome
Browser.
I dont want to open new Chrome Instance. THe web
Thanks Alex, its working with me.
On Wed, Feb 6, 2013 at 1:18 PM, Alex Shtayer ashta...@gmail.com wrote:
What do you mean by automate? How to click on the element?
You can use usual method like:
browser.link(:text, Select).click
or if due any reason click method does not work:
On Mon, Feb 4, 2013 at 11:13 PM, Phuoc Can Hua h...@huaonline.com wrote:
I've got scripts which are running with IE6. Now I want to run them with
Firefox 18.
I haven't managed to get the browser launched.
Please read this:
Okay, so provide HTML that you see in IE developer tool
$ie.frame(:name,centent).present?
= true
but
$ie.frame(:name,centent).text_field(:name,validateDealer).present?
flase
so, maybe you have one more sub frame?
but it is really not good (it seems that frame is empty or what)
irb(main):015:0
On Fri, Feb 1, 2013 at 5:19 PM, Sohail Mirza mrz...@gmail.com wrote:
I wanted to know How to run watir script on an already opened Chrome
Browser.
If you opened the Chrome manually, then you can not automate it with Watir.
If your script opened another Chrome window, see this:
On Sat, Feb 2, 2013 at 5:45 PM, Jim Evans james.h.evans...@gmail.comwrote:
Additionally, a large use case for attaching to an existing browser window
is in manipulating popup browser windows[1], and WebDriver does provide a
Window API for that purpose. How watir-webdriver exploits that API, I
I automate such kind of things through AutoIT due pop-ups are not usual
window and cannot be attached or something
On Tuesday, July 17, 2012 8:32:27 AM UTC+3, Agung Surya wrote:
Hi,
I'm having a problem regarding access the new pop up in IE 9 using Watir
This pop up regarding the save or
I use Sikuli to handle such pop up windows. AutoIT is also a good alternative.
Joe
On Wed, Feb 6, 2013 at 6:53 AM, Alex Shtayer ashta...@gmail.com wrote:
I automate such kind of things through AutoIT due pop-ups are not usual
window and cannot be attached or something
On Tuesday, July 17,
General impression:
I created hundreds of cases for different functionality (in some cases
really complex one) on watir classic and firewatir. After that I spent last
six months to migrate everything on one platform (watir-webdriver) as it
helps me keep code for all browsers much more
Once more
http://code.google.com/p/selenium/wiki/ChromeDriver
Download and copy mentioned file for example in:
C:\Ruby193\bin
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Hi!
I just noticed that you had Ruby 1.9.3 vs 1.9.2 and Watir-Classic 3.3.0 vs
3.4.0 in your error messages.
Which one was it actually and why do they differ?
Can you try to copy the watir-classic gem's json2.js file over with the
contents of
Refer to:
http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
I am using solution #9 for more than 3 years and it works just fine
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Jarmo,
My apologies for the versioning miscommunication. My initial post and
initial error messages are correct with Ruby 1.9.3 and Watir-Classic 3.4.0,
but the line
json2.src='file:///C:/Ruby192/lib/ruby/gems/1.9.1/gems/watir-classic-3.3.0/lib/watir-classic/ext/json2.js';
is probably what
After installing firewatire and commented out following lines I managed to
get rid of all errors. Now my firefox is launched (with
Watir::Browser.new) :-)
require 'watir-webdriver'
require 'watir/contrib/enabled_popup'
Since I've launched IE with Watir::IE.new everything is no longer working
20 matches
Mail list logo