[wtr-general] simple way for this xpath?

2014-03-13 Thread c w
Hi, I am using the following and works. However my question is if there simple way to define these xpaths? When /^I click the first View Details button$/ do @browser.button(:xpath, "/html/body/div[@id='container']/div[@id='wrapper']/div[@id='content']/div[@class='puppy_list'][1]/div[@class='l

Re: [wtr-general] simple way for this xpath?

2014-03-13 Thread c w
ing watir you almost never have to use xpath. you didnt > post any html so its kind of hard to give you a simpler way to locate > without using xpath. but I would probably try to break out just the > container and then locate the button inside of it. > > > On Wed, Mar 12, 2014 a

Re: [wtr-general] simple way for this xpath?

2014-03-13 Thread c w
Hi and thank you! I found the way: @browser.button(:value => 'View Details', :index => 0).click works great. On Thu, Mar 13, 2014 at 1:58 PM, c w wrote: > Thank you! > > The question is when we go here http://puppies.herokuapp.com > > how can we click in

Re: [wtr-general] simple way for this xpath?

2014-03-14 Thread c w
ext => "Hanna").parent.parent.button(:value => "View Details").click > > On Thursday, March 13, 2014 5:51:39 PM UTC-4, christina wrote: > >> Hi and thank you! >> >> I found the way: >> >> @browser.button(:value => 'View Details&#

[wtr-general] watir + FunFX

2014-04-19 Thread c w
Hi! I am in a lookout for automation of web flex app. Do you know if there is any great example, step by step of how to use it. Or if there is any book? Is watir working great with funfx? Any Example? Kind Regards, Cristina -- -- Before posting, please read http://watir.com/support. In shor

[wtr-general] How to select heading[s]

2014-10-20 Thread c w
Hi, please can one advise me on what I am doing wrong. I try to click on any header elements[I want to select one for instance]. I have asked the dev to add for me name= “header2” for instance for span But it looks like it doesn’t work. Can we click spans using the name? This is a screen snapsh

[wtr-general] Re: How to select heading[s]

2014-10-20 Thread c w
Oct 20, 2014 at 3:13 PM, c w wrote: > Hi, > > please can one advise me on what I am doing wrong. > > I try to click on any header elements[I want to select one for instance]. > I have asked the dev to add for me name= “header2” for instance for span > > But it looks like

[wtr-general] Re: How to select heading[s]

2014-10-20 Thread c w
Using the xpath works: b.element(:xpath => "//div[@id='mceu_41']/div[@id='mceu_41-body']/div[@id='mceu_43']/span[@name='header2']").click but I don't want to use the xpath. On Mon, Oct 20, 2014 at 3:13 PM, c w wrote: > Hi, > &

Re: [wtr-general] Re: How to select heading[s]

2014-10-20 Thread c w
header2'] > > If not, what about the text or other properties within that span? Can you > take a screenshot of the span node expanded? > > On Mon, Oct 20, 2014 at 1:06 PM, c w wrote: > >> Using the xpath works: >> >> b.element(:xpath => >> "//d

[wtr-general] whats the best way for automating app developed in angularjs

2014-10-20 Thread c w
Hi, I have a question, has anyone experience with https://docs.angularjs.org/guide/e2e-testing? If the application is developed using angular js is still watir the best way for automation testing? Kind regards, Cristina -- -- Before posting, please read http://watir.com/support. In short:

[wtr-general] watir cucumber

2014-10-22 Thread c w
Hi I have a question. I am using testgen gem and created the project and i get the hooks.rb which contains require 'watir-webdriver' Before do @browser = Watir::Browser.new :firefox end After do @browser.close end No I have no idea what i have to do to not use it. I want to run all sc

[wtr-general] Catch Javascript Errors on the Page with Watir

2014-12-01 Thread c w
Hi all, I am looking on how to catch java script errors on a page, click etc using watir Can we do that? Please advise me, any helpfull link where I can learn how to do that? Kind regards, Cristina -- -- Before posting, please read http://watir.com/support. In short: search before you ask, b

[wtr-general] how to click on this hidden drop down menu

2014-12-05 Thread c w
Hi, please check the attached file. Can one tell me how can I click on the I need to be able to click it not using text because when language changes the text will change. Kind regards, Cristina -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] how to click on this hidden drop down menu

2014-12-05 Thread c w
> > browser.a(:href=>'location.html') > > Joe > > On Fri, Dec 5, 2014 at 9:12 AM, c w wrote: > >> Hi, >> >> please check the attached file. Can one tell me how can I click on the >> >> >> I need to be able to click it not usin

Re: [wtr-general] how to click on this hidden drop down menu

2014-12-05 Thread c w
e.rb:58:in `click_location' ./features/step_definitions/vizlly_steps.rb:31:in `/^click on Location$/' features\web.feature:11:in `And click on Location' Failing Scenarios: On Fri, Dec 5, 2014 at 1:40 PM, c w wrote: > Hi Joe, > > is not working. I am ge

[wtr-general] how to read the meta content

