Re: [wtr-general] Not able to create the pull request

2017-10-31 Thread Željko Filipin
https://help.github.com/articles/creating-a-pull-request/

Željko

On Tue, Oct 31, 2017 at 8:16 AM, rajagopalan madasami <
rajagopalanmadas...@gmail.com> wrote:

> Hi,
>
>
>
> I am able to create 'new issue' but I couldn't create the pull request, It
> shows the below screen, what should I do to create the pull?
>
>
>
>
>
>
> ​
>
> --
> --
> 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] Re: Did a Firefox update just break Watir Webdriver?

2015-03-03 Thread Željko Filipin
On Tue, Mar 3, 2015 at 9:44 AM, Chuck van der Linden sqa...@gmail.com
wrote:

 finding older regular FF releases can be, um, fun


https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

Željko

-- 
-- 
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] Cucumber question

2015-01-08 Thread Željko Filipin
On Thu, Jan 8, 2015 at 10:58 AM, vusisimb...@gmail.com wrote:

 I am new to cucumber


This is Watir mailing list. You might get good answers here, but you would
probably get more or better answers at Cucumber mailing list.

Željko

-- 
-- 
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] Fwd: Bazaar 2015

2014-12-18 Thread Željko Filipin
Hi,

I am forwarding this announcement because I think members of the group
could be interested in attending the conference.

Željko Filipin

-- Forwarded message --
From: Bret Pettichord b...@pettichord.com
Date: Fri, Dec 12, 2014 at 7:01 PM
Subject: Bazaar 2015
To: test-automation-baz...@googlegroups.com 
test-automation-baz...@googlegroups.com

I recently posted this announcement.

I am pleased to announce that the Test Automation Bazaar will be held in
Austin, Texas on  January 16-17, 2015 (Fri – Sat). I am convening this
event with Zeljko Filipin https://twitter.com/zeljkofilipin and the
Austin Homebrew Testers, and we are pleased that the event will be
sponsored by the Open Information Foundation
http://www.openinformationfoundation.org/, a non-profit which we have
recently joined and which also sponsors the Citcon http://citconf.com/
 conferences.


http://testingwithvision.wordpress.com/2014/12/10/announcing-test-automation-bazaar-jan-16-17-in-austin/

I have been communicating with several volunteers offline, but am not
asking them to join this list going forward. Please expect to see more
updates about this event here.

Bret

-- 
You received this message because you are subscribed to the Google Groups
Test Automation Bazaar group.
To unsubscribe from this group and stop receiving emails from it, send an
email to test-automation-bazaar+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] How to run script on Chrome and IE Driver?

2014-11-11 Thread Željko Filipin
On Mon, Nov 10, 2014 at 7:10 PM, srinivas kadiyala srinivas...@gmail.com
wrote:

 How to run a script with Chrome and IE Driver ?


Take a look at installation instructions:

https://github.com/watir/watirbook/blob/master/manuscript/installation/windows.md
https://leanpub.com/watirbook/read#leanpub-auto-installation

Željko

-- 
-- 
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] Re: Can I use Watir to automate apps written in node-webkit?

2014-10-25 Thread Željko Filipin
On Sat, Oct 25, 2014 at 4:36 AM, Xuemin Yin xuemin@gmail.com wrote:

 Another question: is it possible to use *watir-webdriver* to do it?


Yes. Watir-webdriver is just an API on top of selenium-webdriver.

Željko

-- 
-- 
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] Re: Can I use Watir to automate apps written in node-webkit?

2014-10-23 Thread Željko Filipin
On Wed, Oct 22, 2014 at 9:45 PM, Xuemin Yin xuemin@gmail.com wrote:

 It's *NOT* launched in a browser, but behaves like one, with a console
 that can be used to inspect the HTML elements liek you would with a Chrome
 browser.


Try launching your app by providing path to it. Something like this:

https://leanpub.com/watirbook/read#leanpub-auto-chromium-1

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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] Unable to find the chromedriver executable

2014-06-09 Thread Željko Filipin
On Thu, Jun 5, 2014 at 2:19 PM, Chaitanya Joshi chaituthegr...@gmail.com
wrote:

 unknown error: chrome failed to start


This is all I know about driving Chrome on Windows:

https://github.com/watir/watirbook/blob/master/installation/windows.md#chrome

Let me know if you can not drive Chrome after following the instructions
there.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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] 你好,4月26号至5月4号,我不在办公室,无法及时查阅邮件,有事电话联系。

2014-05-07 Thread Željko Filipin
Google translate says this is out of office notification. I have enabled
moderation for this e-mail address.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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] Page Object framework

2014-04-14 Thread Željko Filipin
On Mon, Apr 14, 2014 at 3:33 AM, Rafael Lima rafalim...@gmail.com wrote:

 Lately I have been using Cheezy's Page 
 Objecthttps://github.com/cheezy/page-object,
 but I haven't use it in any real project yet, only on some personal stuff
 and so far I'm enjoying it.


We (Wikimedia Foundation) are using it and it works fine for us[1].

Željko
--
1: https://github.com/wikimedia/mediawiki-selenium#links

-- 
-- 
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] Problems with Watir-General

2014-03-20 Thread Željko Filipin
On Thu, Mar 20, 2014 at 4:47 AM, Lonny Eachus lo...@titanez.net wrote:

 We're writing to let you know that the group you tried to contact
 (watir-general) may not exist, or you may not have permission to post
 messages to the group.


Hi,

