Re: [wtr-general] Watir - How to call browser.goto from another file

2022-03-24 Thread 'John Fitisoff' via Watir General
 Replace all hard-coded instance of the the URLs with a variable or a constant. 
Store that different URLs in a hash in a file. Something like this:
URLS = {  dev: 'https://url1.com',  prod: 'https://url2.com'}
Then, in whatever you're using to run the script, add an option to specify the 
environment when running. one way to do it would be to use ARGV. Then run the 
script for the environment, let's say you want "dev":
myscript.rb dev
In the script, assuming that you have access to the URLS constant defined 
above, then you could then get the URL associated with the environment you 
specified at the command line by doing something like this:
TARGET_URL = URLS[ARGV[0].to_sym] 
And then use TARGET_URL wherever you need to call goto in place of the 
hard-coded URL.
There are better ways of doing this but it sounds like you're just looking for 
ideas to start organizing, HTH.
John
On Thursday, March 24, 2022, 08:22:34 AM PDT, perg...@gmail.com 
 wrote:  
 
 Hi,
I'm using watir ruby for my testing I have quite lot f script written for a 
website and sometimes I have test in different environment like UAT or DEV 
site. At the moment my setup method below are in the same file as my test 
scripts. @browser  = Waitr::Browser.new. @browser.goto "https"
I want to be able to change the goto website just one time instead going to 
each file to change it everytime. I have tried move the above code to a 
different file and use the require ''" method in the test script file but 
it doesn't work. 
Any advice on how can to call the @browser.goto from another file? 
Thanks
   

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.
 
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/74dc7e5e-6138-47ca-9422-9e2ee41f1e10n%40googlegroups.com.
  

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/1941191164.154348.1648180045768%40mail.yahoo.com.


[wtr-general] Watir - How to call browser.goto from another file

2022-03-24 Thread perg...@gmail.com
Hi,

I'm using watir ruby for my testing I have quite lot f script written for a 
website and sometimes I have test in different environment like UAT or DEV 
site. At the moment my 
setup method below are in the same file as my test scripts. 
@browser  = Waitr::Browser.new. 
@browser.goto "https"

I want to be able to change the goto website just one time instead going to 
each file to change it everytime. I have tried move the above code to a 
different file and use the require ''" method in the test script file 
but it doesn't work. 

Any advice on how can to call the @browser.goto from another file? 

Thanks

   

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/74dc7e5e-6138-47ca-9422-9e2ee41f1e10n%40googlegroups.com.


Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-11-25 Thread Champ
Hello, is there any update on this?

On Tuesday, September 8, 2020 at 1:59:32 PM UTC-4 titusf...@gmail.com wrote:

> Yes, things just got tricky with a dev dependency I wanted to fix first 
> before releasing. I'll bump this up in priority. Thanks. 
>
> On Tue, Sep 8, 2020 at 10:25 AM Champ  wrote:
>
>> Is there a plan to release new version of watir that allows using 
>> Selenium 4alpha soon?
>>
>> On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com 
>> wrote:
>>
>>> Oh, except I need to release a version of Watir that allows using 
>>> Selenium 4alpha
>>>
>>> On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote:
>>>
 Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling 
 the new chromium edge.

 You can file an issue with this information on Selenium github tracker.
 https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md

 The best way forward right now is to update to Selenium 4 alpha.
 4.0.0.alpha6 requires you to use `:edge_chrome` instead of just 
 `:edge`; this will change whenever we release 4.0.0.alpha7

 On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:

> Here is the stacktrace with selenium logging ON.
>
> >ruby google_edge.rb
> 2020-09-02 10:32:12 INFO Selenium -> POST session
> 2020-09-02 10:32:12 INFO Selenium>>> 
> http://127.0.0.1:17556/session | 
> {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
> 2020-09-02 10:32:15 INFO Selenium <- 
> {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
>  
> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
>  
> and 
> notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
> 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
> 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
> 2020-09-02 10:32:15 INFO Selenium -> POST 
> session/42611dc953d38632f3646f4e14ccc088/url
> 2020-09-02 10:32:15 INFO Selenium>>> 
> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
> {"url":"https://google.com"}
> 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
> 2020-09-02 10:32:17 INFO Selenium -> POST 
> session/42611dc953d38632f3646f4e14ccc088/element
> 2020-09-02 10:32:17 INFO Selenium>>> 
> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element 
> | {"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
> (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà 
> ÃŽÃ 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà 
> ÃŽÃ 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà 
> ÃŽÃ 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà 
> ÃŽÃ 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-08 Thread Titus Fortner
Yes, things just got tricky with a dev dependency I wanted to fix first
before releasing. I'll bump this up in priority. Thanks.

On Tue, Sep 8, 2020 at 10:25 AM Champ  wrote:

> Is there a plan to release new version of watir that allows using Selenium
> 4alpha soon?
>
> On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com
> wrote:
>
>> Oh, except I need to release a version of Watir that allows using
>> Selenium 4alpha
>>
>> On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote:
>>
>>> Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling
>>> the new chromium edge.
>>>
>>> You can file an issue with this information on Selenium github tracker.
>>> https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md
>>>
>>> The best way forward right now is to update to Selenium 4 alpha.
>>> 4.0.0.alpha6 requires you to use `:edge_chrome` instead of just `:edge`;
>>> this will change whenever we release 4.0.0.alpha7
>>>
>>> On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:
>>>
 Here is the stacktrace with selenium logging ON.

 >ruby google_edge.rb
 2020-09-02 10:32:12 INFO Selenium -> POST session
 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session
 |
 {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
 2020-09-02 10:32:15 INFO Selenium <-
 {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
 (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
 and
 notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
 2020-09-02 10:32:15 INFO Selenium -> POST
 session/42611dc953d38632f3646f4e14ccc088/url
 2020-09-02 10:32:15 INFO Selenium>>>
 http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url |
 {"url":"https://google.com"}
 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
 2020-09-02 10:32:17 INFO Selenium -> POST
 session/42611dc953d38632f3646f4e14ccc088/element
 2020-09-02 10:32:17 INFO Selenium>>>
 http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element
 | {"using":"xpath","value":".//*[local-name()='input'][not(@type) or
 (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà ÎÃ
 à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽÅ
 Å’','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and
 translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà ÎÃ
 à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽÅ
 Å’','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and
 translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà ÎÃ
 à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽÅ
 Å’','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and
 translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà ÎÃ
 à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽÅ
 Å’','abcdefghijklmnopqrstuvwxyzÃ
 áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and
 translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÃ

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-08 Thread Champ
Is there a plan to release new version of watir that allows using Selenium 
4alpha soon?

On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com 
wrote:

> Oh, except I need to release a version of Watir that allows using Selenium 
> 4alpha
>
> On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote:
>
>> Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling 
>> the new chromium edge.
>>
>> You can file an issue with this information on Selenium github tracker.
>> https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md
>>
>> The best way forward right now is to update to Selenium 4 alpha.
>> 4.0.0.alpha6 requires you to use `:edge_chrome` instead of just `:edge`; 
>> this will change whenever we release 4.0.0.alpha7
>>
>> On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:
>>
>>> Here is the stacktrace with selenium logging ON.
>>>
>>> >ruby google_edge.rb
>>> 2020-09-02 10:32:12 INFO Selenium -> POST session
>>> 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session 
>>> | 
>>> {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
>>> 2020-09-02 10:32:15 INFO Selenium <- 
>>> {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
>>>  
>>> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
>>>  
>>> and 
>>> notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
>>> 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
>>> 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
>>> 2020-09-02 10:32:15 INFO Selenium -> POST 
>>> session/42611dc953d38632f3646f4e14ccc088/url
>>> 2020-09-02 10:32:15 INFO Selenium>>> 
>>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
>>> {"url":"https://google.com"}
>>> 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
>>> 2020-09-02 10:32:17 INFO Selenium -> POST 
>>> session/42611dc953d38632f3646f4e14ccc088/element
>>> 2020-09-02 10:32:17 INFO Selenium>>> 
>>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element 
>>> | {"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
>>> (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('reset','ABCDEFGHI

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Thank you for the update. 

On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com 
wrote:

> Oh, except I need to release a version of Watir that allows using Selenium 
> 4alpha
>
> On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote:
>
>> Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling 
>> the new chromium edge.
>>
>> You can file an issue with this information on Selenium github tracker.
>> https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md
>>
>> The best way forward right now is to update to Selenium 4 alpha.
>> 4.0.0.alpha6 requires you to use `:edge_chrome` instead of just `:edge`; 
>> this will change whenever we release 4.0.0.alpha7
>>
>> On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:
>>
>>> Here is the stacktrace with selenium logging ON.
>>>
>>> >ruby google_edge.rb
>>> 2020-09-02 10:32:12 INFO Selenium -> POST session
>>> 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session 
>>> | 
>>> {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
>>> 2020-09-02 10:32:15 INFO Selenium <- 
>>> {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
>>>  
>>> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
>>>  
>>> and 
>>> notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
>>> 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
>>> 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
>>> 2020-09-02 10:32:15 INFO Selenium -> POST 
>>> session/42611dc953d38632f3646f4e14ccc088/url
>>> 2020-09-02 10:32:15 INFO Selenium>>> 
>>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
>>> {"url":"https://google.com"}
>>> 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
>>> 2020-09-02 10:32:17 INFO Selenium -> POST 
>>> session/42611dc953d38632f3646f4e14ccc088/element
>>> 2020-09-02 10:32:17 INFO Selenium>>> 
>>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element 
>>> | {"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
>>> (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>>> Œ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('reset','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>>  
>>> ÂÃÄÅÆÇÈÉÊËÌà Îà à Ã

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Oh, except I need to release a version of Watir that allows using Selenium 
4alpha

On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote:

> Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling 
> the new chromium edge.
>
> You can file an issue with this information on Selenium github tracker.
> https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md
>
> The best way forward right now is to update to Selenium 4 alpha.
> 4.0.0.alpha6 requires you to use `:edge_chrome` instead of just `:edge`; 
> this will change whenever we release 4.0.0.alpha7
>
> On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:
>
>> Here is the stacktrace with selenium logging ON.
>>
>> >ruby google_edge.rb
>> 2020-09-02 10:32:12 INFO Selenium -> POST session
>> 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session 
>> | 
>> {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
>> 2020-09-02 10:32:15 INFO Selenium <- 
>> {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
>>  
>> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
>>  
>> and 
>> notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
>> 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
>> 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
>> 2020-09-02 10:32:15 INFO Selenium -> POST 
>> session/42611dc953d38632f3646f4e14ccc088/url
>> 2020-09-02 10:32:15 INFO Selenium>>> 
>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
>> {"url":"https://google.com"}
>> 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
>> 2020-09-02 10:32:17 INFO Selenium -> POST 
>> session/42611dc953d38632f3646f4e14ccc088/element
>> 2020-09-02 10:32:17 INFO Selenium>>> 
>> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element 
>> | {"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
>> (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>  
>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>> Œ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>  
>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>> Œ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>  
>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>> Œ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>  
>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>> Œ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
>> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('reset','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>>  
>> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
>> Œ','abcdefghijklmnopqrstuvwxyzà 
>> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
>> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVW

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling the 
new chromium edge.

You can file an issue with this information on Selenium github tracker.
https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md

The best way forward right now is to update to Selenium 4 alpha.
4.0.0.alpha6 requires you to use `:edge_chrome` instead of just `:edge`; 
this will change whenever we release 4.0.0.alpha7

On Wednesday, September 2, 2020 at 7:37:02 AM UTC-7 Champ wrote:

> Here is the stacktrace with selenium logging ON.
>
> >ruby google_edge.rb
> 2020-09-02 10:32:12 INFO Selenium -> POST session
> 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session | 
> {"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
> 2020-09-02 10:32:15 INFO Selenium <- 
> {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
>  
> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
>  
> and 
> notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
> 2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
> 2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
> 2020-09-02 10:32:15 INFO Selenium -> POST 
> session/42611dc953d38632f3646f4e14ccc088/url
> 2020-09-02 10:32:15 INFO Selenium>>> 
> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
> {"url":"https://google.com"}
> 2020-09-02 10:32:17 INFO Selenium <- {"value":null}
> 2020-09-02 10:32:17 INFO Selenium -> POST 
> session/42611dc953d38632f3646f4e14ccc088/element
> 2020-09-02 10:32:17 INFO Selenium>>> 
> http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element | 
> {"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
> (translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('reset','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
> Œ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
> translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà 
> à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠŒ','abcdefghijklmnopqrstuvwxyzà 
> áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('image','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
>  
> ÂÃÄÅÆÇ

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Here is the stacktrace with selenium logging ON.

>ruby google_edge.rb
2020-09-02 10:32:12 INFO Selenium -> POST session
2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session | 
{"desiredCapabilities":{"browserName":"MicrosoftEdge","version":"","platform":"WINDOWS","javascriptEnabled":false,"cssSelectorsEnabled":false,"takesScreenshot":false,"nativeEvents":false,"rotatable":false,"edgeOptions":{"args":["--start-maximized"],"w3c":true}},"capabilities":{"firstMatch":[{"browserName":"MicrosoftEdge"}]}}
2020-09-02 10:32:15 INFO Selenium <- 
{"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"msedge","browserVersion":"85.0.564.44","ms:edgeOptions":{"debuggerAddress":"localhost:55594"},"msedge":{"msedgedriverVersion":"85.0.564.44
 
(3b106b45f8e7cd4c3e2aac5a6ba411645c16df60)","userDataDir":"C:\\Users\\abcd\\AppData\\Local\\Temp\\scoped_dir7340_637088237"},"networkConnectionEnabled":false,"pageLoadStrategy":"normal","platformName":"windows","proxy":{},"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":30,"script":3},"unhandledPromptBehavior":"dismiss
 
and 
notify","webauthn:virtualAuthenticators":true},"sessionId":"42611dc953d38632f3646f4e14ccc088"}}
2020-09-02 10:32:15 INFO Selenium Detected W3C dialect.
2020-09-02 10:32:15 INFO Selenium Forcing W3C dialect.
2020-09-02 10:32:15 INFO Selenium -> POST 
session/42611dc953d38632f3646f4e14ccc088/url
2020-09-02 10:32:15 INFO Selenium>>> 
http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/url | 
{"url":"https://google.com"}
2020-09-02 10:32:17 INFO Selenium <- {"value":null}
2020-09-02 10:32:17 INFO Selenium -> POST 
session/42611dc953d38632f3646f4e14ccc088/element
2020-09-02 10:32:17 INFO Selenium>>> 
http://127.0.0.1:17556/session/42611dc953d38632f3646f4e14ccc088/element | 
{"using":"xpath","value":".//*[local-name()='input'][not(@type) or 
(translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('file','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('radio','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('checkbox','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('submit','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('reset','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('image','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJKLMNOPQRSTUVWXYZÀà ÂÃÄÅÆÇÈÉÊËÌà Îà à 
ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ')!=translate('button','ABCDEFGHIJKLMNOPQRSTUVWXYZÀÃ
 ÂÃÄÅÆÇÈÉÊËÌà Îà à ÑÒÓÔÕÖØÙÚÛÜà ÞŸŽŠ
Œ','abcdefghijklmnopqrstuvwxyzà 
áâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿžšœ') and 
translate(@type,'ABCDEFGHIJ

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
No, I think Google is just being more backward compatible right now, which
isn't a bug for microsoft, but for the software calling a bad endpoint. So
it could be a Watir Bug.
Can you turn on the Selenium logging and show me the full log/stacktrace
for the offending section?
`Watir.logger.selenium = :info`




On Wed, Sep 2, 2020 at 7:18 AM Champ  wrote:

> Thank you for the response. This works fine on chrome browser with w3c set
> to true.
>
> However, on Edge chromium if I set W3C to true, I get this error. It looks
> like a bug in Edge driver?
>
> *Backtrace:: unknown command: Cannot call non W3C standard command while
> in W3C mode (Selenium::WebDriver::Error::UnknownCommandError)*
>
> from Ordinal0 [0x7FF66AAB8F72+4099954]
> from Ordinal0 [0x7FF66A98E439+2876473]
> from Ordinal0 [0x7FF66A800227+1245735]
> from Ordinal0 [0x7FF66A757300+553728]
> from Ordinal0 [0x7FF66A75824E+557646]
> from Ordinal0 [0x7FF66A9AAA66+2992742]
> from GetHandleVerifier [0x7FF66ABFB5D3+1202179]
> from GetHandleVerifier [0x7FF66AC10371+1287585]
> from GetHandleVerifier [0x7FF66ABFC227+1205335]
> from Ordinal0 [0x7FF66A99F3A1+2945953]
> from Ordinal0 [0x7FF66A9AC8A9+3000489]
> from Ordinal0 [0x7FF66A9C14D8+3085528]
> from BaseThreadInitThunk [0x7FFD1ED07BD4+20]
> from RtlUserThreadStart [0x7FFD1F36CE51+33]
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
> `assert_ok'
>
> On Wednesday, September 2, 2020 at 9:40:20 AM UTC-4 titusf...@gmail.com
> wrote:
>
>> Is there a reason you are setting w3c to false? (if you are testing on
>> Chromium > 75 you should be using w3c)
>>
>> Try setting w3c to true, and if it doesn't work, try running it with
>> Chrome. If things are still failing, we'll have to figure out the right bug
>> report for the chromedriver/chromium teams.
>>
>> On Tue, Sep 1, 2020 at 10:46 AM Champ  wrote:
>>
>>> I am using the below code to start using Watir-webdriver with Edge
>>> Chromium browser. I have the right versions and drivers. It launches the
>>> browser and opens the url.
>>> But I get the following error when I try to interact with the
>>> browser(set, .present? etc.)
>>>
>>> Any pointers/fixes are really appreciated.
>>>
>>>
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in*
>>> `assert_ok': javascript error: a.getAttributeNode is not a function
>>> (Selenium::WebDriver::Error::JavascriptError)*
>>>
>>> Here is the code:
>>>
>>> *require* 'watir'
>>> *require* 'selenium-webdriver'
>>>
>>> Selenium::WebDriver::Edge::Service.driver_path *=*
>>>  "c:/drivers/msedgedriver.exe"
>>>
>>> $browser *=* Watir::Browser.*new*
>>>  :edge, "edgeOptions" => {"args" => [ "--start-maximized" ], "w3c" => false}
>>>
>>> $browser.goto("https://google.com";)
>>>
>>> $browser.text_field(:name=>"q").set("watir")
>>>
>>> ===
>>>
>>> Full stacktrace below:
>>>
>>> >ruby google_edge.rb
>>>
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
>>> `assert_ok': javascript error: a.getAttributeNode is not a function
>>> (Selenium::WebDriver::Error::JavascriptError)
>>>
>>>   (Session info: MicrosoftEdge=85.0.564.44)
>>>
>>>   (Driver info: msedgedriver=85.0.564.44
>>> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60),platform=Windows NT 10.0.18363
>>> x86_64)
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:34:in
>>> `initialize'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
>>> `new'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
>>> `create_response'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:114:in
>>> `request'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:64:in
>>> `call'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/bridge.rb:167:in
>>> `execute'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
>>> `execute'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:305:in
>>> `execute_script'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/atoms.rb:32:in
>>> `execute_atom'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:476:in
>>> `element_attribute'
>>>
>>> from
>>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/g

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Thank you for the response. This works fine on chrome browser with w3c set 
to true.

However, on Edge chromium if I set W3C to true, I get this error. It looks 
like a bug in Edge driver?

*Backtrace:: unknown command: Cannot call non W3C standard command while in 
W3C mode (Selenium::WebDriver::Error::UnknownCommandError)*

from Ordinal0 [0x7FF66AAB8F72+4099954]
from Ordinal0 [0x7FF66A98E439+2876473]
from Ordinal0 [0x7FF66A800227+1245735]
from Ordinal0 [0x7FF66A757300+553728]
from Ordinal0 [0x7FF66A75824E+557646]
from Ordinal0 [0x7FF66A9AAA66+2992742]
from GetHandleVerifier [0x7FF66ABFB5D3+1202179]
from GetHandleVerifier [0x7FF66AC10371+1287585]
from GetHandleVerifier [0x7FF66ABFC227+1205335]
from Ordinal0 [0x7FF66A99F3A1+2945953]
from Ordinal0 [0x7FF66A9AC8A9+3000489]
from Ordinal0 [0x7FF66A9C14D8+3085528]
from BaseThreadInitThunk [0x7FFD1ED07BD4+20]
from RtlUserThreadStart [0x7FFD1F36CE51+33]
from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
 
`assert_ok'

On Wednesday, September 2, 2020 at 9:40:20 AM UTC-4 titusf...@gmail.com 
wrote:

> Is there a reason you are setting w3c to false? (if you are testing on 
> Chromium > 75 you should be using w3c)
>
> Try setting w3c to true, and if it doesn't work, try running it with 
> Chrome. If things are still failing, we'll have to figure out the right bug 
> report for the chromedriver/chromium teams.
>
> On Tue, Sep 1, 2020 at 10:46 AM Champ  wrote:
>
>> I am using the below code to start using Watir-webdriver with Edge 
>> Chromium browser. I have the right versions and drivers. It launches the 
>> browser and opens the url.
>> But I get the following error when I try to interact with the 
>> browser(set, .present? etc.)
>>
>> Any pointers/fixes are really appreciated.
>>
>>
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in*
>>  
>> `assert_ok': javascript error: a.getAttributeNode is not a function 
>> (Selenium::WebDriver::Error::JavascriptError)*
>>
>> Here is the code:
>>
>> *require* 'watir'
>> *require* 'selenium-webdriver'
>>
>> Selenium::WebDriver::Edge::Service.driver_path *=*
>>  "c:/drivers/msedgedriver.exe"
>>
>> $browser *=* Watir::Browser.*new*
>>  :edge, "edgeOptions" => {"args" => [ "--start-maximized" ], "w3c" => false}
>>
>> $browser.goto("https://google.com";)
>>
>> $browser.text_field(:name=>"q").set("watir")
>>
>> ===
>>
>> Full stacktrace below:
>>
>> >ruby google_edge.rb
>>
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
>>  
>> `assert_ok': javascript error: a.getAttributeNode is not a function 
>> (Selenium::WebDriver::Error::JavascriptError)
>>
>>   (Session info: MicrosoftEdge=85.0.564.44)
>>
>>   (Driver info: msedgedriver=85.0.564.44 
>> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60),platform=Windows NT 10.0.18363 
>> x86_64)
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:34:in
>>  
>> `initialize'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
>>  
>> `new'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
>>  
>> `create_response'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:114:in
>>  
>> `request'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:64:in
>>  
>> `call'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/bridge.rb:167:in
>>  
>> `execute'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
>>  
>> `execute'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:305:in
>>  
>> `execute_script'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/atoms.rb:32:in
>>  
>> `execute_atom'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:476:in
>>  
>> `element_attribute'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/element.rb:116:in
>>  
>> `attribute'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:315:in
>>  
>> `block in attribute_value'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:804:in
>>  
>> `element_call'
>>
>> from 
>> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Is there a reason you are setting w3c to false? (if you are testing on
Chromium > 75 you should be using w3c)

Try setting w3c to true, and if it doesn't work, try running it with
Chrome. If things are still failing, we'll have to figure out the right bug
report for the chromedriver/chromium teams.

On Tue, Sep 1, 2020 at 10:46 AM Champ  wrote:

> I am using the below code to start using Watir-webdriver with Edge
> Chromium browser. I have the right versions and drivers. It launches the
> browser and opens the url.
> But I get the following error when I try to interact with the browser(set,
> .present? etc.)
>
> Any pointers/fixes are really appreciated.
>
>
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in*
> `assert_ok': javascript error: a.getAttributeNode is not a function
> (Selenium::WebDriver::Error::JavascriptError)*
>
> Here is the code:
>
> *require* 'watir'
> *require* 'selenium-webdriver'
>
> Selenium::WebDriver::Edge::Service.driver_path *=*
>  "c:/drivers/msedgedriver.exe"
>
> $browser *=* Watir::Browser.*new*
>  :edge, "edgeOptions" => {"args" => [ "--start-maximized" ], "w3c" => false}
>
> $browser.goto("https://google.com";)
>
> $browser.text_field(:name=>"q").set("watir")
>
> ===
>
> Full stacktrace below:
>
> >ruby google_edge.rb
>
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
> `assert_ok': javascript error: a.getAttributeNode is not a function
> (Selenium::WebDriver::Error::JavascriptError)
>
>   (Session info: MicrosoftEdge=85.0.564.44)
>
>   (Driver info: msedgedriver=85.0.564.44
> (3b106b45f8e7cd4c3e2aac5a6ba411645c16df60),platform=Windows NT 10.0.18363
> x86_64)
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:34:in
> `initialize'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
> `new'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
> `create_response'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:114:in
> `request'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:64:in
> `call'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/bridge.rb:167:in
> `execute'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
> `execute'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:305:in
> `execute_script'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/atoms.rb:32:in
> `execute_atom'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:476:in
> `element_attribute'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/element.rb:116:in
> `attribute'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:315:in
> `block in attribute_value'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:804:in
> `element_call'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:315:in
> `attribute_value'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/attribute_helper.rb:74:in
> `block in define_boolean_attribute'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:719:in
> `wait_for_writable'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:838:in
> `check_condition'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:802:in
> `element_call'
>
> from
> C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/user_editable.rb:10:in
> `set'
>
> from google_edge.rb:8:in `'
>
> >Exit code: 1
>
>
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/watir-general/83cdcdf1-83cb-4190-bd2c-2a4

[wtr-general] Watir and Edge Chromium - Getting an error

2020-09-01 Thread Champ
I am using the below code to start using Watir-webdriver with Edge Chromium 
browser. I have the right versions and drivers. It launches the browser and 
opens the url.
But I get the following error when I try to interact with the browser(set, 
.present? etc.)

Any pointers/fixes are really appreciated.

C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in*
 
`assert_ok': javascript error: a.getAttributeNode is not a function 
(Selenium::WebDriver::Error::JavascriptError)*

Here is the code:

*require* 'watir'
*require* 'selenium-webdriver'

Selenium::WebDriver::Edge::Service.driver_path *=*
 "c:/drivers/msedgedriver.exe"

$browser *=* Watir::Browser.*new*
 :edge, "edgeOptions" => {"args" => [ "--start-maximized" ], "w3c" => false}

$browser.goto("https://google.com";)

$browser.text_field(:name=>"q").set("watir")

===

Full stacktrace below:

>ruby google_edge.rb

C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:72:in
 
`assert_ok': javascript error: a.getAttributeNode is not a function 
(Selenium::WebDriver::Error::JavascriptError)

  (Session info: MicrosoftEdge=85.0.564.44)

  (Driver info: msedgedriver=85.0.564.44 
(3b106b45f8e7cd4c3e2aac5a6ba411645c16df60),platform=Windows NT 10.0.18363 
x86_64)

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/response.rb:34:in
 
`initialize'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
 
`new'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:88:in
 
`create_response'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/default.rb:114:in
 
`request'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/http/common.rb:64:in
 
`call'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/bridge.rb:167:in
 
`execute'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
 
`execute'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:305:in
 
`execute_script'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/atoms.rb:32:in
 
`execute_atom'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/remote/w3c/bridge.rb:476:in
 
`element_attribute'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/selenium-webdriver-3.142.7/lib/selenium/webdriver/common/element.rb:116:in
 
`attribute'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:315:in
 
`block in attribute_value'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:804:in
 
`element_call'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:315:in
 
`attribute_value'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/attribute_helper.rb:74:in
 
`block in define_boolean_attribute'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:719:in
 
`wait_for_writable'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:838:in
 
`check_condition'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/elements/element.rb:802:in
 
`element_call'

from 
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/watir-6.17.0/lib/watir/user_editable.rb:10:in
 
`set'

from google_edge.rb:8:in `'

>Exit code: 1



-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/83cdcdf1-83cb-4190-bd2c-2a4be4a6f78dn%40googlegroups.com.


[wtr-general] Watir Changing Element Collection if Negated Attribute Present

2019-09-24 Thread Jeff Nyman
My title for this is terrible but I can't think of a better way to word it 
right now.

I have a web screen where if you click a submit button without filling in 
fields, 9 validation error messages appear. I have defined a page object 
with these elements as a collection:

smalls :errors, class: ["form__error", "!ng-hide"]

This is using a page object model where "errors" becomes a method that can 
be called, essentially wrapping the HTMLElements. A key thing there is I'm 
negating a class attribute.

If I do this:

puts errors.count

It outputs 9 correctly. So I know the element definition is referencing the 
right collection and finding the appropriate objects with the class.

However, if I do this:

puts errors.count
puts errors.count
puts errors.count

I get the following output:

9
2
2

This is without any change to the page. Somehow it's losing reference to 7 
of the errors, even though on the screen nothing has changed. I have a 
sleep in place to make sure I can see the screen. And when I do a check in 
the console for ".form__error", I see 9 returned and I see they have the 
same class attributes. But somehow just calling "errors" again is losing 
reference to some of the elements in the collection.

Here's another example of how this happens.

If I do this:

errors.each do |error|
  puts(error.text)
end

I get the text of all nine errors correctly, once again showing that my 
element definition is working and finding only those elements with the 
class. But now I'll combine the things I'm doing and do this:

puts errors.count

errors.each do |error|
  puts(error.text)
end

I get an output of 9 with no error messages listed. So it only recognized 
the "errors" on the first execution. Now I'll change the order of those:

errors.each do |error|
  puts(error.text)
end

puts errors.count

In this case, I get the nine error messages text listed out but no count at 
all.

Now here's the kicker: if I remove the negated class element, everything 
works:

smalls :errors, class: "form__error"

This now returns consistent results. They are wrong results unfortunately 
because the app has some extra "form__error" text that I don't want to 
count. I only want the "form__errors" that also not have a "ng-hide" 
attribute as part of the class.

I'm hoping I'm describing this well enough that it makes sense to someone 
what might be happening.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/6b4007d9-ac68-482e-ab69-c69bd16b39b0%40googlegroups.com.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-17 Thread rajagopalanmadasami
Hi, Thank you , I will check it out.

On Sunday, 3 February 2019 00:21:25 UTC+5:30, john wrote:
>
> I wrote something with Angular in mind. Some sample tests for Google's 
> angular components are here:
>
>
> https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb
>
> And Google's showcase for those components are here (the tests utilize 
> this site):
>
> https://material.angular.io
>
> I didn't incorporate Titus's gem because the library isn't limited to 
> Angular -- it's more about supporting web components and recurring features 
> -- but maybe I should add a pointer to that gem for folks testing Angular 
> apps.
>
>
>
>
>
>
>
>
>
>
> On Thursday, January 31, 2019, 10:08:10 AM PST, rajagopalan madasami <
> rajagopal...@gmail.com > wrote: 
>
>
> Hi, thank you very much .
>
> On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck  
> wrote:
>
> Hi,
>
> Yes, there is watir_angular.
>
> https://github.com/titusfortner/watir_angular
>
> Joe
>
> On Tue, Jan 29, 2019, 10:10 AM  
> wrote:
>
> Hi Titus,
>
> Is it possible to automate AngularJs application using WATIR? Any gem is 
> available?
>
> -- 
> -- 
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>  
>
> In short: search before you ask, be nice.
>  
> watir-...@googlegroups.com 
> http://groups.google.com/group/watir-general
> watir-genera...@googlegroups.com 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-genera...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>  
>
> In short: search before you ask, be nice.
>  
> watir-...@googlegroups.com 
> http://groups.google.com/group/watir-general
> watir-genera...@googlegroups.com 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-genera...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
> -- 
> -- 
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>  
>
> In short: search before you ask, be nice.
>  
> watir-...@googlegroups.com 
> http://groups.google.com/group/watir-general
> watir-genera...@googlegroups.com 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-genera...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-02 Thread rajagopalan madasami
Thank you, let me check that tomorrow.

On Sun, 3 Feb, 2019, 12:21 AM 'John Fitisoff' via Watir General <
watir-general@googlegroups.com wrote:

> I wrote something with Angular in mind. Some sample tests for Google's
> angular components are here:
>
>
> https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb
>
> And Google's showcase for those components are here (the tests utilize
> this site):
>
> https://material.angular.io
>
> I didn't incorporate Titus's gem because the library isn't limited to
> Angular -- it's more about supporting web components and recurring features
> -- but maybe I should add a pointer to that gem for folks testing Angular
> apps.
>
>
>
>
>
>
>
>
>
>
> On Thursday, January 31, 2019, 10:08:10 AM PST, rajagopalan madasami <
> rajagopalanmadas...@gmail.com> wrote:
>
>
> Hi, thank you very much .
>
> On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck 
> Hi,
>
> Yes, there is watir_angular.
>
> https://github.com/titusfortner/watir_angular
>
> Joe
>
> On Tue, Jan 29, 2019, 10:10 AM 
> Hi Titus,
>
> Is it possible to automate AngularJs application using WATIR? Any gem is
> available?
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-02 Thread 'John Fitisoff' via Watir General
 I wrote something with Angular in mind. Some sample tests for Google's angular 
components are here:
https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb

And Google's showcase for those components are here (the tests utilize this 
site):
https://material.angular.io
I didn't incorporate Titus's gem because the library isn't limited to Angular 
-- it's more about supporting web components and recurring features -- but 
maybe I should add a pointer to that gem for folks testing Angular apps.









On Thursday, January 31, 2019, 10:08:10 AM PST, rajagopalan madasami 
 wrote:  
 
 Hi, thank you very much .
On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck https://github.com/titusfortner/watir_angular
Joe

On Tue, Jan 29, 2019, 10:10 AM https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.
 
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.
 
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.
 
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread Joe Fleck
It came in helpful for a few objects in our angular app but I was able to
use watir for most of it.

On Thu, Jan 31, 2019, 1:49 PM rajagopalan madasami <
rajagopalanmadas...@gmail.com wrote:

> Ok thank you
>
> On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner 
>> This gem used to be a bigger deal because Watir required attribute values
>> to be defined directly. Now that we've opened this up more, all that you
>> get from watir_angular is to be able to inject the automatic waiting calls
>> that are found in Protractor. This may or may not be useful depending on
>> the specific angular application.
>>
>>
>>
>> On Tuesday, January 29, 2019 at 7:15:01 AM UTC-8, Joe Fl wrote:
>>>
>>> Hi,
>>>
>>> Yes, there is watir_angular.
>>>
>>> https://github.com/titusfortner/watir_angular
>>>
>>> Joe
>>>
>>> On Tue, Jan 29, 2019, 10:10 AM >>
 Hi Titus,

 Is it possible to automate AngularJs application using WATIR? Any gem
 is available?

 --
 --
 Before posting, please read
 https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.

 In short: search before you ask, be nice.

 watir-...@googlegroups.com
 http://groups.google.com/group/watir-general
 watir-genera...@googlegroups.com
 ---
 You received this message because you are subscribed to the Google
 Groups "Watir General" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to watir-genera...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>> --
>> --
>> Before posting, please read
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>
>> In short: search before you ask, be nice.
>>
>> watir-general@googlegroups.com
>> http://groups.google.com/group/watir-general
>> watir-general+unsubscr...@googlegroups.com
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread rajagopalan madasami
Ok thank you

On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner  This gem used to be a bigger deal because Watir required attribute values
> to be defined directly. Now that we've opened this up more, all that you
> get from watir_angular is to be able to inject the automatic waiting calls
> that are found in Protractor. This may or may not be useful depending on
> the specific angular application.
>
>
>
> On Tuesday, January 29, 2019 at 7:15:01 AM UTC-8, Joe Fl wrote:
>>
>> Hi,
>>
>> Yes, there is watir_angular.
>>
>> https://github.com/titusfortner/watir_angular
>>
>> Joe
>>
>> On Tue, Jan 29, 2019, 10:10 AM >
>>> Hi Titus,
>>>
>>> Is it possible to automate AngularJs application using WATIR? Any gem is
>>> available?
>>>
>>> --
>>> --
>>> Before posting, please read
>>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>>
>>> In short: search before you ask, be nice.
>>>
>>> watir-...@googlegroups.com
>>> http://groups.google.com/group/watir-general
>>> watir-genera...@googlegroups.com
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Watir General" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to watir-genera...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread Titus Fortner
This gem used to be a bigger deal because Watir required attribute values 
to be defined directly. Now that we've opened this up more, all that you 
get from watir_angular is to be able to inject the automatic waiting calls 
that are found in Protractor. This may or may not be useful depending on 
the specific angular application.



On Tuesday, January 29, 2019 at 7:15:01 AM UTC-8, Joe Fl wrote:
>
> Hi,
>
> Yes, there is watir_angular.
>
> https://github.com/titusfortner/watir_angular
>
> Joe
>
> On Tue, Jan 29, 2019, 10:10 AM  
> wrote:
>
>> Hi Titus,
>>
>> Is it possible to automate AngularJs application using WATIR? Any gem is 
>> available?
>>
>> -- 
>> -- 
>> Before posting, please read 
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>  
>>
>> In short: search before you ask, be nice.
>>  
>> watir-...@googlegroups.com 
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com 
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-genera...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread rajagopalan madasami
Hi, thank you very much .

On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck  Hi,
>
> Yes, there is watir_angular.
>
> https://github.com/titusfortner/watir_angular
>
> Joe
>
> On Tue, Jan 29, 2019, 10:10 AM 
>> Hi Titus,
>>
>> Is it possible to automate AngularJs application using WATIR? Any gem is
>> available?
>>
>> --
>> --
>> Before posting, please read
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>
>> In short: search before you ask, be nice.
>>
>> watir-general@googlegroups.com
>> http://groups.google.com/group/watir-general
>> watir-general+unsubscr...@googlegroups.com
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-29 Thread Joe Fleck
Hi,

Yes, there is watir_angular.

https://github.com/titusfortner/watir_angular

Joe

On Tue, Jan 29, 2019, 10:10 AM  Hi Titus,
>
> Is it possible to automate AngularJs application using WATIR? Any gem is
> available?
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] WATIR can be used for AngularJS?

2019-01-29 Thread rajagopalanmadasami
Hi Titus,

Is it possible to automate AngularJs application using WATIR? Any gem is 
available?

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir [DEPRECATION] ["stale_present"] Checking `#present? == false`

2018-09-05 Thread rajagopalanmadasami
Hi Titus,

I am getting this warning while I execute this code

>
> @b.span(class: "spinner").wait_while(&:present?)
>
>
 2018-09-05 12:26:45 WARN Watir [DEPRECATION] ["stale_present"] Checking 
`#present? == false` to determine a stale element is deprecated. Use 
`#stale? == true` instead.

If I use 

@b.span(class: "spinner").wait_until(&:stale?)
>
>
Watir::Exception::Error: Can not check staleness of unused element

  0) scenario1-Contact Example
 ?[31mFailure/Error: raise Watir::Exception::Error, "Can not check 
staleness of unused element" unless @element?[0m
 ?[31m?[0m
 ?[31mWatir::Exception::Error:?[0m
 ?[31m  Can not check staleness of unused element?[0m
 ?[36m# ./Source/FrameWorkModules/Chrome.rb:168:in `waitForPageLoad'?[0m
 ?[36m# ./Source/LoginModule/login.rb:72:in `driverSing'?[0m
 ?[36m# ./Source/FrameWorkModules/PullTheTestCases.rb:7:in 
`initialize'?[0m
 ?[36m# ./Source/Contact_Create_spec.rb:36:in `new'?[0m
 ?[36m# ./Source/Contact_Create_spec.rb:36:in `block (4 levels) in '?[0m

Why can't I use `@b.span(class: "spinner").wait_while(&:present?)` ? Hi, I 
am designing a common framework for all of my project in my company using 
WATIR. So this kind of code in my Framework level is pretty important. Can 
you please let me know why it is deprecated? 

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir History

2018-08-07 Thread Titus Fortner
Hey Charley, I got a huge dump of info from Jonathan Kohl from the
early days. If you have anything you'd like to see added, send me a
few paragraphs and I'll see about getting it all synthesized together.
On Tue, Aug 7, 2018 at 10:34 AM Charley Baker  wrote:
>
> Hah pretty cool. I remember back in the day. It's been a while since I was 
> involved. There's a lot more history, but ya can't get it all. :)
>
> Cheers,
>
> Charley
>
>
> On Mon, Aug 6, 2018 at 12:37 PM Titus Fortner  wrote:
>>
>> I just posted an article on the History of the Watir project.
>>
>> http://watir.com/history/
>>
>> Titus
>>
>> --
>> --
>> Before posting, please read 
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>> In short: search before you ask, be nice.
>>
>> watir-general@googlegroups.com
>> http://groups.google.com/group/watir-general
>> watir-general+unsubscr...@googlegroups.com
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> Before posting, please read 
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups 
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir History

2018-08-07 Thread Charley Baker
Hah pretty cool. I remember back in the day. It's been a while since I was
involved. There's a lot more history, but ya can't get it all. :)

Cheers,

Charley


On Mon, Aug 6, 2018 at 12:37 PM Titus Fortner 
wrote:

> I just posted an article on the History of the Watir project.
>
> http://watir.com/history/
>
> Titus
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir History

2018-08-06 Thread Titus Fortner
I just posted an article on the History of the Watir project.

http://watir.com/history/

Titus

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Website Updates

2018-08-03 Thread Titus Fortner
I've been doing a good job of tweeting about new Watir blog posts 
(http://watir.com/blog/). If you don't already follow our Twitter 
account: https://twitter.com/watir_team

I've been doing a bad job of sending out messages on this mailing list when 
I've made updates, I'll try to remember to do that.

The biggest item of note is that we hired someone to fix up the design and 
code of the website so that it is better organized and looks more 
professional. This made it easier for me to finish what we started 2 years 
ago and add in some content that was missing.

I went through and updated all of the Guides (http://watir.com/guides/) to 
delete obviously outdated material. I expounded on several of the topics 
and added some code examples in places as well. The biggest improvement is 
in the Locating Elements Guide (http://watir.com/guides/locating/). Check 
it out, maybe you'll discover your new favorite locator that you didn't 
know Watir supported.

If you have any interest in helping add content or code examples to the 
Guides, please feel free to contribute, the process is pretty 
straightforward.

I'd like to ask for feedback on two things. 

First, the new website has not had comments associated with the blog posts. 
Our chosen website technology (Jekyll) does not support it by default. We 
have a few options to add on to it, and if you have an opinion on the 
matter, please let us know. The discussion is here: 
https://github.com/watir/watir.github.io/issues/4

Also, I noticed we're still linking to the guidelines on the deprecated 
watir_meta gem wiki. I'd like to move that to the website. I tried to 
update the content to be more relevant and trim it down. Any feedback on 
the sufficiency of this wording? 
https://github.com/titusfortner/watir.github.io/blob/a38cbf9b/_pages/help.md#guidelines-for-questions-and-posts

Thanks,
Titus

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir Unit Test

2018-01-12 Thread Titus Fortner
Page Objects should not be subclasses of TestCase
Page Objects should not contain assertions, those belong in _step files

require 'rspec' in env.rb to use RSpec matchers:

Given(/^I am on the login page$/) do
 @login_page = Login.new
 expect(@login_page.gmail?).to eq true
end

 def gmail?
 $browser.text.include?("Gmail")
 end

On Fri, Jan 12, 2018 at 8:33 AM, 江南  wrote:
>
> I have the code below to verify a text on the website I want to know how to
> call the method 'test_verifyGmail' in my Cucumber Step Definition file?
>
> #!/usr/bin/ruby
>
>
> require 'watir'
> require 'selenium-webdriver'
> require 'test/unit'
> require 'rubygems'
>
> class Login < Test::Unit::TestCase
>
>  def setup
>  $browser = Watir::Browser.new :chrome
>  $browser.goto "www.google.com"
>  end
>
>  def test_verifyGmail
>  assert($browser.text.include?("Gmail"))
>  end
>
> end
>
> Step Definition:
>
> Given(/^I am on the login page$/) do
>  @login_page = Login.new
>  @login_page.test_verifyGmail
> end
>
>
> Currently when I run it will produce an error and is point at the
> @login_page = Login.new
> ArgumentError: wrong number of arguments (given 0, expected 1..2)
>
>
> Thanks
>
> --
> --
> Before posting, please read
> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
> In short: search before you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Unit Test

2018-01-12 Thread 江南

I have the code below to verify a text on the website I want to know how to 
call the method '*test_verifyGmail*' in my Cucumber Step Definition file? 

#!/usr/bin/ruby


require 'watir'  
require 'selenium-webdriver'
require 'test/unit'
require 'rubygems'

class Login < Test::Unit::TestCase

 def setup
 $browser = Watir::Browser.new :chrome
 $browser.goto "www.google.com" 
 end

 def test_verifyGmail
 assert($browser.text.include?("Gmail"))
 end

end

Step Definition: 

Given(/^I am on the login page$/) do
 @login_page = Login.new
 @login_page.test_verifyGmail
end


Currently when I run it will produce an error and is point at the @login_page = 
Login.new  
ArgumentError: wrong number of arguments (given 0, expected 1..2)


Thanks

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Ruby Screenshot show Scenario + Step

2017-10-18 Thread 江南
Hi,

Is it possible to save a screenshot with the step instead the scenario 
name? 

@browser.screenshot.save(scenario.name ".png")


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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir with chrome native headless

2017-09-12 Thread juan Barbera
Hi all

Currently i m using a ruby -watir framework with docker , i m trying to 
test the new native headless of chrome without xvfb , but seems that there 
are still some issues, as example with native headless watir is unable to 
find some elements that works on chrome with xvfb , has anyone achieve a 
succesfull test with chrome headless native.

My system :

Ubuntu 16.04
Chrome 61
Chromedriver 2.31

browser = Watir::Browser.new :chrome,
switches: %w[--headless
  --disable-gpu --no-sandbox
  --disable-prompt-on-repost
  --windows-size=3200x1800]

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir running Chrome on Heroku

2017-08-29 Thread Jason Mintz
Has anyone been able to get headless Chrome working on Heroku via Watir? 
I've failed following the instructions 
here: https://github.com/heroku/heroku-buildpack-google-chrome, despite 
adding the buildpacks the GOOGLE_CHROME_BIN and GOOGLE_CHROME_SHIM ENV 
variables are nil. I would try to set the path to chromedriver directly but 
can't find what that path should be on Heroku or how to set it via Watir.

Thanks, any guidance appreciated

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] WATIR is not waiting for select_list to exist

2017-08-09 Thread Titus Fortner
This is unlikely a bug in Watir.

For us to investigate further please provide
Your code
Applicable portion of html
A log of your test run in debug mode

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] WATIR is not waiting for select_list to exist

2017-08-09 Thread Raja gopalan
If I write 

b.select_list(id: 'something').select("")


default timeout is not applied here for a select_list, it immediately 
throws error if select_list doesn't exist

but If I write the following code


puts b.select_list(id: 'something').text  #this would print the selected 
option value according to new change


This line is waiting for select_list to exist.

This must be a bug, isn't it?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir (chrome+options) failing with new versions of libs

2017-08-06 Thread Paul Denize

I installed up a new machine with ruby, watir, and selenium-webdriver and 
the script (that still runs on the previous version) now will not start

I produced a minimal script below and the reported error (with version 
numbers visible in the dump)

Is there a workaround to get the new machine going.  I tried to uninstall 
the gems and install the older versions but this did not appear to work and 
just installed the same versions again.


--- simple script

require 'watir'

options = Selenium::WebDriver::Chrome::Options.new
options.add_argument('--disable-infobars')
driver = Watir::Browser.new :chrome, options: options

--- result

C:>watir test.rb
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/selenium-webdriver-3.4.4/lib/selenium/webdriver/chrome/options.rb:43:in
 
`initialize': wrong number of arguments (1 for 0) (ArgumentError)
from 
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/watir-6.6.0/lib/watir/capabilities.rb:68:in
 
`new'
from 
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/watir-6.6.0/lib/watir/capabilities.rb:68:in
 
`process_browser_options'
from 
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/watir-6.6.0/lib/watir/capabilities.rb:28:in
 
`process_capabilities'
from 
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/watir-6.6.0/lib/watir/capabilities.rb:15:in
 
`to_args'
from 
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/watir-6.6.0/lib/watir/browser.rb:47:in 
`initialize'
from .../watir test.rb:5:in `new'
from .../watir test.rb:5:in `'



 previous install on an older machine still works fine

waitr 6.3
selenium-webdriver 3.4.3

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] WATIR 6.1.0 html input type date

2017-07-31 Thread Brian Rieck
Does watir support html input element of date type?  

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir change Internal time

2017-07-28 Thread Titus Fortner
Show us the code you are using and tell us what isn't working the way you 
expect.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir change Internal time

2017-07-28 Thread Johnson Zhong
Hi,

Recently I faced an problem which caused timeout issue Net::ReadTimeout 
(Net::ReadTimeout)

And I found some related infomation in selenium which refer to this 
document https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings

Internal timeouts

Internally, WebDriver uses HTTP to communicate with a lot of the drivers 
(the JsonWireProtocol). By default, Net::HTTP from Ruby's standard library 
is used, which has a default timeout of 60 seconds. If you call e.g. 
Driver#get, Driver#click on a page that takes more than 60 seconds to load, 
you'll see a Timeout::Error raised from Net::HTTP. You can configure this 
timeout (before launching a browser) by doing:

  client = Selenium::WebDriver::Remote::Http::Default.new
  client.timeout = 120 # seconds
  driver = Selenium::WebDriver.for :remote, http_client: client


but I try to change it in watir, it's not working. could anyone help to 
answer this, Thanks

Best Regards,
Johnson

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir 6.1.0 attch existing ie window using url/title

2017-05-15 Thread sivam
Hi, recently I have migrated to watir 6.1.0 from watir 1.8.6. 
I was trying to use the functionality IE.attach to attach any existing IE 
window in latest. But I couldn't find any which has the same functionality of 
attach to attach any existing browser window in latest watir. Can someone pls 
help me on this? Instead of opening a new browser on ie , I want the control on 
existing ie Windows.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast Episode 68

2017-01-22 Thread Dave McNulla


In episode 68 of the Watir Podcast, we talk to Chris McMahon, an experience 
Watir developer that (may have been) was the first watir tester to use it 
in production.


Listen Here: http://watir.github.io/watir-podcast-episode-68/ 

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast Episode 67

2017-01-12 Thread Dave McNulla
In episode 67, I talk to Mark Barzilay of SpriteCloud about their gem to 
make automation development and execution easier.
http://watir.github.io/watir-podcast-episode-67/

Dave


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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] watir example fails

2017-01-06 Thread Titus Fortner
"entry.101" is a textarea element not a text_field element.
You used to be able to use text_field for both, now you have to specify the
type you want. This code will do exactly what you want:

require 'watir'
browser = Watir::Browser.new
browser.goto 'bit.ly/watir-example'
browser.text_field(name: "entry.100").set 'Watir'
browser.textarea(name: "entry.101").set 'Watir'


On Fri, Jan 6, 2017 at 10:39 AM, c w  wrote:

> Hi,
>
> I am a bit frustrated as this used to be working few years ago. I try
> again as I intend to try to use back watir and I have no idea why starting
> with the second element scripts are failing on the watir example
>
>
> Just run this:
>
> require 'rubygems'
> require 'watir'
>
>
> driver = Selenium::WebDriver.for :chrome
> @browser = Watir::Browser.new driver
>
> @browser.goto 'http://bit.ly/watir-example'
> @browser.text_field(:name => "entry.100").set 'Watir'
> sleep 3
> @browser.text_field(:name => "entry.101").set 'Watir'
>
>
> I get the following:
>
> c:\watir>ruby watir.rb
> This code has slept for the duration of the default timeout waiting for an
> Eleme
> nt to exist. If the test is still passing, consider using Element#exists?
> instea
> d of rescuing UnknownObjectException
> C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elements/element.rb
> :507:in `rescue in wait_for_exists': timed out after 30 seconds, waiting
> for {:n
> ame=>"entry.101", :tag_name=>"input"} to be located
> (Watir::Exception::Unkno
> wnObjectException)
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elemen
> ts/element.rb:497:in `wait_for_exists'
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elemen
> ts/element.rb:515:in `wait_for_present'
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elemen
> ts/element.rb:533:in `wait_for_enabled'
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elemen
> ts/element.rb:545:in `wait_for_writable'
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/elemen
> ts/element.rb:656:in `element_call'
> from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/
> watir/user_e
> ditable.rb:11:in `set'
> from watir.rb:18:in `'
>
>
>
>
> I just installed the latest version of ruby Ruby23-x64
>
> It fails if I remove the sleep as well.
>
> From the example only the first text field works.
>
> Please advise.
>
>
> Kind regards,
> Cristina
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir example fails

2017-01-06 Thread c w
Hi,

I am a bit frustrated as this used to be working few years ago. I try again
as I intend to try to use back watir and I have no idea why starting with
the second element scripts are failing on the watir example


Just run this:

require 'rubygems'
require 'watir'


driver = Selenium::WebDriver.for :chrome
@browser = Watir::Browser.new driver

@browser.goto 'http://bit.ly/watir-example'
@browser.text_field(:name => "entry.100").set 'Watir'
sleep 3
@browser.text_field(:name => "entry.101").set 'Watir'


I get the following:

c:\watir>ruby watir.rb
This code has slept for the duration of the default timeout waiting for an
Eleme
nt to exist. If the test is still passing, consider using Element#exists?
instea
d of rescuing UnknownObjectException
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elements/element.rb
:507:in `rescue in wait_for_exists': timed out after 30 seconds, waiting
for {:n
ame=>"entry.101", :tag_name=>"input"} to be located
(Watir::Exception::Unkno
wnObjectException)
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elemen
ts/element.rb:497:in `wait_for_exists'
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elemen
ts/element.rb:515:in `wait_for_present'
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elemen
ts/element.rb:533:in `wait_for_enabled'
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elemen
ts/element.rb:545:in `wait_for_writable'
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/elemen
ts/element.rb:656:in `element_call'
from
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/watir-6.1.0/lib/watir/user_e
ditable.rb:11:in `set'
from watir.rb:18:in `'




I just installed the latest version of ruby Ruby23-x64

It fails if I remove the sleep as well.

>From the example only the first text field works.

Please advise.


Kind regards,
Cristina

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast 66

2016-12-21 Thread Dave McNulla
Justin Ko, one of the people that answers questions in this group, tells me 
about how he got started in Watir, why he likes Watir Classic, and more. 
Give it a listen at:
https://soundcloud.com/the-watir-podcast/episode-66

Dave

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-20 Thread Sean Poulter
I haven't tried recently since the release of Selenium 3 or GeckoDriver, but 
using Firefox used to save screenshots of the whole page.

You might also consider saving a screenshot of just an Element. There was a gem 
to support that.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-19 Thread Titus Fortner
With things like infinite scroll, the concept of "the entire dom" doesn't have 
the same being it once did. W3C spec says to only provide image of what is in 
the viewport.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-19 Thread Brian Rieck
I am using #screenshot.save and Chrome.  The saved screenshot is only a 
portion of the window (only the visible window) and not the entire DOM as 
expected.  Is there a different method that I should be using instead?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast 65

2016-12-14 Thread Dave McNulla
Here is a new podcast (I forgot to add this here).
https://soundcloud.com/the-watir-podcast/episode-65-cheezy-returns 

Cheezy is a friend to our test automation. He developed a page object gem 
that became the standard for people like us. He is updating that library. 
He also talks about other great libraries that he has developed. Listen and 
enjoy.

In addition, I'd like to know more about the types of things you would like 
to hear. Feel free to reply to this thread.

Thanks

Dave

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast Episode 64

2016-11-28 Thread Dave McNulla
I interview Justin Watts about why he likes watir, among a 1000 other 
topics. You can listen here:
https://soundcloud.com/the-watir-podcast/episode-64

Dave

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir::Container instance methods and Watir 6

2016-11-20 Thread Titus Fortner
Can you provide a stack trace? It's likely a versioning mismatch. 

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir::Container instance methods and Watir 6

2016-11-20 Thread Jeff Nyman
I'm seeing a lot of tools break that are updating to just say `require 
"watir"`.

In all cases, I've traced it to lines like this:

Watir::Container.instance_methods

Yet I see that this does appear to exist in Watir 6 
(http://www.rubydoc.info/gems/watir/Watir/Container).

Has anyone else had issues with this? The problem goes away when you 
require "watir-webdriver".

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir 6.0 Released

2016-11-15 Thread Titus Fortner
Watir 6.0 has been released!

Implementation-wise, watir-classic has been deprecated, and watir-webdriver 
has been renamed to watir (so just change `require 'watir-webdriver'` to 
`require 'watir'` and bundle update)

Watir has added a few new features; the biggest one has to do with how it 
now defaults to waiting for new elements before taking actions. You should 
be able to get rid of all references to `when_present` in your code.

For more information:

Watir 6.0 Blog announcement: http://watir.github.io/watir-6-0/
Watir 6.0 FAQ: http://watir.github.io/watir-6-faq/

Thanks!
Titus

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir Podcast episode 60

2016-10-03 Thread Željko Filipin
You are doing a great job with the podcast. Keep up the good work! :)

Željko

On Sun, Oct 2, 2016 at 11:13 PM, Dave McNulla  wrote:

> Why use Watir when you have a choice of webdriver libraries? Jon Franchi
> explains in the new Watir Podcast.
> https://soundcloud.com/the-watir-podcast/episode60-jon-franchi
>
> Get the new-guy-view from Jon as he tells about his new experiences.
>
> Dave
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Podcast episode 60

2016-10-02 Thread Dave McNulla
Why use Watir when you have a choice of webdriver libraries? Jon Franchi 
explains in the new Watir Podcast.
https://soundcloud.com/the-watir-podcast/episode60-jon-franchi 

Get the new-guy-view from Jon as he tells about his new experiences.

Dave

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir File input

2016-09-30 Thread Deepak S
Guys

We were using ie7  for our automation and my scripts for selecting file 
input was working fine.
But for some reason , we have update our system from windows xp to windows 
7 and ie7 to ie9. And we are running the automation by enabling 
comparability view. since then the fileinput method is not working.

There is is no error while running the script , it simply cant input file 
path.

Code:

 
@ie.frame("mainFrame").file_field(:id,"myFile").set(param_hash['webupload_file_path'])

Any inputs to fix this issue

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir-rails 2.0.0 released

2016-09-24 Thread Jarmo Pertman
watir-rails 3.0.0 has been released, which adds Watir 6.0 support.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir-rspec 3.0.0 released

2016-09-24 Thread Jarmo Pertman
watir-rspec 3.0.0 has been released, which adds Watir 6.0 support.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-24 Thread Jarmo Pertman
Did "beta-testing" using Watir 6.0.0.beta4 on one of my real-life projects, 
which used Watir 5.x before that. Almost everything worked as expected, but 
had to create one issue in GitHub. I also noticed that watir-rspec 
(https://github.com/watir/watir-rspec) and watir-rails 
(https://github.com/watir/watir-rails) didn't support Watir 6.0 so I 
released both of them with added support.

Best Regards,
Jarmo



On Friday, September 23, 2016 at 6:55:57 AM UTC+3, Dave McNulla wrote:
>
> It will be easier to identify 'problems' if you have a baseline, something 
> to compare with.
>
> Dave
>
> On Thursday, September 22, 2016 at 11:05:01 AM UTC-7, Mike Frank wrote:
>>
>> Would qualify as a tester if I've never used it?
>>
>> On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla  wrote:
>>
>>> Info is on the new website. http://watir.github.io/watir-6-beta4 
>>> 
>>>
>>> It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it 
>>> a try. Post issues athttps://github.com/watir/watir/issues 
>>> 
>>>
>>> -- 
>>> -- 
>>> Before posting, please read http://watir.com/support. In short: search 
>>> before you ask, be nice.
>>>  
>>> watir-...@googlegroups.com
>>> http://groups.google.com/group/watir-general
>>> watir-genera...@googlegroups.com
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Watir General" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to watir-genera...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
It will be easier to identify 'problems' if you have a baseline, something 
to compare with.

Dave

On Thursday, September 22, 2016 at 11:05:01 AM UTC-7, Mike Frank wrote:
>
> Would qualify as a tester if I've never used it?
>
> On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla  > wrote:
>
>> Info is on the new website. http://watir.github.io/watir-6-beta4 
>> 
>>
>> It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it a 
>> try. Post issues athttps://github.com/watir/watir/issues 
>> 
>>
>> -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> watir-...@googlegroups.com 
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-genera...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Mike Frank
Would qualify as a tester if I've never used it?

On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla  wrote:

> Info is on the new website. http://watir.github.io/watir-6-beta4
> 
>
> It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it a
> try. Post issues athttps://github.com/watir/watir/issues
> 
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
Info is on the new website. http://watir.github.io/watir-6-beta4 


It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it a 
try. Post issues athttps://github.com/watir/watir/issues 


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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir::Exception::UnknownObjectException: unable to locate element

2016-08-10 Thread Ajay Reddy
Hi All,

I am using page factory pattern, 

   1. 
   
   Here is My class Homepage:-
   
   
class Homepage
include PageObject
include Configuration
   
 def open
   goto("url")
 end
   
 def sign_in
@browser.element(css: 'div.links-static ul li.account div#login_user_data 
a.account').click   -> I am getting the error here
end
   
 def create_account
@browser.element(css: 
'div.ml_function.ml_function_arrowtoptoleft.padding_top_twenty.height_fifty 
input.ml_function_button_createaccountRegister').click
 endend
   
   2. 
   
   
   
   When(/^I click on sign in$/) do-> I am getting the error here
on(Homepage).sign_in
   end
   
   
   3. 
   
   Scenario: User needs to create a new account
   4. 
   
   Given I am on xxx homepage
   
   5. 
   
   When I click on sign in   -> I am getting the error here
   6. 
   
   And I fill the user information
   7. 
   
And I click Create Account 
   8. 
   
   Then I should see the user details
   
I am getting this error Watir::Exception::UnknownObjectException: unable to 
locate element, using {:css=>"div.links-static ul li.account 
div#login_user_data a.account"}
./features/lib/pages/Homepage.rb:12:in `sign_in'
./features/step_definitions/Homepage_steps.rb:6:in `/^I click on sign in$/'
./features/Homepage.feature:9:in `When I click on sign in'

When I run the scenario what exactly I experienced is:- The browser is 
opened but the url is not displaying in search bar, in search bar it is 
displaying the "data:,". I don't know why it is displaying the data.


Thank You,
Ajay.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] "watir webdriver cannot select checkbox input element"

2016-08-09 Thread Literate Aspects
Please, any suggestions greatly appreciated.

Attempting to identify the element to be able to check the checkbox.

REF:  "watir webdriver cannot select checkbox input element"

SELECTOR: #sv
ELEMENT: 

Please, any suggestions greatly appreciated.  I have tried:

FROM:  b.span(:text, 'Svenska').click
IRB returns: Unable to locate element

FROM:  b.span(:text, 'sv').click
IRB returns:  Unable to locate element

FROM:  b.execute_script("$('input:checkbox[id=\"sv\"]').attr('checked', 
'checked');")
IRB returns: nil

FROM:  b.execute_script("document.getElementById('sv').click();")
IRB returns: nil

FROM:  b.checkbox(:id => 'sv').fire_event :onmousedown
IRB returns: false

FROM:  b.checkbox(:id => 'sv').fire_event :onclick
IRB returns: true

FROM:  b.checkbox(:id => 'sv').fire_event :click
IRB returns: true

FROM:  b.checkbox(:id => 'sv').when_present.set
IRB returns: time out (30 seconds)

FROM:  b.checkbox(:id => 'sv').fire_event :set
IRB returns: true

FROM:  b.checkbox(:id => 'sv').fire_event :hover
IRB returns: true

FROM:  b.input(:id, "sv").to_subtype.set
IRB returns:  Element is currently not visible

FROM:  b.select_list(:id => 'sv').option(:text => 'sv').select
IRB returns:  Unable to locate element

FROM:  b.input(:id, "sv").set
IRB returns:  located=false

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] "watir webdriver cannot select checkbox input element"

2016-08-09 Thread Literate Aspects
Please, any suggestions greatly appreciated.

Attempting to identify the element to be able to check the checkbox.

REF:  "watir webdriver cannot select checkbox input element"

SELECTOR: #sv
ELEMENT: 

Please, any suggestions greatly appreciated.  I have tried:

FROM:  b.span(:text, 'Svenska').click
IRB returns: Unable to locate element

FROM:  b.span(:text, 'sv').click
IRB returns:  Unable to locate element

FROM:  b.execute_script("$('input:checkbox[id=\"sv\"]').attr('checked', 
'checked');")
IRB returns: nil

FROM:  b.execute_script("document.getElementById('sv').click();")
IRB returns: nil

FROM:  b.checkbox(:id => 'sv').fire_event :onmousedown
IRB returns: false

FROM:  b.checkbox(:id => 'sv').fire_event :onclick
IRB returns: true

FROM:  b.checkbox(:id => 'sv').fire_event :click
IRB returns: true

FROM:  b.checkbox(:id => 'sv').when_present.set
IRB returns: time out (30 seconds)

FROM:  b.checkbox(:id => 'sv').fire_event :set
IRB returns: true

FROM:  b.checkbox(:id => 'sv').fire_event :hover
IRB returns: true

FROM:  b.input(:id, "sv").to_subtype.set
IRB returns:  Element is currently not visible

FROM:  b.select_list(:id => 'sv').option(:text => 'sv').select
IRB returns:  Unable to locate element

FROM:  b.input(:id, "sv").set
IRB returns:  located=false

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir-webdriver throws 'not clickable' error even when element is visible, present

2016-04-19 Thread 'John Fitisoff' via Watir General
Yeah, that's annoying. Think I filed a Webdriver bug a one point (I wasn't the 
only one) but not sure if they ever did anything with it. 

If you don't have to use Chrome, It might be worth trying Firefox. Driver 
install is not required for that and it's a little less fussy, although think I 
saw a similar scrolling problem with a recent version. 
You could also try send_keys to get the browser to scroll up or down 
conditionally, as needed (you may have to set the focus on a non-editable 
element before doing the send_keys so that they don't go to some element 
instead of the browser.) 
b.send_keys :space          # Down one frame.
b.send_keys :shift, :space # Up one frame.   From: Awesome Possum 

 To: Watir General  
 Sent: Monday, April 18, 2016 7:16 PM
 Subject: [wtr-general] Watir-webdriver throws 'not clickable' error even when 
element is visible, present 
   
I am trying to automate tests in Ruby using the latest Watir-Webdriver 0.9.1, 
Selenium-Webdriver 2.53.0 and Chrome extension 2.21. However the website that I 
am testing has static headers at the top or sometimes static footers at the 
bottom. Hence since Watir auto-scrolls an element into view before clicking, 
the elements get hidden under the static header or the static footer. I do not 
want to set desired_capabitlites (ElementScrollBehavior) to 1 or 0 as the 
websites I am testing can have both - static header or static footer or 
both.Hence the question are 1) Why does Watir throw an exception 'Element not 
clickable' even when the element is visible and present? See ruby code ( I have 
picked a random company website for an example) and the results below.2) How 
can I resolve this without resorting to ElementScrollBehaviour?
Ruby code:
require 'watir-webdriver'

browser = Watir::Browser.new :chrome

begin
  # Step 1
  browser.goto "shop.coles.com.au/online/mobile/national"

  # Step 2 - click on 'Full Website' link at the bottom
  link = browser.link(text: "Full website")

  #check if link exists, present and visible?
  puts link.exists?
  puts link.present?
  puts link.visible?

  #click on link
  link.click

rescue => e
  puts e.inspect
ensure
  sleep 5
end

puts browser.url
browser.close
Result:
$ ruby link_not_clickable.rbtrue true 
trueSelenium::WebDriver::Error::UnknownError: unknown error: Element is not 
clickable at point (460, 1295). Other element would receive the click: div 
class="shoppingFooter"...div(Session info: chrome=50.0.2661.75) (Driver info: 
chromedriver=2.21.371459 
(36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.10.5 
x86_64)>http://shop.coles.com.au/online/mobile/nationalthanks!
-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir-webdriver throws 'not clickable' error even when element is visible, present

2016-04-19 Thread Awesome Possum


I am trying to automate tests in Ruby using the latest Watir-Webdriver 
0.9.1, Selenium-Webdriver 2.53.0 and Chrome extension 2.21. However the 
website that I am testing has static headers at the top or sometimes static 
footers at the bottom. Hence since Watir auto-scrolls an element into view 
before clicking, the elements get hidden under the static header or the 
static footer. I do not want to set desired_capabitlites 
(ElementScrollBehavior) to 1 or 0 as the websites I am testing can have 
both - static header or static footer or both.

Hence the question are 1) Why does Watir throw an exception 'Element not 
clickable' even when the element is visible and present? See ruby code ( I 
have picked a random company website for an example) and the results below.

2) How can I resolve this without resorting to ElementScrollBehaviour?
Ruby code:

require 'watir-webdriver'

browser = Watir::Browser.new :chrome
begin
  # Step 1
  browser.goto "shop.coles.com.au/online/mobile/national"

  # Step 2 - click on 'Full Website' link at the bottom
  link = browser.link(text: "Full website")

  #check if link exists, present and visible?
  puts link.exists?
  puts link.present?
  puts link.visible?

  #click on link
  link.click
rescue => e
  puts e.inspectensure
  sleep 5end

puts browser.url
browser.close

Result:

$ ruby link_not_clickable.rb

true 

true 

true

Selenium::WebDriver::Error::UnknownError: unknown error: Element is not 
clickable at point (460, 1295). Other element would receive the click: div 
class="shoppingFooter"...div

(Session info: chrome=50.0.2661.75) (Driver info: chromedriver=2.21.371459 
(36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.10.5 
x86_64)>http://shop.coles.com.au/online/mobile/national

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir ignores the maximum character length on a text field.

2016-03-14 Thread Sharma Vishav
Hi
Also check how the validation on the field are getting triggered. Sometimes
when you type using libraries it does not trigger the field validation code
as opposed to when you type data manually in text field.

Regards
Vish

On Tuesday, 15 March 2016, Titus Fortner  wrote:

> Is this the case for multiple browsers? Do you have a reproducible test
> case we can look at?
>
> Thanks,
> Titus
>
>
> On Monday, March 14, 2016 at 6:35:22 PM UTC-5, Damien Wood wrote:
>>
>> Hi,
>>
>> I have an Angular front end and I am using Watir to test.
>>
>> One of the text fields 'First Name' has a max character length of 32.
>>
>> When I try entering something with 33 characters manually, as you would
>> expect, it gets to 32 then stops me entering anything more.
>>
>> However, if I use Watir to enter the text I can send it as many as I
>> like. It seems to totally ignore the maximum length of the field.
>>
>> On a related note I can also enter special characters, for example '!' in
>> the field which I cannot do manually using the keyboard.
>>
>> Anyone come across anything like this?
>>
>> Cheers,
>> Damo
>>
> --
> --
> 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
> 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir ignores the maximum character length on a text field.

2016-03-14 Thread Damien Wood
Hi, 

I have an Angular front end and I am using Watir to test.

One of the text fields 'First Name' has a max character length of 32. 

When I try entering something with 33 characters manually, as you would 
expect, it gets to 32 then stops me entering anything more. 

However, if I use Watir to enter the text I can send it as many as I like. 
It seems to totally ignore the maximum length of the field.

On a related note I can also enter special characters, for example '!' in 
the field which I cannot do manually using the keyboard. 

Anyone come across anything like this?

Cheers,
Damo

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir-Webdriver and Docker

2016-01-29 Thread tkp
*Aim : *Dockerizing Watir-Webdriver tests

*Environment:*
 OS : Ubuntu 14.04
 Browser : FF 43
 Docker : v1.7.1

*Issue:*
Currently it is observed that opening a browser instance and navigating to 
a website is very slow
when triggered from within a Docker instance. I compared the times for 
loading heavy webpages
like yahoo.com from within Docker and from the host machine (ubuntu) but 
the performance is
pretty much the same. The difference in behavior is seen while using Watir 
to automate browser
actions.
Has anyone encountered anything similar?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Basis (Help ?)

2015-11-12 Thread Nida Anwaar
Hi everyone :)

i was just searching for any testing tool to give presentation in my 
university & i found Watir. The thing that attracts me to choose Watir is 
its user list which includes SAP, Facebook & Yahoo etc.
i'm new to the testing tools i have never used any testing tool before. can 
someone please help me know the basics of  Watir & for what type of testing 
it's used? & tell me a lil that how to start using it ?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir+Webdriver/Cucumber + Appium on Sauce Labs

2015-09-28 Thread Farooq
Has anyone successfully gotten this config to 
work: Watir+Webdriver/Cucumber + Appium on Sauce Labs?

Haven't found much online...

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] WATIR locks up when button is clicked in Compatibilty Mode

2015-09-18 Thread Mike Malandra
I am using Ruby 2.0.0 with Watir-Classic 4.2.0 on Windows 7 64 bit with 
IE11.

I have a script that works entirely fine when working with IE8. A button is 
clicked, the next page loads, and the expected functionality continues 
until the end of the script.

However, I'm running into an issue when running the same script on a 
machine with IE11 running with the site in compatibility mode. 

When I click the same button, the entire WATIR process seems to lock up. I 
eventually get a timeout and the script fails.  Once the script fails, I 
attempt to maximize the window and take a screenshot. This can take 
anywhere from 1 minute to 10 minutes after the process locks up (which is 
not normal, it usually only take a moment to take a screenshot). While this 
is occurring, I also can not attach to the browser through an IRB session. 
 The same steps can still be performed manually without issue - I can click 
the button just fine and the next page loads, so this is an automation only 
issue.

Another weird part is this is NOT 100% of the time, and occurs on my 
machine and our webapps with about 80% repeatability. Sometimes the script 
continues normally, which leads me to believe this is some sort of race 
condition with compat mode. Even weirder is the fact that my colleague, who 
has the same system setup as mine, does not run into this issue - though 
his machine does tend to run slower than mine.

Does anyone have any suggestions for working around this issue? We need to 
upgrade to IE11 for other scripts, but obviously cannot until we resolve 
this issue.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Users List

2015-05-19 Thread Ilya N
Hello,

We use Watir for customized automation scripts for our consulting clients; 
I would like to say thank you and am including the logo/link 
(https://appmint.co) if you'd like to add it to your list of users as well.

Thank you for your help.

Best Wishes,
Ilya

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-03-10 Thread Titus Fortner
Yes, this is a known issue with Selenium 2.45 and Firefox 36.
The issue is being tracked here:
https://code.google.com/p/selenium/issues/detail?id=8551

You can set your version of Watir to watir-webdriver 0.6.11 and Selenium to
selenium-webdriver 2.44, but it might require downgrading to Firefox 33
(last officially supported version of selenium-webdriver 2.44).

Titus

On Wed, Mar 4, 2015 at 7:16 AM, Andrew Deschain  wrote:

> I recently updated the watir-webdriver gem and i was pretty surprised that
> the execution speed of my has significantly decreased.
> Does anyone else experiences this issue or/and know how to overcome this?
>
> Stack:
> Mac OS 10.9.5
> Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]
> watir-webdriver 0.7.0
> FF 36
>
> Help is very appreciated. 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2015-03-10 Thread Andrew Deschain
I recently updated the watir-webdriver gem and i was pretty surprised that 
the execution speed of my has significantly decreased.
Does anyone else experiences this issue or/and know how to overcome this?

Stack:
Mac OS 10.9.5
Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]
watir-webdriver 0.7.0
FF 36

Help is very appreciated. 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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir-webdriver using ruby on skype...hope it will useful to everyone

2015-02-18 Thread rocky
Dear all,

Sharing knowledge on skype,who are all interest send your skype id so that 
we can solve  watir-webdriver issues instantly.

Hope it will useful to all .."*sharing your knowledge is key to success*
 "

Regards,
Sri.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Brian Ray
Yep. We use a Before hook to cache all scenario tags in an instance 
variable for, among other things, use in After hooks. This is the Ruby 
flavor of Cucumber, btw.

Before do |scenario|
  @scenario_tags = scenario.source_tag_names
  ...


But you can also "natively" have tag-specific After hooks. Here's an 
example that uses both.

After('@foo') do
  case @scenario_tags.join(" ")
when /@some_regex/ ...


On Tuesday, February 10, 2015 at 6:44:33 AM UTC-8, Oscar.Rieken wrote:
>
> I would guess that is more of a cucumber thing
>
> On Thu, Feb 5, 2015 at 10:54 AM, Michael Kirkpatrick  > wrote:
>
>> I was wondering if the tags are stored in an array somewhere and can be 
>> access so that you can do different after hooks say for Jira or other 
>> plugins?
>>
>> Thanks, 
>>
>>
>>  -- 
>> -- 
>> Before posting, please read http://watir.com/support. In short: search 
>> before you ask, be nice.
>>  
>> watir-...@googlegroups.com 
>> http://groups.google.com/group/watir-general
>> watir-genera...@googlegroups.com 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-genera...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Oscar Rieken
I would guess that is more of a cucumber thing

On Thu, Feb 5, 2015 at 10:54 AM, Michael Kirkpatrick 
wrote:

> I was wondering if the tags are stored in an array somewhere and can be
> access so that you can do different after hooks say for Jira or other
> plugins?
>
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Michael Kirkpatrick
I was wondering if the tags are stored in an array somewhere and can be 
access so that you can do different after hooks say for Jira or other 
plugins?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Job in SF

2015-01-28 Thread 'John Fitisoff' via Watir General
Hi all,
My company (Recurly) is looking for a QA engineer with Ruby experience to join 
and help with manual testing and support an existing automation effort. We're 
using Watir and RSpec. The position will involve a lot of scripting and we'll 
be looking for someone with good Ruby programming skills. Job description is 
below. If you're interested, please submit a resume via the website (better not 
to post back to the group directly.)
Thanks
John
Join Our Team | Jobs | Recurly}

|   |
|   |  |   |   |   |   |   |
| Join Our Team | Jobs | Recurly}Join the Recurly team. Apply to one of our 
open positions today. |
|  |
| View on recurly.com | Preview by Yahoo |
|  |
|   |


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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir-classic execute_script no longer working in IE11

2015-01-16 Thread Jim Evans
Sorry, no. The Windows Update in question breaks a ton of functionality when 
you try to automate IE from out of process. However, the February cumulative 
update should resolve the issue, if the last comment (from a Microsoft 
employee) on the Microsoft Connect report is to be believed.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir-classic execute_script no longer working in IE11

2015-01-16 Thread Chris E
Hello all,

Recently Microsoft submitted a patch that appears to break/remove 
*ExecuteScript. *I think this is causing *driver.execute_script* to fail 
with access denied error message when using watir-classic.
Since IE11 removes support for *ExecuteScript*, is it possible to use *eval 
*instead?

*Environment:*
Win7x64.
ruby 2.0.0p195 (2013-05-14) [i386-mingw32]
IE11 v11.0.9600.175.01. 
Update version: 11.0.15 kb3008923

*Relevant links:*
https://connect.microsoft.com/IE/feedback/details/1078055/executescript-failing-with-access-denied-when-kb3025390-is-installed
http://msdn.microsoft.com/en-us/library/ie/bg182625(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ie/ms536420(v=vs.85).aspx

*Error message:*
irb(main):043:0> driver.execute_script(';')
WIN32OLERuntimeError: (in OLE method `execScript': )
OLE error code:80070005 in 
  Access is denied.

HRESULT error code:0x80020009
  Exception occurred.
from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:29:in
 
`method_missing'
from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:29:in
 
`rescue in execute_script'
from 
c:/Ruby200/lib/ruby/gems/2.0.0/gems/watir-classic-3.7.0/lib/watir-classic/page-container.rb:22:in
 
`execute_script'
from (irb):43
from c:/Ruby200/bin/irb:12:in `'
irb(main):044:0>

Thanks for the help.
-Chris

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Ruby scripts not running consecutively correctly

2015-01-07 Thread Ma St
*Issue:*  I am using code I grabbed from another post, which I have 
included that should kick off my ruby scripts in consecutive order.  I have 
two ruby test scripts (TestResearch.rb and TestResearch2.rb).  I have a 
main script (mainscript.rb).  There are two issues when I kick off the 
mainscript file that should then kick off my two ruby test script files:
 
1.  Why do I have to put the full path for my two test files?  It doesn't 
recognize the files even though I am running my main script from the same 
location as the test files.
2.  Why does TestResearch2.rb kick off before TestResearch.rb is finished?  
What in TestResearch.rb indicates to the main script that it has finished 
processing?
 
*MainScript.rb*
require 'I:\Notes\Automation\Scripts\TestResearch' 
require 'I:\Notes\Automation\Scripts\TestResearch2'
 
class TS_MyTests
def setup
#CBrowser.openMyBrowser()
end
def teardown
#CBrowser.closeMyBrowser() 
Test::Unit::UI::Reporter.run(TS_MyTests.suite, 
'I:/Notes/Automation/Results',:html)
end
def self.suite
#Test::Unit::UI::Console:: TestRunner.new(suite).start
suite = Test::Unit::TestSuite.new("All tests")
suite << TC_TestResearch.suite
suite << TC_TestResearch2.suite
#Test::Unit::UI::Console:: TestRunner.new(suite).start
FileUtils.mkdir_p 'I:/Notes/Automation/Results/report'
#Test::Unit::UI::Reporter.run(TS_MyTests.suite, 'C:/Program 
Files/Watir/examples/test_cases/report',:html) 
return suite
end
end

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] watir xpath how to use variable

2015-01-04 Thread Sohail Mirza
Hi,
yep you're right. i missed basic topic "How to use variables inside strings"
i got it and my code is working fine.



On Sat, Jan 3, 2015 at 8:00 PM, Oscar Rieken  wrote:

> I would suggest you take some time and learn how ruby works, and how to
> manage strings.
>
> On Fri, Jan 2, 2015 at 10:23 AM, Sohail Mirza  wrote:
>
>> Hi Joe
>>
>> I am getting the following error.
>>
>> *Code:*
>> $rowCount = @browser.table(:class, 'table table-hover table-condensed
>> table-bordered table-striped ng-scope ng-table').rows.size
>> @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr[$rowCount-2]/td[1]/input[1]').when_present.set
>> 'w1'
>>
>> puts $rowCount // This print 6. if i inspect the last row and copy xpath
>>
>> *xpath:*
>>
>> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
>> *tr[4]*/td[1]/input[1]
>>
>> so, i just replaced xpath as following 
>>
>>
>> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
>> *tr[4]*/td[1]/input[1]
>>
>> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
>> *tr[$rowCount-2*]/td[1]/input[1]')
>>
>> Note: my table has 6 rows .. 2 rows are being considered from header.
>>
>> *Error*
>>   timed out after 30 seconds, waiting for
>> {:xpath=>"/html/body/div/div[4]/di
>> v/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr*[$rowCount-2*
>> ]/td[1]/in
>> put[1]", :tag_name=>"input or textarea", :type=>"(any text type)"} to
>> become pre
>> sent (Watir::Wait::TimeoutError)
>>   ./features/step_definitions/ManageConsumables.rb:23:in `/^I enter
>> required
>>  information$/'
>>   features\ManageConsumables.feature:4:in `When I enter required
>> information
>>
>> On Wed, Dec 31, 2014 at 9:14 PM, Joe Fleck  wrote:
>>
>>> Hi,
>>>
>>> What is the error you are receiving?
>>>
>>> Joe
>>> On Dec 31, 2014 4:08 AM, "Sohail Mirza"  wrote:
>>>
 Can we use variable for XPath property?

 The following line of codes failing

 $rowCount = @browser.table(:class, 'table table-hover table-condensed
 table-bordered table-striped ng-scope ng-table').rows.size


 @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
 tr[*$rowCount*-2]/td[1]/input[1]').when_present.set 'test'

 Any comments?

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

 ---
 You received this message because you are subscribed to the Google
 Groups "Watir General" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>  --
>>> --
>>> 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
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Watir General" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to watir-general+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir Genera

Re: [wtr-general] watir xpath how to use variable

2015-01-03 Thread Oscar Rieken
I would suggest you take some time and learn how ruby works, and how to
manage strings.

On Fri, Jan 2, 2015 at 10:23 AM, Sohail Mirza  wrote:

> Hi Joe
>
> I am getting the following error.
>
> *Code:*
> $rowCount = @browser.table(:class, 'table table-hover table-condensed
> table-bordered table-striped ng-scope ng-table').rows.size
> @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr[$rowCount-2]/td[1]/input[1]').when_present.set
> 'w1'
>
> puts $rowCount // This print 6. if i inspect the last row and copy xpath
>
> *xpath:*
>
> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
> *tr[4]*/td[1]/input[1]
>
> so, i just replaced xpath as following 
>
>
> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
> *tr[4]*/td[1]/input[1]
>
> /html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
> *tr[$rowCount-2*]/td[1]/input[1]')
>
> Note: my table has 6 rows .. 2 rows are being considered from header.
>
> *Error*
>   timed out after 30 seconds, waiting for
> {:xpath=>"/html/body/div/div[4]/di
> v/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr*[$rowCount-2*
> ]/td[1]/in
> put[1]", :tag_name=>"input or textarea", :type=>"(any text type)"} to
> become pre
> sent (Watir::Wait::TimeoutError)
>   ./features/step_definitions/ManageConsumables.rb:23:in `/^I enter
> required
>  information$/'
>   features\ManageConsumables.feature:4:in `When I enter required
> information
>
> On Wed, Dec 31, 2014 at 9:14 PM, Joe Fleck  wrote:
>
>> Hi,
>>
>> What is the error you are receiving?
>>
>> Joe
>> On Dec 31, 2014 4:08 AM, "Sohail Mirza"  wrote:
>>
>>> Can we use variable for XPath property?
>>>
>>> The following line of codes failing
>>>
>>> $rowCount = @browser.table(:class, 'table table-hover table-condensed
>>> table-bordered table-striped ng-scope ng-table').rows.size
>>>
>>>
>>> @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
>>> tr[*$rowCount*-2]/td[1]/input[1]').when_present.set 'test'
>>>
>>> Any comments?
>>>
>>>  --
>>> --
>>> 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
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Watir General" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to watir-general+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] watir xpath how to use variable

2015-01-02 Thread Sohail Mirza
Hi Joe

I am getting the following error.

*Code:*
$rowCount = @browser.table(:class, 'table table-hover table-condensed
table-bordered table-striped ng-scope ng-table').rows.size
@browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr[$rowCount-2]/td[1]/input[1]').when_present.set
'w1'

puts $rowCount // This print 6. if i inspect the last row and copy xpath

*xpath:*
/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
*tr[4]*/td[1]/input[1]

so, i just replaced xpath as following 

/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
*tr[4]*/td[1]/input[1]
/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
*tr[$rowCount-2*]/td[1]/input[1]')

Note: my table has 6 rows .. 2 rows are being considered from header.

*Error*
  timed out after 30 seconds, waiting for
{:xpath=>"/html/body/div/div[4]/di
v/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/tr*[$rowCount-2*
]/td[1]/in
put[1]", :tag_name=>"input or textarea", :type=>"(any text type)"} to
become pre
sent (Watir::Wait::TimeoutError)
  ./features/step_definitions/ManageConsumables.rb:23:in `/^I enter
required
 information$/'
  features\ManageConsumables.feature:4:in `When I enter required
information

On Wed, Dec 31, 2014 at 9:14 PM, Joe Fleck  wrote:

> Hi,
>
> What is the error you are receiving?
>
> Joe
> On Dec 31, 2014 4:08 AM, "Sohail Mirza"  wrote:
>
>> Can we use variable for XPath property?
>>
>> The following line of codes failing
>>
>> $rowCount = @browser.table(:class, 'table table-hover table-condensed
>> table-bordered table-striped ng-scope ng-table').rows.size
>>
>>
>> @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
>> tr[*$rowCount*-2]/td[1]/input[1]').when_present.set 'test'
>>
>> Any comments?
>>
>>  --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to watir-general+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] watir xpath how to use variable

2014-12-31 Thread Joe Fleck
Hi,

What is the error you are receiving?

Joe
On Dec 31, 2014 4:08 AM, "Sohail Mirza"  wrote:

> Can we use variable for XPath property?
>
> The following line of codes failing
>
> $rowCount = @browser.table(:class, 'table table-hover table-condensed
> table-bordered table-striped ng-scope ng-table').rows.size
>
>
> @browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
> tr[*$rowCount*-2]/td[1]/input[1]').when_present.set 'test'
>
> Any comments?
>
>  --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Watir General" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to watir-general+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir xpath how to use variable

2014-12-31 Thread Sohail Mirza
Can we use variable for XPath property?

The following line of codes failing

$rowCount = @browser.table(:class, 'table table-hover table-condensed
table-bordered table-striped ng-scope ng-table').rows.size


@browser.text_field(:xpath,'/html/body/div/div[4]/div/div[2]/div/lookup-grid/div/div/div[1]/div/table/tbody/
tr[*$rowCount*-2]/td[1]/input[1]').when_present.set 'test'

Any comments?

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir - Unable to capture Span Element Text value

2014-12-29 Thread Ma St
I am attempting to figure out how to capture an element's text value (ex. 
span id text value = "Welcome"), but I keep getting an error that it is 
unable to locate the value.  The following is my statement in the ruby 
file.  I tried online forums and documentation, but the syntax seems 
tricky.  Is there something about the syntax that is off?  I can report on 
the URL, so I know it sees my webpage.  I tried specifying the span id as a 
tag, but that does not work either.  
 
*.rb file*
mark = @browser.div(:id => "content-holder")
p mark
 
*Error:*
#"content-holder", 
:tag_name=>"div
"}>
 
*HTML:*


 
 






*Welcome*

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir - Identifying a Span ID and its Text Element - False

2014-12-29 Thread Ma St
I have reviewed many posts, but am unable to get passed this.  I am 
basically trying to verify if the text on the web page is displayed.  The 
text is "Welcome" under a span id element.  It is not clear what the syntax 
should be when referencing the text under the span id.  I get an error that 
reads that it cannot find my element.  Is there a special format I should 
follow?  I am new to Watir and struggling to find documentation on how to 
identify elements.  I find the documentation, but when I put into practice, 
I get this error. Thanks.
 
*Error:*
"#"content-holders", 
:tag_name=>"div"}>"
 
*HTML:*


 
 






Welcome*
 
*My Ruby File:*
p @browser.driver.current_url
mark = @browser.div(:id => "content-holders")

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir fully loaded pages

2014-12-09 Thread Alexander Alyoshin
Sometimes the site loads very long time, so watir will wait until it is 
fully loaded (at the end of the page is loaded the script, google, 
Analytics, and so on). How to make he didn’t do it? I wish he didn’t wait 
until it loads all the scripts, and gave me the html as soon as possible.

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir cucumber

2014-10-22 Thread c w
Hi I have a question.

I am using testgen gem and created the project and i get the
hooks.rb which contains


require 'watir-webdriver'


Before do
  @browser = Watir::Browser.new :firefox

end


After do
  @browser.close
end


No I have no idea what i have to do to not use it. I want to run all
scenarios on the same browser.

Can one help me and telling me what do I have to do?


Kind reards,
Cristina

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [wtr-general] Watir + Rspec + POM a good combination?

2014-09-04 Thread Mariano Giagante
* A good structure you can use is the one automatically generated by 
testgen gem.
* The book Cucumber & Cheese would be an amazing starting point for you, 
since you want to use Page Object Model.

Hope it helps.
Mariano.

El viernes, 27 de junio de 2014 15:29:05 UTC-3, Avinash Duggirala escribió:
>
> Thanks for the replies.
>
> But I need some start up suggestions in this regard
>
> 1. Is there any standard folder structure to follow while implementing 
> Watir web-driver +  R-Spec framework ?
> 2. Need some inputs regarding execution flow for this combination.
>
>
> Regards,
> Avinash
>
> On Saturday, June 21, 2014 5:13:58 PM UTC+5:30, Jarmo Pertman wrote:
>>
>> Don't forget the easiest one called test-page - 
>> https://github.com/jarmo/test-page
>>
>> Jarmo Pertman
>> -
>> IT does really matter - http://itreallymatters.net
>>
>> On Friday, June 20, 2014 11:28:53 PM UTC+3, Rafael Lima wrote:
>>>
>>> I know of two gems that you can use for Page Objects : Taza and Page 
>>> Object. 
>>>
>>> On Monday, June 16, 2014, Avinash Duggirala  wrote:
>>>
 Hi all,

 I am new to Watir. I have explored to create a project with combination 
 of Watir Webdriver + Rspec Framework + POM.

 I need suggestions whether choosing this combination is a good option 
 or not?While exploring I could not find any example project in this 
 combination. I got examples for Watir Webdriver + Rspec Framework. When I 
 thought to enhance the existing project to Page Object Model I didn't find 
 a good example to start with. Please suggest me an example in this regard.

 ~Avinash Duggirala

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

 --- 
 You received this message because you are subscribed to the Google 
 Groups "Watir General" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to watir-general+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>> -- 
>>> Rafael
>>>  
>>> "Você deve ser a mudança que quer ver no mundo."
>>>
>>>   Mahatma Gandhi
>>>
>>

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir(-webservice) for windows mobile

2014-08-28 Thread Giel Raijmakers
Hi all, 
Kind of a new with Watir for mobile. 
I have seen that it is possible to use watir for iOS and Android, but is it 
also possible to use it for windows mobile??

A customer has a cross platform application, HTML5 and it takes a lot of 
time to test all functionality on all devices. 
I'm investigating now how we can automate this. Biggest issue is to test 
all android versions (on HTC, Samsung, etc), but also the windows mobile is 
a big sales point. 

So, any suggestions? 

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir can't find drop down menu items

2014-08-28 Thread agent2215
I'm trying to call an item from the drop down menu. When I inspect it, i 
get this;



How do I call this menu? 

Thank you

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir - Split Button Issues

2014-07-30 Thread vramsdavuluri
Hi,

In my web application, I see the Split button where I need to type value 
and click on the button with automation. But I am unable to click on that, 
can you please refer the attachment and suggest me to proceed further.

Attachments:
1. Split button.png - contains the picture of split button and down arrow 
which need to clicked
2. html source.png - shows the html source details and highlighted in blue 
line in the image is source details when I manually click on the split 
button
3. Drop down.png - after clicking on the split button manually, the drop 
down displays. Attached for your reference.


Thanks,
Rams

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir/thread - Segmentation fault Ruby 1.9.3-p545 - I probably found a bug

2014-07-29 Thread u . gotzes
Hi,

the following little script produces a segmentation fault when executed 
with Ruby 1.9.3-p545 under Windows.
__

require 'watir'
Thread.new{Watir::Browser.new}.join
__

Best regards,

Uwe

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] watir/thread - Segmentation fault Ruby 1.9.3-p545

2014-07-28 Thread u . gotzes
require 'watir'
Thread.new{Watir::Browser.new}.join

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[wtr-general] Watir Webdriver Safari : A modal dialog was opened. The SafariDriver does not support interacting with modal dialogs

2014-07-21 Thread Dimitri Reynaga


While using the watir safari webdriver, the webdriver terminates as soon as 
it encounters an alert pop-up. Are there any workarounds that will either 
allow Safari webdriver to function properly with alerts, or to prevent the 
alerts from appearing at all?

$driver.button(:xpath, "//button[@class='btn btn-success 
btn-success-red']").wait_until_present
$driver.button(:xpath, "//button[@class='btn btn-success 
btn-success-red']").click

$driver.alert.ok()
  $log.info("create organization successful")

error:

/Users/usr/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/safari/bridge.rb:73:in
 raw_execute': 
A modal dialog was opened. The SafariDriver does not support interacting 
with modal dialogs. To avoid hanging your test, the alert has been 
dismissed. For more information, see 
http://code.google.com/p/selenium/issues/detail?id=3862 
(Selenium::WebDriver::Error::UnhandledAlertError) from 
/Users/usr/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/remote/bridge.rb:612:in
 
execute' from 
/Users/usr/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/remote/bridge.rb:369:in
 clickElement' 
from 
/Users/usr/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.42.0/lib/selenium/webdriver/common/element.rb:54:in
 
click' from 
/Users/usr/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/watir-webdriver-0.6.10/lib/watir-webdriver/elements/element.rb:132:in
 click' 
from /Users/usr/Documents/workspace/TTQA 
Safari/tttestlibrary.rb:47:increate_org' 
from /Users/usr/Documents/workspace/TTQA Safari/ttorgusercompare.rb:23:in 
org_user_compare' 
from /Users/usr/Documents/workspace/TTQA Safari/ttorgusercompare.rb:34:in'

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

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   4   5   6   7   8   9   10   >