2014-12-16 Thread c w
Hi, Hi Please can one help me an tell how can I read the "Content" for meta tag. I have to check many websites and check that the seo has a specific value. Kind regards, Cristina -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-

[wtr-general] a human-friendly tool for testing and reviewing visual regressions.

2015-08-20 Thread c w
Hi all, had anyoane know what can we user for a human-friendly tool for testing and reviewing visual regressions. Like comaring the screen snapshots. There is any ruby gem doing this? Kind regards, ~Cristina -- -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] how to click some hden menu elements

2015-09-15 Thread c w
Hi! Can one help me. I have to select the elements from the ""..." menu and it looks doesnt work. 1. go to http://www.granville.vfmltest.com/en/ 2. maximize the browser to full screen [image: Inline image 1] For instance I want to select Reviews. I try to click on "..." first but not sure why

[wtr-general] Re: how to click some hden menu elements

2015-09-15 Thread c w
Thank you but I found what was wrong! On Tue, Sep 15, 2015 at 2:40 PM, c w wrote: > Hi! > > Can one help me. I have to select the elements from the ""..." menu and it > looks doesnt work. > > 1. go to http://www.granville.vfmltest.com/en/ > 2. maximize t

[wtr-general] what is the chromedriver version compatible with chrome Version 55.0.2883.87 m (64-bit)

2017-01-04 Thread c w
Hi! I try to make all the enviroment working on my windows 7 pc. I have chrome Version 55.0.2883.87 m (64-bit) Does anyone know what chromedriver version should I use? Because using chrome I am getting "No connection could be made because the target machine actively refused it. - connect(2) f

[wtr-general] Re: what is the chromedriver version compatible with chrome Version 55.0.2883.87 m (64-bit)

2017-01-04 Thread c w
Never mind! I found it ! Thanks! On Wed, Jan 4, 2017 at 4:24 PM, c w wrote: > Hi! > > I try to make all the enviroment working on my windows 7 pc. > > I have chrome > Version 55.0.2883.87 m (64-bit) > > > Does anyone know what chromedriver version should I use? &g

[wtr-general] watir example fails

2017-01-06 Thread c w
Hi, I am a bit frustrated as this used to be working few years ago. I try again as I intend to try to use back watir and I have no idea why starting with the second element scripts are failing on the watir example Just run this: require 'rubygems' require 'watir' driver = Selenium::WebDriver.

[wtr-general] Using Watirt test mobile websites

2017-01-26 Thread c w
Hi all! I need your advise in what can we use to test the websites not only on desktop but on mobile: smartphones and android phones and tablets.. Please advise and let me know any material that I can read\buy. Kind regards, Cristina -- -- Before posting, please read http://watir.com/suppo

[wtr-general] angular login

2017-02-03 Thread c w
Hi all! Please can one tell me how do i fill in the email and password when te application is angular based I try to use this #this is from cucumber and cheese require 'rubygems' require 'watir-ng' @browser = Selenium::WebDriver.for :chrome @browser.navigate.to "https://apps.vizlly.com/dm

[wtr-general] how to resize browser to different sizes or to maximize

2017-05-01 Thread c w
Hi ! I need tour help! I use a code used to be working but with all changes it looks like is no longer working. I try to goole but I haven't find the answer. I use testgen framework and really doesn't mateer. It looks like I cannot resize the browser window to different sizez or even to maximize

Re: [wtr-general] how to resize browser to different sizes or to maximize

2017-05-01 Thread c w
Windows 7 Chrome Version 57.0.2987.133 (64-bit) I am using the latest chrome driver *ChromeDriver 2.29 * [image: Inline image 1] On Mon, May 1, 2017 at 11:04 AM, Titus Fortner wrote: > Which operating system are you running o

Re: [wtr-general] Re: how to resize browser to different sizes or to maximize