I am not sure what is the problem. I have checked your membership and
everything looks fine. Do you use multiple e-mail addresses, machines, mail
clients...? Each machine or mail client (home, work, phone...) could be set
up with a different e-mail address.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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] Unable to find chrome driver.

2014-02-14 Thread Željko Filipin
On Thu, Feb 13, 2014 at 10:59 PM, Kevin Clarke kclarkeni...@gmail.comwrote:

 The instructions say put the exe in your path.
 Ok, What path ? I also got the impression that i would need to add the exe
 to the environment variables path.


I have updated the instructions recently:

https://github.com/watir/watirbook/blob/master/installation/windows.md#chrome

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Passing in a host header?

2014-01-10 Thread Željko Filipin
On Thu, Jan 9, 2014 at 11:20 AM, Stephen Nelson-Smith sanel...@gmail.com
wrote:
 1)   The browser goto method just takes a string.  I can't see how to do
anything as clever as pass HTTP headers.


This is how to do it with PhantomJS:

http://stackoverflow.com/a/20568647/17469

I am not sure if it is possible with other browsers.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Re: watir, watir-webdriver, watir-classic: history and current state?

2013-12-30 Thread Željko Filipin
On Wed, Dec 25, 2013 at 6:18 PM, Jarmo Pertman jarm...@gmail.com wrote:

 It's more or less the same.


+1

Željko

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Watir Chrome driver

2013-12-19 Thread Željko Filipin
On Thu, Dec 19, 2013 at 2:23 PM, QOExcel qoex...@gmail.com wrote:

 I want to launch tests with Chrome :


I have recently updated instructions on how to set up everything, including
Chrome:

https://github.com/watir/watirbook/tree/master/installation

Let me know if something still does not work even after following
instructions.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Cheesy gem and right click to the element

2013-12-16 Thread Željko Filipin
On Mon, Dec 16, 2013 at 10:49 AM, QOExcel qoex...@gmail.com wrote:

 self.sheet_arrow_element.when_visible.right_click


Try this:

self.sheet_arrow_element.when_visible.element.right_click

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Connecting to Mongo DB using Watir-Webdriver

2013-10-24 Thread Željko Filipin
On Wed, Oct 23, 2013 at 11:40 PM, Mihir Dhandhusaria mihir...@gmail.comwrote:

 Is there any way to connect to Mongo DB using Watir-webdriver ?


No. Watir drives browsers, it does not know anything about databases. You
should find another gem that handles databases.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Find xpath element

2013-10-10 Thread Željko Filipin
On Thu, Oct 10, 2013 at 11:06 AM, Luis Espla luises...@gmail.com wrote:

 Is there anything like this?
 xpath_element = browser.div(:id = test1).a(:id = elpais).get_xpath


As far as I can see in the method list at
http://watir.github.io/watir-webdriver/doc, no.

Željko

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Dropdown using onchange=javascript:setTimeout(

2013-09-09 Thread Željko Filipin
Please provide HTML that would reproduce the problem or link to the page
where the problem is reproducible. Also, please provide the Ruby code that
produces the error.

Željko
--
https://leanpub.com/watirbook


On Mon, Sep 9, 2013 at 12:16 AM, topgun fifteen gotblinds...@gmail.comwrote:

 Hi Everyone,

 I'm new to watir, and currently having a problem when ajax is present.
 My Scenario is, I should Select the First Industry before the Second
 Industry Shows up.

 Problem is that, it gives me the wrong value.  *Miscellaneous Heavy
 Construction *should be on the last Industry and not in the 2nd
 Industry. Thats why I'm getting this error below right after the Industry 1
 was selected.
 *Here is my error message:
  Watir::Exception::NoValueFoundException: No option with :text,
 :label or :value of Miscellaneous Heavy Construction in this select
 element*
 I'm worried that the onchange=javascript:setTimeout( might be the reason
 why I'm having this.

 What Is the best approach for this? Should I use the wait_until? or there
 is another way doing this right?
 Im using WATIR and data-driven using excel.







  --
 --
 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/groups/opt_out.


-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Dropdown using onchange=javascript:setTimeout(

2013-09-09 Thread Željko Filipin
On Mon, Sep 9, 2013 at 4:25 PM, topgun fifteen gotblinds...@gmail.comwrote:

 Here is my Ruby Error
 Error: test_valid_client(ClientRecord_Create)


You still did not post the Ruby code that causes the error. Also, can you
reproduce the error just with the HTML you have posted?

Željko

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Re: Nokogiri + Watir

2013-08-30 Thread Željko Filipin
On Thu, Aug 29, 2013 at 5:18 PM, Bashir Osman bashiros...@gmail.com wrote:

 I wanted to use Nokogiri to process the DOM then have watir automate that
 DOM without using Nokogiri syntax.


And the problem is? An example would help here.

Željko

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Re: Nokogiri + Watir

2013-08-29 Thread Željko Filipin
On Tue, Aug 20, 2013 at 9:20 PM, Bashir Osman bashiros...@gmail.com wrote:

 So how do I process the DOM with nokogiri then automate it with Watir?


I do not understand the question. What are you trying to do?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.


Re: [wtr-general] Anyone else having trouble with latest chromedriver for mac?

2013-08-06 Thread Željko Filipin
On Sat, Aug 3, 2013 at 12:15 AM, Chuck van der Linden 
cvanderlin...@climate.com wrote:

 Is anyone else that tends to work with a mac and Chrome having problems
 with the latest chromedriver?  after installing it all my scripts started
 failing.


Sounds like a bug in chromedriver to me. Did you report it in their bug
tracker?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] File upload with PhantomJS and Watir-Webdriver doesn't work

2013-08-06 Thread Željko Filipin
On Sat, Jul 27, 2013 at 7:55 PM, Konstantin kisbe...@gmail.com wrote:

 What can I do to make PhantomJS file upload with Watir Webdriver work?


If it works with Firefox but not with PhantomJS, my guess is that it is a
PhantomJS bug. Did you report it in their bug tracker?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Željko Filipin
On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato cta...@gmail.com wrote:

 In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using
 saucelabs)


