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 cr

Re: [wtr-general] Watir Podcast episode 60

2016-10-03 Thread Željko Filipin
You are doing a great job with the podcast. Keep up the good work! :) Željko On Sun, Oct 2, 2016 at 11:13 PM, Dave McNulla wrote: > Why use Watir when you have a choice of webdriver libraries? Jon Franchi > explains in the new Watir Podcast. > https://soundcloud.com/the-watir-podcast/episode60-

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

Re: [wtr-general] Cucumber question

2015-01-08 Thread Željko Filipin
On Thu, Jan 8, 2015 at 10:58 AM, 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

[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 Date: Fri, Dec 12, 2014 at 7:01 PM Subject: Bazaar 2015 To: "test-automatio

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

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

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 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://lean

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

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://grou

Re: [wtr-general] Page Object framework

2014-04-14 Thread Željko Filipin
On Mon, Apr 14, 2014 at 3:33 AM, Rafael Lima wrote: > Lately I have been using Cheezy's 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

Re: [wtr-general] Problems with Watir-General

2014-03-20 Thread Željko Filipin
On Thu, Mar 20, 2014 at 4:47 AM, Lonny Eachus 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

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 wrote: > 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/

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

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

Re: [wtr-general] Watir & Chrome driver

2013-12-19 Thread Željko Filipin
On Thu, Dec 19, 2013 at 2:23 PM, QOExcel 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 follow

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

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

Re: [wtr-general] Find xpath element

2013-10-10 Thread Željko Filipin
On Thu, Oct 10, 2013 at 11:06 AM, Luis Espla 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 h

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

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 wrote: > Hi Everyone, > > I'm new to wa

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

2013-08-30 Thread Željko Filipin
On Thu, Aug 29, 2013 at 5:18 PM, Bashir Osman 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:

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

2013-08-29 Thread Željko Filipin
On Tue, Aug 20, 2013 at 9:20 PM, Bashir Osman 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 s

Re: [wtr-general] Re: Retiring openqa.org

2013-08-07 Thread Željko Filipin
On Tue, Aug 6, 2013 at 5:35 PM, Tadeu Panato wrote: > I can help > let me know what need to do > We do not have specific tasks. Read the documentation and: - update it if it is out of date, - if something is not documented, write the documentation, - and so on... I hope that you get the point

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

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

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

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 wrote: > 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")

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

2013-07-22 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

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

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 wrote: > "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 coul

Re: [wtr-general] Test tour gem?

2013-07-22 Thread Željko Filipin
On Fri, Jul 19, 2013 at 6:01 PM, Chad Brewbaker 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 di

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

2013-07-15 Thread Željko Filipin
On Sat, Jul 13, 2013 at 6:25 PM, Mont Rothstein wrote: > 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@googlegrou

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

2013-07-13 Thread Željko Filipin
On Fri, Jul 12, 2013 at 8:11 PM, Mont Rothstein wrote: > 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-gener

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 wrote: > 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 tex

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

2013-07-12 Thread Željko Filipin
On Thu, Jul 11, 2013 at 9:58 PM, Mont Rothstein wrote: > 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.

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 wrote: > 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://lean

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

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

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

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

[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. Doe

Re: [wtr-general] Watir project folder Structur

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 2:35 PM, Vincy C 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/

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

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

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 wrote: > NoMethodError: undefined method `enabled?' for # 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: sear

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

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

Re: [wtr-general] Problem with frame tag

2013-06-19 Thread Željko Filipin
On Wed, Jun 19, 2013 at 9:07 AM, Luis Espla 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

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

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

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

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 wrote: > 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 on

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 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=club&clubcode=412&state=CA&zipcode=90210

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 wrote: > @browser.link(:href,'/lis/ > lisDeskTopAction.changeLanguage.do?method=changeLanguage&LANGUAGE=en&lis.request.page.uid=-234720088').click > Try something like this: @browser.a(:href => /changeLanguage&LANGUAGE=en/).click Željko -- https://l

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

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 wrote: > > It seems to stop looking at the first equal sign. > Is there a way to rewrite the equals sign and get th

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

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 wrote: > 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 e

Re: [wtr-general] Unable to click x

2013-06-03 Thread Željko Filipin
On Mon, Jun 3, 2013 at 2:25 PM, Raymond Wiertz wrote: > x > 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 --

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

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

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 wrote: > 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. I

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 wrote: > 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_

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 wrote: > "Abcc5464c1acc4c48b277f0e6d02ce75e12896">POC_Reports_test > 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 => "Abcc5464c1acc4c48b277f0e6d02ce7

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

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

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

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

2013-05-09 Thread Željko Filipin
On Thu, May 9, 2013 at 10:47 AM, Sohail Mirza wrote: > I am trying to install Watir-Webdriver and try to work on it but getting > the following error :( In the future, please copy/paste error messages. Screen shots are not searchable. Try this: browser = Watir::Browser.new :chrome Željko --

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

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 wrote: > 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.

Re: [wtr-general] Javascript Updates?

2013-05-07 Thread Željko Filipin
On Mon, May 6, 2013 at 7:12 PM, Eachus Lonny 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 long

Re: [wtr-general] Re:Headless Problem

2013-05-07 Thread Željko Filipin
On Mon, May 6, 2013 at 6:31 PM, Eachus Lonny 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:

Re: [wtr-general] Custom profile for Chrome

2013-05-06 Thread Željko Filipin
On Mon, May 6, 2013 at 3:16 PM, Luis Espla 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 Window

Re: [wtr-general] Custom profile for Chrome

2013-05-06 Thread Željko Filipin
On Thu, Apr 25, 2013 at 6:26 PM, Oscar Rieken 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

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

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

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

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 wrote: > 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 post

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 wrote: > 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.goo

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

2013-05-02 Thread Željko Filipin
On Wed, May 1, 2013 at 9:12 PM, ikeonoh 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.

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

2013-05-01 Thread Željko Filipin
On Wed, May 1, 2013 at 3:52 PM, Marc Westwood wrote: > 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

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

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

Re: [wtr-general] watir installation issues

2013-04-26 Thread Željko Filipin
On Fri, Apr 26, 2013 at 12:49 PM, gary 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

Re: [wtr-general] watir installation issues

2013-04-26 Thread Željko Filipin
Hi, comments are inline. On Fri, Apr 26, 2013 at 12:10 PM, gary wrote: > It's a fresh install of windows 7 so I'm using the watirbook instructions > as directed and following them as specified, or so I thought but I don't > appear to be getting the watir gem installed. > When I require "watir"

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

Re: [wtr-general] Watir webdriver - How to click on last 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

Re: [wtr-general] Custom profile for Chrome

2013-04-25 Thread Željko Filipin
On Thu, Apr 25, 2013 at 6:26 PM, Oscar Rieken 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.

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

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 s

Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 1:01 PM, LuisE 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_val

Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 12:37 PM, LuisE 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/g

Re: [wtr-general] Check color link

2013-04-23 Thread Željko Filipin
On Tue, Apr 23, 2013 at 12:16 PM, LuisE 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 bro

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 wrote: > 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.c

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

2013-04-18 Thread Željko Filipin
On Thu, Apr 18, 2013 at 11:37 AM, wrote: > So does that mean that watir-webdriver is implicitly imported? As far as I know, yes. When you install/require watir gem, either watir-webdriver or watir-classic gems will be required, depending on your platform and browser that you want to drive. Žel

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

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

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

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" 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, jo

  1   2   3   4   5   6   7   8   9   10   >