2017-05-02 Thread c w
I believe that the problem comes for what package should I require. I use only require "watir" I get an error where the window is not defined. Do you know what other packages should I require? A few years ago we used to use: require 'watir-webdriver' I am still confused about changes. [ima

Re: [wtr-general] Re: how to resize browser to different sizes or to maximize

2017-05-02 Thread c w
Do you know if the ruby version matter? ruby 2.3.3p22 (2016-11-21 revision 56859) [x64-mingw32] Please can you double check what ruby version you have. On Tue, May 2, 2017 at 10:00 AM, Raja gopalan wrote: > > hi, > > The below code is working for me in Firefox! > > @browser.driver.manage.wi

[wtr-general] Mobile automation

2017-05-03 Thread c w
Hi all! I am interested in automation testing on mobiles: android and IOS. And what should I use. As I start researching and this will help me to move in the right direction. Can we use watir? Do we have any books I can buy and learn? Or please email me how to start on this. I appreciate this

[wtr-general] Re: Mobile automation

2017-05-03 Thread c w
And I see on http://stackoverflow.com/questions/14501503/mobile-app-testing-in-watir "including browsers on mobile devices" Can one tell me exactly where I can find step by step the documentation\book[to buy or ?? to find] of doing this. On Wed, May 3, 2017 at 10:54 AM, c w wrote:

[wtr-general] Help with how to access an element with this xpath

2017-06-07 Thread c w
Hi, I need your help. Can one advise me how I can access the element that has the following xpath into my angular app. /html/body[@class='lwc']/div[@class='lwc-app ng-scope']/div[@class='lwc-content ng-scope']/div[@class='lyt-fullHeight lyt-appMinWidth ng-scope']/section[@class='lwc-webMarketing

Re: [wtr-general] Help with how to access an element with this xpath

2017-06-08 Thread c w
til_present.flash but these are not working. And I am not sure if we can access a custom tag like md-icon' Can we do this? On Thu, Jun 8, 2017 at 12:23 AM, Raja gopalan wrote: > b.element(xpath: "placeyourxpathhere").click > > On Jun 8, 2017 1:45 AM, "c w"

[wtr-general] can we use watir to automate angular applications

2018-03-07 Thread c w
Hi all! Please let me know if we can use watir to automate angular applications... and responsive applications Please let me know if there are any new books on the market, links with tutorials anything. Thank you so much -- -- Before posting, please read https://github.com/watir/watir_meta/

Re: [wtr-general] can we use watir to automate angular applications

2018-03-07 Thread c w
r angular elements and access to > the same waiting scripts that Google uses in Protractor, without > having to use Protractor. > > On Wed, Mar 7, 2018 at 8:51 AM, rajagopalan madasami > wrote: > > We automated once, but I don't know whether any specific api support > WAT

Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2018-03-26 Thread c w
I found this information and I want to share. https://dzone.com/articles/cloud-test-automation-using-selenium On Wed, Mar 13, 2013 at 12:52 PM, Chuck van der Linden < cvanderlin...@climate.com> wrote: > On Tuesday, March 12, 2013 4:16:36 AM UTC-7, Željko Filipin wrote: > >> On Tue, Mar 12, 2013

[wtr-general] can we use watir for automation native mobile\desktop apps

2018-03-29 Thread c w
Hi all, I went to an interview and their apps are native on mobile and desktop. This is new to me and I am asking here the experts if can we use the watir for automating the testing. Please any advise, links in this regards are so appreciated. -- -- Before posting, please read https://github

[wtr-general] text include assertion

2018-06-13 Thread c w
Hi all! This should be so simple but not sure why it fails. I have this @browser.text.include? "English" and it returns fals. This is correct. Can one help me how do I do an assertion to pass or fail? I try: expect(@browser.text.include?("English")).to be false But at run I get Then Eng

[wtr-general]

2018-06-15 Thread c w
Hi all, I have to automate something like 1. i have to go and login to an admin portal and read is a configurator lets say profile page is on 2. after this i have to go and login to the client url and check if the profile page shows and check other stuff 3. go back to the admin url and id the pro

Re: [wtr-general] Re: how can I click an

2018-06-25 Thread c w
could also try #click! >> >> @browser.a(id: "Employee_ID").click! >> >> - Justin >> >> >> On Friday, June 22, 2018 at 12:36:22 PM UTC-4, christina wrote: >> >>> Is not ok because all other attributes have the same link. >>&g

[wtr-general] can you run the scripts on Win10\ chrome? Used to be working a while ago

2018-06-25 Thread c w
Hi all, I try to use chrome instead of firefox, but I am getting C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/service.rb:142:in `connect_until_stable': unable to connect to chromedriver 127.0.0.1:9515 (Selenium::WebDriver::Error::WebDriverError)

[wtr-general] Re: can you run the scripts on Win10\ chrome? Used to be working a while ago

2018-06-25 Thread c w
pleDependentBeneficiaryPage.rb:31:in `set_dep_given_namesz' Because of this I was thinking to try another browser... And advise is greatly appreciated! On Mon, Jun 25, 2018 at 3:20 PM, c w wrote: > Hi all, > > I try to use chrome instead of firefox, > but I am getting > >

Re: [wtr-general] Re: can you run the scripts on Win10\ chrome? Used to be working a while ago

2018-06-26 Thread c w
; On Tue 26 Jun, 2018, 1:17 AM c w, wrote: > >> The problem is that I cannot move forward as I get this error >> >> element located, but timed out after 30 seconds, waiting for >> #"//*[@id=\"Given_Names\"]", >> :tag_name=>"a"}>

Re: [wtr-general] Re: can you run the scripts on Win10\ chrome? Used to be working a while ago

2018-06-28 Thread c w
Please tell me what ruby version you use. I upgraded the webdriver well all gems but I still get the error. I have no idea what to do in order to run on chrome. C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/service.rb:142:in `connect_until_stable'

Re: [wtr-general] Re: can you run the scripts on Win10\ chrome? Used to be working a while ago

2018-06-28 Thread c w
3.13.0/lib/selenium/webdriver.rb:86:in `for' from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/watir-6.11.0/lib/watir/browser.rb:48:in `initialize' from try.rb:7:in `new' from try.rb:7:in `' On Thu, Jun 28, 2018 at 8:46 AM, c w wrote: > Please tell me wha