It could be a Firefox+Windows problem then, or Sauce Labs problem. Did you
contact Sauce Labs support?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Help with Javascript encoded ahref

2013-07-24 Thread Željko Filipin
On Tue, Jul 23, 2013 at 11:40 PM, Bashir Osman bashiros...@gmail.comwrote:

 This is what I am currently using:  browser.link(:title, $2.52).click


This worked for me:

require watir-webdriver
browser = Watir::Browser.new
browser.goto https://qat01.absorbcloud.com/ninja/#/purchase;
browser.a(:title = $2.52).click

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] [watir-webdriver] - How to verify a text on a child window

2013-07-23 Thread Željko Filipin
On Mon, Jul 22, 2013 at 5:17 PM, watir webdriver 
watirwebdriver...@gmail.com wrote:

 My code is returning all the texts present in the parent window.


You have to switch to the new browser window/tab. Something like this:

browser.window(:title = annoying popup).use do
  browser.button(:id = close).click
end

More information at http://watirwebdriver.com/browser-popups/

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Test tour gem?

2013-07-22 Thread Željko Filipin
On Fri, Jul 19, 2013 at 6:01 PM, Chad Brewbaker crb...@gmail.com wrote:

 Wikimedia's tests are a good example of this:
 https://github.com/wikimedia/qa-browsertests
 However, the page objects don't have enough information.


I am working on that code. Page-object gem provides the functionality, but
we just did not get there yet.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Unable to access the elements in a page.

2013-07-22 Thread Željko Filipin
On Mon, Jul 22, 2013 at 10:24 AM, Sachin Uplaonkar up.sa...@gmail.comwrote:

 irb(main):008:0 b.text.include? suplaonk
 Selenium::WebDriver::Error::
 **NoSuchElementError: Unable to find element with tag
 name == body

 irb(main):036:0 b.text.include? suplaonk
 Errno::ECONNREFUSED: No connection could be made because the target
 machine acti
 vely refused it. - connect(2)


Can you provide more relevant code? Is the site you are testing public?
(Please provide it's URL in that case.) If it is not public, can you
reproduce the error with a public site?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] What should I read?

2013-07-22 Thread Željko Filipin
On Mon, Jul 22, 2013 at 3:11 PM, Mariano Giagante 
mariano.giaga...@gmail.com wrote:

 What books/resources should I consult?


I would suggest that you start here:

https://leanpub.com/cucumber_and_cheese

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Possible element.click bug

2013-07-15 Thread Željko Filipin
On Sat, Jul 13, 2013 at 6:25 PM, Mont Rothstein mont.rothst...@gmail.comwrote:

 watir-webdriver


In that case, report the bug here:

https://github.com/watir/watir-webdriver/issues

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Possible element.click bug

2013-07-13 Thread Željko Filipin
On Fri, Jul 12, 2013 at 8:11 PM, Mont Rothstein mont.rothst...@gmail.comwrote:

 Starting browser with Watir::Browser.start(url, :ie)


Do you require watir gem, watir-webdriver or watir-classic?

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Possible element.click bug

2013-07-12 Thread Željko Filipin
On Thu, Jul 11, 2013 at 9:58 PM, Mont Rothstein mont.rothst...@gmail.comwrote:

 If someone can verify this is a bug I'd be happy to submit it.


Feel free to submit a bug even before somebody else confirms it.


  Also, I don't know if this would be a Watir bug or a Watir-WebDriver bug.


I can help to figure that out. What browser are you driving? What OS are
you on? How do you start the browser?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] [Watir-WebDriver] Wait until the text-field values are fetched through API

2013-07-12 Thread Željko Filipin
On Fri, Jul 12, 2013 at 10:58 AM, maulik goswami mcgosw...@gmail.comwrote:

 Watir::Wait.until(10) {br.text_field(:id = companyName).value.exists?}


I think the problem is that here you are waiting for the text field to have
any value, and I guess empty string is any value. You should probably wait
until the text field's value is different from empty string, or something
like that.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread Željko Filipin
On Wed, Jul 10, 2013 at 12:12 PM, maulik goswami mcgosw...@gmail.comwrote:

 I've installed ruby *Gmail* gem and also made a sample script but it only
 goes to *Gmail* website after that script stops and returns the null
 value.


Please share relevant Ruby code and error messages, if any.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can Watir and calabash-android be used together in the same project? Or even co-exist?

2013-07-09 Thread Željko Filipin
On Mon, Jul 8, 2013 at 11:40 PM, John Bateman jbate...@flywheel.com wrote:

 I attempted to add Watir-Webdriver gems but had a lot of conflicts.


Please share example code and error messages.


 So the big question is: can I integrate calabash-ios gems and watir into a
 single project so that I can execute conventional web-testing and
 mobile-testing in the same framework?


