[wtr-general] Xpath as a selector in hash format. Am I doing it wrong?

2019-03-27 Thread Steve Parrado
e" => "submit_search").present? -true @browser.button(xpath: "//*[@id='searchbox']/button").present? - true @browser.button(:xpath, "//*[@id='searchbox']/button").present? - true @browser.button("xpath" => "//*[@id='searchbox']/button").present?

Re: [wtr-general] Re: An expected error generated on click does not occur on click(*modifier)

2018-06-20 Thread Steve Parrado
8.1 Pro On Wednesday, June 20, 2018 at 9:14:25 PM UTC-4, Steve Parrado wrote: > > I recreated it by navigating to a public facing website, identifying an > element at the top of the page, and then scrolling down and performing the > click and click+control. Here is the output: >

Re: [wtr-general] Re: An expected error generated on click does not occur on click(*modifier)

2018-06-20 Thread Steve Parrado
af/keys | {"value":["î?%"]} 2018-06-20 21:09:01 INFO Selenium <- {"sessionId":"347b09a05ad4e6ffe8661cb3a0b0a9af","status":0,"value":null} => nil What I noticed here is that the ".click(:control)" actually clicked the

[wtr-general] Re: An expected error generated on click does not occur on click(*modifier)

2018-06-14 Thread Steve Parrado
Has anyone seen similar behavior? I am still at a loss about this. On Thursday, June 7, 2018 at 12:00:07 AM UTC-4, Steve Parrado wrote: > > I was attempting to write a function that performed a ctrl+click so that > if the click caused a page navigation, it would be in a new win

[wtr-general] An expected error generated on click does not occur on click(*modifier)

2018-06-06 Thread Steve Parrado
I was attempting to write a function that performed a ctrl+click so that if the click caused a page navigation, it would be in a new window which would leave the original window in a particular state. It was during this that I found that when I click an element that is obscured by another

[wtr-general] Rescue

2009-12-01 Thread Steve Hamlett
I'm using Watir to automate the testing of a report generated by MS SQL Reporting Services. The report generates 4 pages of output. Each page except the last one has a table which is addressable with Watir as follows: tbl = ie.frame(:id,'ReportFramectl144').frame

[wtr-general] Re: No return in irb from click method

2009-11-19 Thread Steve Hamlett
...@comcast.net wrote: Hi Steve! I've noticed that when I copy multiple lines of code into irb, all but the last are processed and then I have to hit enter to process the last line of code. Have you verified that you can issue just the click for 'DDD' on it's own in irb?  Is it possible

[wtr-general] Re: Can I get to a row with no id from a row with an id?

2009-08-13 Thread Steve
Dylan, I appreciate the help. Thanks for taking the time. Steve On Aug 12, 5:26 pm, Dylan mej...@gmail.com wrote: You can iterate through a table's rows with the .rows function. Using this, we can find out where your row with the id xyz is and add one: def nextRow(tbl,rowid)    i=0

[wtr-general] Can I get to a row with no id from a row with an id?

2009-08-12 Thread Steve Hamlett
I need to read contents from a row that does not have an id. That is, the HTML tag that designates the row is just TR. Therefore, I can't address it directly. Is there a way to address it indirectly? It happens that the tag for the prior row does have an id, e.g. TR id=xyz. Is there a way to

[wtr-general] Re: bring_to_front()

2009-06-02 Thread Steve
Worked like a charm, Charley. Thank you! On Jun 2, 11:52 am, Charley Baker charley.ba...@gmail.com wrote: You need to register the autoit dll. Follow this thread:http://groups.google.com/group/watir-general/browse_thread/thread/f58... Charley Baker blog:http://blog.charleybaker.org/ Lead

[wtr-general] Re: Problems recognizing MS Reporting Services reports

2009-04-02 Thread Steve
I'm still looking into this. There's a mistake in my first post, however. The results that Reporting Services returns are apparently NOT in HTML. That is, if you run a report, get the results, and then do a View Source, the source code you see does not contains the report results at all. It