You are welcome!
The order of execution will always be:
iteration 1 -> Before Hook Scenario Steps After Hook
iteration 2 -> Before Hook Scenario Steps After Hook
iteration 3 -> Before Hook Scenario Steps After Hook
This is also a good practice, so that your Scenarios always start from a
Thanks Lakshya for the detailed explanation.
So if I want to execute a scenario 3 times, here is the order of execution
iteration 1 -> Before Hook Scenario Steps After Hook
iteration 2 -> Before Hook Scenario Steps After Hook
iteration 3 -> Before Hook Scenario Steps After Hook
Or is it
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 becaus
Thanks Justin for creating a feature request.
What I have done is I have created a file name monkeypatch.rb and put the
code you have given in there.
Changed the script to use and it passed.
expect(on(MyAccountPage).reward_history?).to be_falsey
Could you please confirm if this is the right way
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 fou
Hi, I have raised this bug in chrome driver here. You may have a look at
here.
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2734
On Thu, 31 Jan, 2019, 11:51 PM Titus Fortner I'm not sure if you got this figured out, this is the best I have as an
> answer, though it looks like it mig
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
Yeah, I don't think profiles are working ideally in Firefox right now, I'm
still investigating some of that right now.
You want to pass this in as a `prefs` value:
Not asking should be default?
So I think it should be this:
Watir::Browser.new(:firefox, options: {prefs:
{"browser.download.folde
I'm not sure if you got this figured out, this is the best I have as an
answer, though it looks like it might have been headless
issue:
https://stackoverflow.com/questions/52281367/cache-is-not-initialized-cannot-retrieveentry-error-for-selenium-chromedriver-w
On Friday, December 28, 2018 at 6
He's been keeping busy. He changed companies a couple times, and is
teaching a BDD workshop in Toronto next
month: https://www.industriallogic.com/canada/
He's posted some things here:
https://www.linkedin.com/in/jeffmorgan5/detail/recent-activity/
There are probably more conversations going on
Since we can't edit our posts, here is a quick update to my answer:
Technically, the correct execution order is Around hook > Before hook >
Scenario > After hook.
--
--
Before posting, please read
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
Also, I would recommend joining the Cucumber channels on Slack
(https://cucumber.io/support#slack) if you have more questions.
--
--
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
Sorry, I assumed otherwise because you posted in the Watir group :).
I haven't used the Around hook before, so I decided to figure it out and
explain it here. Hopefully someone more experienced can chime in if my
answer is incomplete or incorrect.
So, it appears that the Around hook is specifi
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
>> avail
You are correct that #reward_history? calls #exists?. There is no
auto-generated method for #present?.
It is rather unfortunate. Checking presence is probably more common than
checking existence. As a backwards incompatible change, it'll take some
time to change.
If you want, you could monkey-
I have an element defined as
div(:reward_history, :class => 'reward-history-header')
The page-object gem generated four methods for this element which are
'reward_history', 'reward_history_element', and 'reward_history?'
The fourth method 'reward_history?' check if the element exists in the
Why don't you prefer to create your own page object model? Its easy right ?
On Thu, 31 Jan, 2019, 4:27 PM NaviHan Just curious , whats Jeff Morgan doing these days? There has been no posts
> on his website cheezyworld since March 2017.
> Missing his articles on Test Automation.
>
> Is there anyon
Just curious , whats Jeff Morgan doing these days? There has been no posts
on his website cheezyworld since March 2017.
Missing his articles on Test Automation.
Is there anyone Automation Gurus we can follow for day to day reading?
--
--
Before posting, please read
https://github.com/watir/wa
18 matches
Mail list logo