I see no reason why this could not be possible.


 All I have found are some vague references that generate more questions
 than answers.


Please share the links.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Project Structure for cucumber+watir

2013-07-03 Thread Željko Filipin
On Wed, Jul 3, 2013 at 8:08 AM, Vincy C vincy@gmail.com wrote:

 Can anyone tell me the project structure for cucumber+watir project in Net
 beans IDE


You can structure the project how ever you want. Read this book if you want
to learn how to structure the code in a good way:

https://leanpub.com/cucumber_and_cheese

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Solving A Repeated Support Theme

2013-06-26 Thread Željko Filipin
On Sun, Jun 23, 2013 at 12:29 AM, Eachus Lonny lon...@gmail.com wrote:

 I would be happy to provide a patch if someone will point me at the
 procedure for providing patches to Watir-Webdriver, and maybe what would be
 an appropriate location in the code.


I would suggest that you move this discussion to wtr-development[1]
and/or watir-webdriver/issues[2].

Željko
--
1: http://rubyforge.org/mailman/listinfo/wtr-development
2: https://github.com/watir/watir-webdriver/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/groups/opt_out.




[wtr-general] Fwd: Retiring openqa.org

2013-06-21 Thread Željko Filipin
Hi,

openqa.org is shutting down. From watir.com we still link to a few pages 
hosted there. For example, watir.com/installation links to a few pages at 
wiki.openqa.org. I was (slowly) moving pages from wiki.openqa.org 
to github.com/watir/watir/wiki, but I am really short on time these days. 
Does anybody have the time to help?

(Patrick created a HTML version of wiki.openqa.org, in case we do not move 
everything in time.)

If you have any questions, please let me know.

Željko

On Sunday, June 16, 2013 4:53:02 AM UTC+2, Patrick Lightbody wrote:

 It's been a long time coming, but I'm finally going to shut down 
 openqa.org. I'm working with the Watir team to make sure there is nothing 
 on wiki.openqa.org before it goes down, but all other projects are ready 
 for it. The only remaining question I have is: are there any services that 
 we are still using on our Linux machine or our XServe? Both will be going 
 away, including any VMs on them, but I'm pretty sure we're not using them 
 for anything anymore. 

 LMK. 

 Patrick 



-- 
-- 
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/groups/opt_out.




Re: [wtr-general] (include or require a script file at the top)(run specific test case)

2013-06-21 Thread Željko Filipin
On Fri, Jun 21, 2013 at 5:14 PM, He Bing Lin peter...@gmail.com wrote:

 Question 2
 Is testwise allow to run specific test case?


As far as I remember, there is a testwise mailing list, you should ask
there.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem with frame tag

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 9:07 AM, Luis Espla luises...@gmail.com wrote:

 I run it in a loop and it works fine 20 times and after it doesn't work
 but another times it only works 5 times. I'm doing click on a component and
 this component is a frame structure.


If it does not work sometimes it is usually a timing issue. You should
probably make sure the frame is there before trying to click an element
inside it:

http://watirwebdriver.com/waiting/

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 1:20 PM, Sohail Mirza mrz...@gmail.com wrote:

 Is there any method available using which i can check whether the textarea
 is enabled or disabled.


Watir::Input has #enabled? method:

http://rdoc.info/gems/watir-webdriver/Watir/Input#enabled%3F-instance_method

You should just try it:

browser.text_field.enabled?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 1:41 PM, Sohail Mirza mrz...@gmail.com wrote:

 i am asking for text_area but you mentioned for text_field. if it will
 work then how because both are difference objects.


