Thanks for your suggestion.
I'm testing a website and I have various data to test but I don't want to
create duplicate steps in different feature files so I want to do is put
the test steps e.g. Login page in one feature file and Account page in
another then pull the input data from a
On Thursday, December 7, 2017 at 12:19:51 PM UTC-8, Jeff Fagot wrote:
>
>
> So now, I would turn my question in a different angle: why is my Browser
> instance @b declared in my *** ENVR.RB *** file known to my *** STEPDEF.RB
> *** file?
> Does it mean that Modules or Class are segregated from
On Friday, December 8, 2017 at 9:14:42 AM UTC-8, 江南 wrote:
>
> Hi,
>
> I have tried the code below but my script just keep loading then I get
> this message: Net::ReadTimeout: Net::ReadTimeout
>
> @browser = Watir::Browser.new :chrome, headless: true
> @browser.goto "www.google.com"
>
> Can
On Friday, December 8, 2017 at 1:54:15 AM UTC-8, 江南 wrote:
>
> Thanks for your suggestion.
>
> I'm testing a website and I have various data to test but I don't want to
> create duplicate steps in different feature files so I want to do is put
> the test steps e.g. Login page in one feature
On Thursday, December 7, 2017 at 12:19:51 PM UTC-8, Jeff Fagot wrote:
>
> Did not get a chance to dive into creating my first Class but I will do
> asap.
> I quite understand the concept of the Page Object (I will still need
> practice to get to the understanding of where exactly should I use it
Hi,
I have tried the code below but my script just keep loading then I get this
message: Net::ReadTimeout: Net::ReadTimeout
@browser = Watir::Browser.new :chrome, headless: true
@browser.goto "www.google.com"
Can someone tell me am I missing something?
Thanks
--
--
Before posting, please
one other thing (see below
On Friday, December 8, 2017 at 1:54:15 AM UTC-8, 江南 wrote:
>
> Thanks for your suggestion.
>
> I'm testing a website and I have various data to test but I don't want to
> create duplicate steps in different feature files so I want to do is put
> the test steps e.g.
This error is due to timeout for pageload, timeout to load the page was set
to 60 seconds, Is your browser taking more than 60 seconds to load the
google?
On Friday, December 8, 2017 at 10:44:42 PM UTC+5:30, 江南 wrote:
>
> Hi,
>
> I have tried the code below but my script just keep loading then
I appreciate all your comments Chuck. AS you suggested I looked at Test
Factory gem and you were right, it gives good nice view of how objects can
be like.
=> I feel like I get the Object usage knowing I'll need practice to master
it.
I am still undecided on whether or not I will continue with