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

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

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

[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

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

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

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

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

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

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

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

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:

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

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

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

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

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

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,

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

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

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

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

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

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

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

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;

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 =

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,

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

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

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.

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

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

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

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

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

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:

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

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

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

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

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

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

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

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

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

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

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

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

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

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/

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

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

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

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

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

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

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:

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

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

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

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

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

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.

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

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

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

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,

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

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:

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

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

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

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

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

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

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

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.

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

[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

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

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

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,

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

[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

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

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

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

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

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:

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.

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

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

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

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

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

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.

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

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

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

  1   2   3   4   5   6   7   8   9   10   >