Couple things of interest. Protractor is a mostly "dead" project from 
Google right now. The automatic wait code in both it and watir_angular 
still work well for AngularJS, but some Angular 2+ components make it 
impossible to use it. For people who want to test in JavaScript, I 
recommend checking out webdriver.io.



On Tuesday, May 28, 2019 at 12:09:51 PM UTC-5, rajagopalan madasami wrote:
>
> Thank you very much, tomorrow morning I will give you all the detail . 
> It's very important bfir me now because I started automating AngularJS 
> application now. Another person bis automating protrator and I am doing the 
> same in watir.
>
> On Tue, 28 May, 2019, 10:34 PM Titus Fortner, <titusf...@gmail.com 
> <javascript:>> wrote:
>
>> Yeah put the details here. I'll see if I can reproduce it: 
>> https://github.com/titusfortner/watir_angular/issues/new
>>
>> On Tuesday, May 28, 2019 at 10:57:15 AM UTC-5, rajagopalan madasami wrote:
>>>
>>> You are asking me to file a bug in GitHub watir page ?
>>>
>>> On Tue, 28 May, 2019, 7:58 PM Titus Fortner, <titusf...@gmail.com> 
>>> wrote:
>>>
>>>> I'm not sure, it might be a w3c change issue. Can you file an issue on 
>>>> github?
>>>>
>>>>
>>>> On Tuesday, May 28, 2019 at 2:02:02 AM UTC-5, rajagopalan madasami 
>>>> wrote:
>>>>>
>>>>> Hi Titus,
>>>>>
>>>>> I started using your gem 'watir_angular'.
>>>>>
>>>>> I have written the following code
>>>>>
>>>>>
>>>>> b.button(name: 'note-menubutton').click
>>>>> WatirAngular.wait_for_angular(b)
>>>>>
>>>>>
>>>>>
>>>>> But this line `WatirAngular.wait_for_angular(b)` is throwing this error
>>>>>
>>>>>
>>>>> Uncaught exception: Timed out after 30000 ms
>>>>>         WebDriverError@chrome://marionette/content/error.js:179:5
>>>>>         ScriptTimeoutError@chrome://marionette/content/error.js:419:5
>>>>>         
>>>>> evaluate.sandbox/timeoutPromise</scriptTimeoutID<@chrome://marionette/content/evaluate.js:101:16
>>>>>         notify@resource://gre/modules/Timer.jsm:43:17
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/response.rb:72:in
>>>>>  `assert_ok'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/response.rb:34:in
>>>>>  `initialize'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:88:in
>>>>>  `new'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:88:in
>>>>>  `create_response'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/default.rb:114:in
>>>>>  `request'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/http/common.rb:64:in
>>>>>  `call'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/bridge.rb:167:in
>>>>>  `execute'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in
>>>>>  `execute'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/remote/w3c/bridge.rb:310:in
>>>>>  `execute_async_script'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/selenium-webdriver-3.142.0/lib/selenium/webdriver/common/driver.rb:232:in
>>>>>  `execute_async_script'
>>>>>         
>>>>> C:/Ruby26/lib/ruby/gems/2.6.0/gems/watir_angular-0.4.1/lib/watir_angular.rb:13:in
>>>>>  `wait_for_angular'
>>>>>         C:/A/StingRay/AppData/example.rb:18:in `<top (required)>'
>>>>>
>>>>>
>>>>> Do you have any idea as to why?
>>>>>
>>>>> -- 
>>>> -- 
>>>> 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-...@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-...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/watir-general/59d05acc-0d40-48f7-99d4-201bc66e520d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/watir-general/59d05acc-0d40-48f7-99d4-201bc66e520d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> 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 <javascript:>
>> http://groups.google.com/group/watir-general
>> watir-...@googlegroups.com <javascript:>
>> --- 
>> 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-...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/watir-general/f2ce33cd-11de-4035-aebe-ecff691dd402%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/watir-general/f2ce33cd-11de-4035-aebe-ecff691dd402%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/watir-general/cce79664-0716-4a18-9c54-06752274c1a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to