[wtr-general] Ignore browser zoom level

2018-01-31 Thread Pratik G V
Hello, Does anyone know on how to set the browser zoom level to 100% in the test script. When I try to open a browser, I get this error *Browser zoom level was set to 50%. It should be set to 100% (Selenium::WebDriver::Error::SessionNotCreatedError)*. I don't want to set the zoom level manuall

[wtr-general] unknown property or method: `readyState' HRESULT error code:0x80010108 The object invoked has disconnected from its clients. (NoMethodError)

2017-01-19 Thread Pratik G V
unknown property or method: `readyState' HRESULT error code:0x80010108 The object invoked has disconnected from its clients. (NoMethodError) I am getting the above error when executing in a virtual node through Jenkins. When I run the same in my local machine manually, there's no erro

[wtr-general] Modal dialog present: "" (Selenium::WebDriver::Error::UnhandledAlertError) error

2016-12-19 Thread Pratik G V
I am using Watir-WebDriver (0.9.1) with RAutomation to handle window model dialog. I am running this job in a VM on Jenkins. Scenario: I am trying to attach a file through window model dialog. When I click 'Add Attachments' link, window dialog pops-up, here I get *Modal dialog present: "" (Selen

[wtr-general] Re: Watir-Webdriver slow execution speed in FF 36

2016-10-24 Thread Pratik G V
Yeah, I was using Watir-classic for all the testcases to execute and to handle Windows Model dialog I had to switch to Watir-WebDriver 0.9.1. The execution is extremely slow, I am using IEDriverServer 2.53.1 32bit. I even tried with x64bit, but the speed didn't seem to change. I am using IE11.

[wtr-general] How do I click on an element partially behind another in IE?

2014-08-28 Thread C G Emerson
Hello All. I am new to Ruby/Watir/Webdriver and am having trouble getting Watir-Webdriver to recognize a click on an image in IE when the image is partially "behind" another image. The issue is the same using IE9 and IE10. Webdriver does successfully recognize the click in Firefox and Chrome, j

[wtr-general] How do I invoke a click on an image partially behind another image (higher z-index) in IE?

2014-08-28 Thread C G Emerson
Hello all. I am new to Ruby/Watir/Webdriver and am having trouble getting watir webdriver to recognize the click on an image in IE when the image is partially "behind" another image. I can get Webdriver to recognize the click in Firefox and Chrome, just not with IE9 (same issue in IE10 confirm

[wtr-general] Re: Unable to locate element

2009-05-20 Thread Kamesh G
HI Siva, My script is working fine. Main problem in the scripts was, all the objects are in the IFrame. I used the below command it is working fine. ie.frame(:id, "evaluationsIframe").link(:text, "New Evaluation").click Thanks, Kamesh On Wed, May 20, 2009 at 12:18 PM, sHiVa wrote: > > Hi K

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi, My ruby and watir having blow versions. ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] watir (1.6.2) and alos tried the below scenario b.link(:href, /userInbox/).click getting below error Scenario3.rb:25: undefined local variable or method `b' for main:Object (NameError) Thanks, Kam

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi Michael, All the objects are available Inside Table. Table is under Form. New Voice Record Thanks, Kamesh On Tue, May 19, 2009 at 9:04 PM, Michael Hwee wrote: > check to see the object is in a frame. > > -- > *From:* Kam

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
t > runs. You might discover that something earlier in your test is not > happening the way you think it is. > > Jim > > > On May 19, 10:34 am, Michael Hwee wrote: > > check to see the object is in a frame. > > > > > > From: Kame

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi James, I tried with the script having #. Still getting same error. c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in `assert_exists': Unable to locate element, using :href, "/inbox/userInbox.jspx#" (Watir::Exception::UnknownObjectException) from c:/ruby/lib/ruby/gems/1

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi Siva, I tried with below scenario. In this case my previous statement getting failed. EX: My script having follwoing statements. once i have included 4th script i am getting be ie.select_list(:id, "selectOneChoice1").set("Evaluate") ie.select_list(:id, "selectOneChoice1").click ie.link(:text

[wtr-general] Re: Help! Ext treegrid unable to select row

2009-05-19 Thread G
I'm working with ExtJS Desktop interface here. Not sure if it's the same, but on their 'grid' elements, I'm using .fireevent("onmousedown") - but it did take some time to find the right bit. I think the code you've put up is ext specific code? I tend to do a browser.html for the 'useful' DOM, the

[wtr-general] Re: Unable to locate element

2009-05-19 Thread Kamesh G
Hi , I have tried with all the three options. Still i am getting same error message Thanks, Kamesh On Tue, May 19, 2009 at 7:37 PM, Željko Filipin wrote: > On Tue, May 19, 2009 at 3:44 PM, Kamesh wrote: > > ie.link(:href, "/faces/faces/client/inbox/userInbox.jspx").click > > I think that Int

[wtr-general] Re: Help needed in automation using Watir

2009-05-19 Thread G
I've been using Watir to write tools for the ExtJS desktop environment. In this; every time anything is done, random IDs are generated, which makes it 'challenging'. Luckily, most similar elements (for instance form text entry fields) are the same. So I've designed a set of functions which search

[wtr-general] Re: Using Watir to test ExtJS?

2009-02-11 Thread G
tir it works in IE and Firefox. One of our developers got it working fine in Firefox on her Mac, so I'm just trying to get Firewatir working (either on my Mac or PC) and will post up a new question about that if it is an incostitancy. G On Feb 10, 11:03 am, sai wrote: > I am able to work on thi

[wtr-general] Re: Using Watir to test ExtJS?

2009-02-09 Thread G
Got that bit sorted, now having problems with the 'Start' button; I'll updated the post when I've figured out more in case anyone else has the same issues. On Feb 9, 9:48 am, G wrote: > Hi, > > New to this group, though I've occasionally dabbled in Watir i

[wtr-general] Using Watir to test ExtJS?

2009-02-09 Thread G
ifferent random number on the end each time However I'm not sure so far if it's possible to extract this with Watir as it's sent with AJAX; presumably if I can get to this code, the searching through it shouldn't be a problem. Any ideas if this sho