That was my mistake, I did not notice you were talking about text area. :)
It _should_ work the same as text field, but the easiest way to find out is
just to try it.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] how to check TextArea is enabled or disabled

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 1:53 PM, Sohail Mirza mrz...@gmail.com wrote:

 NoMethodError: undefined method `enabled?' for #Watir::TextArea:0x2fb0350


That sounds like a bug to me. You should report it here:

https://github.com/watir/watir-webdriver/issues

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Add Test method in test suit

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 2:38 PM, Vincy C vincy@gmail.com wrote:

 i want to execute particular method in that suit
 How to do that?


Please show us more relevant code. You will notice that a lot of people
here uses rspec or cucumber instead of test/unit.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Generate Test results based on test suit

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 2:40 PM, Vincy C vincy@gmail.com wrote:

 I want to generate html report based on my test suit.


I know that cucumber creates nice html reports. I am not sure if rspec and
test/unit do the same.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Watir project folder Structur

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 2:35 PM, Vincy C vincy@gmail.com wrote:

 Can anyone tell me how to create folder structure for watir and watir
 webdriver


You should read this book:

https://leanpub.com/cucumber_and_cheese

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Test Highcharts with Watir Webdriver

2013-06-18 Thread Željko Filipin
On Mon, Jun 17, 2013 at 8:27 PM, He Bing Lin peter...@gmail.com wrote:

 Any alternative solution as to adding id to path?


Probably, but you still did not point us to a page with example chart so we
could take a look.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Spilt on string with quotes and comma

2013-06-18 Thread Željko Filipin
On Thu, Jun 13, 2013 at 6:01 PM, He Bing Lin peter...@gmail.com wrote:

 i want just
 hello
 world 12,56,132


I did not understand what you are trying to do. How the file looks like,
and what you want from it?

By the way, this is a ruby question, so you could get faster support at
stack overflow or a ruby mailing list.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Test Highcharts with Watir Webdriver

2013-06-17 Thread Željko Filipin
On Fri, Jun 14, 2013 at 8:55 PM, He Bing Lin peter...@gmail.com wrote:

 here is the image link i.tinyuploads.com/bfRq4p.jpg


It would help more if you could point us to a page with example chart.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Cannot click on link using :href

2013-06-07 Thread Željko Filipin
On Fri, Jun 7, 2013 at 6:27 AM, Nikhil Nerkar nikhil.ner...@gmail.comwrote:

 Can you also suggest some good reference for learning Watir ?


You will find links to everything you need to know about Watir at
http://watir.com/, there are links to a couple of books at
http://watir.com/book/

Disclaimer: I am working on one of the books listed there.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can't use = sign in URL.

2013-06-06 Thread Željko Filipin
On Wed, Jun 5, 2013 at 5:52 PM, Jim Bailey jbailey...@gmail.com wrote:

 For now, can I forget about the properties file, and have the Watir script
 put the url directly in the address bar?


Sure, try this:

b.goto(URI.escape 
http://FooBar.com/Portal/quote?source=clubclubcode=412state=CAzipcode=90210http://foobar.com/Portal/quote?source=clubclubcode=412state=CAzipcode=90210
)

or

b.goto 
http://FooBar.com/Portal/quote?source=clubclubcode=412state=CAzipcode=90210http://foobar.com/Portal/quote?source=clubclubcode=412state=CAzipcode=90210


Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Cannot click on link using :href

2013-06-05 Thread Željko Filipin
On Wed, Jun 5, 2013 at 6:30 AM, Nikhil Nerkar nikhil.ner...@gmail.comwrote:

 @browser.link(:href,'/lis/
 lisDeskTopAction.changeLanguage.do?method=changeLanguageLANGUAGE=enlis.request.page.uid=-234720088').click


Try something like this:

@browser.a(:href = /changeLanguageLANGUAGE=en/).click

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Getting JavaScript Error: a is null for what ever I do with watir on firefox

2013-06-04 Thread Željko Filipin
On Tue, Jun 4, 2013 at 3:58 AM, Ankita@Adslot ankita.gu...@adslot.comwrote:

 whatever action I try to perform with Watir-webdriver on firefox, I get
 JavaScript Error: a is null


Our mind reading equipment is out of order at the moment. It should get
fixed soon. In the meantime, please share more information. For example,
the code that causes the error message, environment (operating system and
version, ruby version, watir gem version...)

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Get PHP Session Variable

2013-06-04 Thread Željko Filipin
On Mon, Jun 3, 2013 at 10:19 PM, He Bing Lin peter...@gmail.com wrote:

 I wonder if you can get php session variable


I think this is a general Ruby question, not specific to Watir. How would
one see PHP variables from a Ruby script?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can't use = sign in URL.

2013-06-04 Thread Željko Filipin
How is this related to Watir? I have no idea what you are talking about.
Moar context, please. :)

Željko
--
https://leanpub.com/watirbook


On Tue, Jun 4, 2013 at 5:59 PM, JimJamie jbailey...@gmail.com wrote:


 It seems to stop looking at the first equal sign.
 Is there a way to rewrite the equals sign and get the same result?
 I have something like this in my properties file.

 #url=
 http://FooBar.com/Portal/quote?source=clubclubcode=412state=CAzipcode=90210

  --
 --
 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/groups/opt_out.




-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can't use = sign in URL.

2013-06-04 Thread Željko Filipin
On Tue, Jun 4, 2013 at 8:26 PM, Jim Bailey jbailey...@gmail.com wrote:

 b.goto(properties.getUrl)


Add this before above line:

p properties.getUrl

That will display the contents of the variable. That is always helpful when
debugging.

The magic word is probably URL encoding[1].

Something like this should fix the problem:

b.goto(URI.escape(properties.getUrl))

More information:
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/uri/rdoc/URI/Escape.html#method-i-escape

Željko
--
1: http://en.wikipedia.org/wiki/Percent-encoding

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Unable to click a class=close href=javascript:;x/a

2013-06-03 Thread Željko Filipin
On Mon, Jun 3, 2013 at 2:25 PM, Raymond Wiertz reedys...@gmail.com wrote:

 a class=close href=javascript:;x/a
   browser.link(:class, close).click


Try this:

browser.a(:class_name = close).click

or

browser.a(:text = x).click

More information:
http://jkotests.wordpress.com/2013/04/12/list-of-valid-watir-webdriver-locators/

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Parse HTML from database in Watir?

2013-05-17 Thread Željko Filipin
On Fri, May 17, 2013 at 7:41 PM, Chuck van der Linden 
cvanderlin...@climate.com wrote:

 IMHO if you are just trying to parse HTML, and not trying to drive a
 browser, you might be better off to just use Nokogiri (
 http://rubygems.org/gems/nokogiri)


+1

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-14 Thread Željko Filipin
On Tue, May 14, 2013 at 1:34 PM, v b baba kanchustambham
vbb...@gmail.comwrote:

 I mean to say the :class ' Abcc5464c1acc4c48b277f0e6d02c**e**75e12896 '
 is dynamically changing every time we generate the report.


What is _not_ changing?

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Watir-Classic 3.7.0 Released!

2013-05-14 Thread Željko Filipin
On Mon, May 13, 2013 at 11:58 AM, Luis Espla luises...@gmail.com wrote:

 what is the difference between watir-classic and watir-webdriver.


watir-classic used to be watir gem. It runs only on Windows and drives only
Internet Explorer. Watir webdriver works on all major operating systems and
drives all major browsers.


 When I do gem list  I only have  watir-webdriver, is it right?


If you do not need watir-classic, there is no need to install it.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-13 Thread Željko Filipin
On Mon, May 13, 2013 at 1:07 PM, v b baba kanchustambham
vbb...@gmail.comwrote:

 The code browser.td(:class = 
 **Abcc5464c1acc4c48b277f0e6d02ce**75e12896).text
 is giving me an error Undefinde method td.


Which version of Watir do you have?


 here the class value for td is not unique.


What _is_ unique? How would you find the element manually?

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-10 Thread Željko Filipin
On Fri, May 10, 2013 at 5:15 AM, v b baba kanchustambham
vbb...@gmail.comwrote:

 TD style=WIDTH:46.96mm;min-width:46.96mm;HEIGHT:4.76mm; class=
 Abcc5464c1acc4c48b277f0e6d02ce75e12896POC_Reports_test/TD
 Can you please let me know which method i should use to capture the value
 POC_Reports_test


This should do it:

browser.td(:class = Abcc5464c1acc4c48b277f0e6d02ce75e12896).text

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 12:05 PM, Sohail Mirza mrz...@gmail.com wrote:

 Now i am getting the following error


Do you understand the error message? It says what you have to do.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 9:06 AM, v b baba kanchustambham vbb...@gmail.comwrote:

 I am unable to attach screen shot of the HTML report source here also.


Do not attach screen shot, but copy/paste relevant HTML.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Watir-Webdriver Installation Issue

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 12:05 PM, Sohail Mirza mrz...@gmail.com wrote:

 You are using an old or stdlib version of json gem
 Please upgrade to the recent version by adding this to your Gemfile:
   gem 'json', '~ 1.7.7'


I think you should explicitly install json gem:

gem install json

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] trying to select the text from a link

2013-05-08 Thread Željko Filipin
On Wed, May 8, 2013 at 12:33 PM, knoll2r...@gmail.com wrote:

 I have tried @b.link(:text, 'Album'


Try this:

browser.a(:text = /Album/).click

To find out what Watir thinks the link text is, try this:

browser.a(:text = /Album/).text

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re:Headless Problem

2013-05-07 Thread Željko Filipin
On Mon, May 6, 2013 at 6:31 PM, Eachus Lonny lon...@gmail.com wrote:

 I feel that this most definitely deserves mention in the headless entry
 on watir-webdriver.com.


We are looking for contributors. Please let me know if you would like to
update the page.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Javascript Updates?

2013-05-07 Thread Željko Filipin
On Mon, May 6, 2013 at 7:12 PM, Eachus Lonny lon...@gmail.com wrote:

 Using watir-webdriver, does Watir remain updated when a page is changed
 via JavaScript, like the old Watir used to?


I think so. Try and let us know if you experience any problems.


  I also notice that the old attach method is no longer available. Is
 there a way to attach a Watir browser instance to an existing browser
 window?


No. There is a bug from 2009:

https://code.google.com/p/selenium/issues/detail?id=18

There is a way to attach to windows created by the script and javascript
popups, if that would help:

http://watirwebdriver.com/browser-popups/
http://watirwebdriver.com/javascript-dialogs/

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Unable to validate HTML Report using Watir

2013-05-07 Thread Željko Filipin
On Tue, May 7, 2013 at 6:13 AM, v b baba kanchustambham vbb...@gmail.comwrote:

 Can anyone please let us know the possibility of capturing the report
 elements and comparing them with the application data


As I said in stack overflow question[1], what is exactly the problem?

Željko
--
1: http://stackoverflow.com/q/16411154/17469

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Couldn't load 2.0/gherkin_lexer_en

2013-05-06 Thread Željko Filipin
On Mon, May 6, 2013 at 2:20 PM, LuisE luises...@gmail.com wrote:

 WARNING: cannot load such file — 2.0/gherkin_lexer_en


Please provide minimal amount of code that still reproduces the problem.
Also, this looks like Cucumber related problem. You could have better luck
at their support mailing list.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Couldn't load 2.0/gherkin_lexer_en

2013-05-06 Thread Željko Filipin
On Mon, May 6, 2013 at 2:47 PM, Luis Espla luises...@gmail.com wrote:

 This is the code(I have tested the same code in Mac OS X and It works
 fine):

 Feature: Making Cheese
   As a cheese maker
   I want to make cheese
   So I can share my cheesiness
   Scenario: Using the cheese machine
 Given I have no cheese
 When I press the make cheese button
 Then I should have 1 piece of cheese


This is the minimal amount of code that still reproduces the problem,
that I have asked for?!

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problem: Couldn't load 2.0/gherkin_lexer_en

2013-05-06 Thread Željko Filipin
On Mon, May 6, 2013 at 2:58 PM, Luis Espla luises...@gmail.com wrote:

 This is the minimal amount the code:

 Feature: Making Cheese

   Scenario: Using the cheese machine
 Given I have no cheese


There is not code in the steps?

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Custom profile for Chrome

2013-05-06 Thread Željko Filipin
On Thu, Apr 25, 2013 at 6:26 PM, Oscar Rieken bis...@gmail.com wrote:

 Why not ask the guys at SauceLabs?


I just got their reply, they do not know how to do it. At least in Ruby, as
far as I understood them.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Custom profile for Chrome

2013-05-06 Thread Željko Filipin
On Mon, May 6, 2013 at 3:16 PM, Luis Espla luises...@gmail.com wrote:

 I asked for it hear because maybe anybody uses watir and cucumber and
 windows 7 had the same problem


And I told you that the problem is probably in the Cucumber. My guess is
that more people on Cucumber mailing lists uses Cucumber and Windows 7 than
here. I could be wrong.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problems selecting an item in a list

2013-05-03 Thread Željko Filipin
On Fri, May 3, 2013 at 10:07 AM, Marc Westwood marcawestw...@gmail.comwrote:

 I've tried .click and .fire_event(onclick) and
 .fire_event(onmousedown) none of these are working.


This could help:

http://stackoverflow.com/questions/3787555/how-to-find-out-which-javascript-events-fired

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problems selecting an item in a list

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 3:52 PM, Marc Westwood marcawestw...@gmail.comwrote:

 I am having problems selecting items from a drop down list, I can get the
 drop down list to open but am unable to select an item within the list.


You are not dealing with select list (select tag), but with unordered list
(ul tag). What do you want to click? What have you tried so far?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Clicking on link on list

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 9:12 PM, ikeonoh ikeo...@gmail.com wrote:

 I am trying to click on the link Pricing


What have you tried so far?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Problems selecting an item in a list

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 3:52 PM, Marc Westwood marcawestw...@gmail.comwrote:

 a id=_item_1 window=[object] .
 Text = DEF - 100 DEF


Try this:

browser.a(:text = DEF - 100 DEF).click

Željko

-- 
-- 
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/groups/opt_out.




[wtr-general] Watir Search

2013-04-27 Thread Željko Filipin
Watir Search[1] needs to be updated. We link to it (at least) from home[2]
and support[3] pages.

I have created wiki page[4] that lists all included sites. Please update
the wiki page, remove old sites, add new ones and fix broken links. I will
update Watir Search accordingly. You can also send your add/edit/remove
suggestions here.

Željko
--
1: http://www.google.com/cse/home?cx=007267089725385613265%3Agmydx5gtw6u
2: http://watir.com/
3: http://watir.com/support/
4: https://github.com/watir/watir/wiki/Watir-Search

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can watir-webdriver save picture of an element?

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 5:20 AM, Christian songyangyang2...@gmail.comwrote:

 I want to save a picture of an element like a button


If you are using watir-classic:

browser.image.save(c:/foo/bar.jpg)

More information:
http://rdoc.info/gems/watir-classic/Watir/Image#save-instance_method

If you are using watir-webdriver, it is not implemented yet:

http://rdoc.info/gems/watir-webdriver/Watir/Image#save-instance_method

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] watir installation issues

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 12:49 PM, gary mrgaryengl...@googlemail.com wrote:

 I rushed in at first with gem install watir-classic which didn't appear to
 do anything before checking that it should've been gem install watir
 watir-classic so I tried that, but my gem list still doesn't include watir
 or watir-classic?


I do not understand what you did and what the problem is. Either join
#watir channel on freenode and ping zeljkof or post command line output of
what you did with code that demonstrates the problem.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Save Link As with Watir

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 1:44 PM, Adrian Killens ack...@googlemail.comwrote:

 I have a link to a pdf file and I'd like to download to a specific folder
 and change the file name in the process, preferably in the Save As dialog.


I think the easiest way would be to disable save as popup in chrome,
download the file by just clicking the link and then rename the file.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Element is not currently visible and so may not be interacted with (Seleni um::WebDriver::Error::ElementNotVisibleError)

2013-04-25 Thread Željko Filipin
On Thu, Apr 25, 2013 at 3:34 PM, watir webdriver 
watirwebdriver...@gmail.com wrote:

 Element is not currently visible and so may not be interacted with


Did you read the error message?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




[wtr-general] Custom profile for Chrome

2013-04-25 Thread Željko Filipin
If anybody has any ideas...

http://stackoverflow.com/q/16218435/17469

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Custom profile for Chrome

2013-04-25 Thread Željko Filipin
On Thu, Apr 25, 2013 at 6:26 PM, Oscar Rieken bis...@gmail.com wrote:

 Why not ask the guys at SauceLabs?


Already did, waiting for their reply.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Watir webdriver - How to click on last td in table ?

2013-04-25 Thread Željko Filipin
On Thu, Apr 25, 2013 at 6:34 PM, watir webdriver 
watirwebdriver...@gmail.com wrote:

 @browser.img(:src = /tracker/images/skin2/bolean.png).click


Try this:

@browser.imgs(:src = /tracker/images/skin2/bolean.png).last.click

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 12:16 PM, LuisE luises...@gmail.com wrote:

 I want to do a watir script for checking when I click a link, this link
 changes color a specific color but I don't to do. Is it possible?


You are aware of the fact that in that case you are _not_ testing your
application? You are testing if browser behaves as expected. It is like
testing if the browser scroll bar works. Is that really what you want to do?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 12:37 PM, LuisE luises...@gmail.com wrote:

 Do you understand?


No. Please provide link to the page or relevant HTML.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 1:01 PM, LuisE luises...@gmail.com wrote:

 For example, I have a link with class=blue and I click on it and his
 class changes to class=yellow how Can I check it? Can I ask about color or
 image in my html document?


Sure. Something like this should work:

browser.element.attribute_value(class)
# = blue

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Can Watir-webdriver operate flash-player?

2013-04-19 Thread Željko Filipin
On Fri, Apr 19, 2013 at 5:12 AM, Christian songyangyang2...@gmail.comwrote:

 Can I control the flash-player embeded in page using webdriver?


No.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Using chrome-driver with watir (and not watir-webdriver?)

2013-04-17 Thread Željko Filipin
Hi g,

comments are inline.


On Wed, Apr 17, 2013 at 10:53 AM, gu...@dna-7.com wrote:

 I would like to use *watir* rather than *watir-webdriver* since I want
 watir's ability to wait until the next page loads after I submit a form in
 my web application.


Watir project consists of several Ruby gems. Watir gem is used to install
watir-classic and/or watir-webdriver, depending on your platform.
Watir-classic gem used to be called just watir a year or two ago.


 *I've got both of them installed on the same machine.*

 ( Watir waits: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir )
 ( watir-webdriver doesn't: http://watirwebdriver.com/waiting/ )

 *First question:* did I understand correctly? Does watir wait while
 watir-webdriver doesn't?


As far as I know, no. Both watir-classic and watir-webdriver try to wait,
but since they have completely different implementations, there is a chance
that watir-classic would do a better job for your application.


 I wanted to run watir with chrome and was asked to install the
 chromedriver: http://watirwebdriver.com/chrome/ .


Watir-classic can only driver IE. If you want to drive Chrome you have to
use watir-webdriver.


 Now my code executes:

 require 'watir'
 browser = Watir::Browser.new :chrome
 browser.goto ...#etc


 *Am I really using watir and not watir-webdriver (through some
 transparent, implicit import)? I need to know because I need to know if
 wait works as I expect it - watir style rather than watir-webdriver style.)
 *


No, as I said before, you have to use watir-webdriver to drive Chrome.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Does Watircraft 0.5.0 supports watir-classic 3.6.0 ?

2013-04-17 Thread Željko Filipin
On Wed, Apr 17, 2013 at 1:30 PM, Pavithra hsp...@gmail.com wrote:

 I had been working on Functional Automation using Ruby 1.8.6, Watir 1.6.5
 with Watir-Craft framework.


As far as I can see, the last commit to the repository was in 2009:

https://github.com/bret/watircraft/commits/master

You should use another framework, like page-object:

https://github.com/cheezy/page-object

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: Does Watircraft 0.5.0 supports watir-classic 3.6.0 ?

2013-04-17 Thread Željko Filipin
On Wed, Apr 17, 2013 at 1:42 PM, Pavithra hsp...@gmail.com wrote:

 So Watir-craft does not support any latest versions of Watir or
 Watir-Classic?
 Does Watir-craft 0.5.0 supports water-webdriver, if I install
 Watir-webdriver instead Watir-Classic?


I do not know how watircraft works. Since the last update was in 2009 my
guess would be that it is completely broken now.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Re: JSON API using cucumber and watir webdriver

2013-04-16 Thread Željko Filipin
On Tue, Apr 16, 2013 at 12:26 AM, Chuck van der Linden 
cvanderlin...@climate.com wrote:

 I think Z is already checking with the Kondoot folks to try and figure out
 what happened to our videos


Yes, but no reply so far.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Noob to watir tool

2013-04-16 Thread Željko Filipin
On Tue, Apr 16, 2013 at 8:47 AM, saki suren sakisu...@gmail.com wrote:

 Please send me the links how to use watir tool.


Browse watir.com site. Books could help too:

http://watir.com/book/

Disclaimer: I am working on one of the books listed there.

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] How can I do to keep staying log-in among different pages when using watir-webdriver?

2013-04-16 Thread Željko Filipin
On Tue, Apr 16, 2013 at 10:06 AM, john songyangyang2...@gmail.com wrote:

 anyone knows?


What have you tried. What was the problem?

Željko
--
https://leanpub.com/watirbook

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] How can I do to keep staying log-in among different pages when using watir-webdriver?

2013-04-16 Thread Željko Filipin
Please share relevant code.

Željko

--
Sent from my ZX Spectrum
On Apr 16, 2013 10:43 AM, john songyangyang2...@gmail.com wrote:

 It seems OK in IE8 but Fierfox and Chrome.What to do next?

 在 2013年4月16日星期二UTC+8下午4时22分12秒,Željko Filipin写道:

 On Tue, Apr 16, 2013 at 10:18 AM, john songyang...@gmail.com wrote:

 I logged in a site,and click a button to go to another site,I log out.
 How to keeping login between different pages?


 You do not have to do anything special. Log in, do not log out or close
 the browser and you should stay logged in.

 Željko

  --
 --
 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/groups/opt_out.




-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Using watir with html 5

2013-04-15 Thread Željko Filipin
On Mon, Apr 15, 2013 at 8:56 AM, gary mrgaryengl...@googlemail.com wrote:

 if @b.footer(:index, 1).exists?
 undefined method `footer' for nil:NilClass (NoMethodError)


The error message says @b variable is not defined.

Željko

-- 
-- 
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/groups/opt_out.




Re: [wtr-general] Using watir with html 5

2013-04-15 Thread Željko Filipin
On Mon, Apr 15, 2013 at 3:25 PM, gary mrgaryengl...@googlemail.com wrote:

 Should've been using @b.footer(:index, 0).exists?


No. You should define @b variable _before_ you use it. Show us more code so
we will be able to help you more.

Željko

-- 
-- 
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/groups/opt_out.




  1   2   3   4   5   6   7   8   9   10   >