[wtr-general] Re: [ruby watir cucumber] text assertions

2012-10-19 Thread Super Kevy
Single = statement is assignment though ruby usually warns you. comparison is == On Thursday, October 18, 2012 5:27:33 PM UTC-5, Ry wrote: Is there a better way to write this? my goal to verifying text exists on the page and if it does to return to previous page otherwise close the

Re: [wtr-general] Click on Hidden button

2012-10-19 Thread Benny Darsono
input type=submit value=Search id=searchsubmit name=submit class=submit That input button is hidden and I want to click it with script in WATIR. But it is said that cannot be accessed because it is hidden On Tuesday, August 28, 2012 8:25:12 PM UTC+7, Ċ½eljko Filipin wrote: On Tue, Aug 28,

Re: [wtr-general] [ruby watir cucumber] text assertions

2012-10-19 Thread Ry
Yes... There are no menus or filters or drop downs on the page. My intent is clicking a link, taken to page, and checking some text on that page to ensure the link went to where I expected to go. The page in this case is a term of condition page which only has several paragraphs of text. I

[wtr-general] Re: Win32-process error Installation Watir 2.0.4

2012-10-19 Thread Justin Ko
When you try to install watir 2.0.4, it will grab the latest version of the win32-process gem (and other dependencies) unless you already have one installed. Currently the win32-process gem is at version 0.7.0, which you do not want. So the solution is to manually install a prior version of the

Re: [wtr-general] Click on Hidden button

2012-10-19 Thread Joe Fleck
Hi, Can you paste the html with hidden button in here? Can a user click the hidden button? Joe On Aug 28, 2012 6:11 AM, Kayen karthigaya...@gmail.com wrote: Hi all, I am using Watir-Webdriver for my web automation and please could someone let me know whether its possible to click on a

[wtr-general] Re: Having trouble accessing the download bar in IE 9.

2012-10-19 Thread Jarmo Pertman
Hi, The download bar in IE9 is a really strange thing - it is not anything you could automate with RAutomation or AutoIt easily. The easiest way you could do anything at all would be to change the default download directory for IE with win32-registry and then issue some commands like ctrl+s

[wtr-general] Re: Unable to select item from selectlist on watir-classic 3.2: SystemStackError: stack level too deep

2012-10-19 Thread Jarmo Pertman
But this error is not SystemStackError and might be something else. I'll investigate it, but would like to reproduce SystemStackError with minimal code sample. It would be awesome if you could reproduce that error too. Jarmo Pertman - IT does really matter - http://itreallymatters.net On

[wtr-general] Re: Unable to select item from selectlist on watir-classic 3.2: SystemStackError: stack level too deep

2012-10-19 Thread Justin Ko
To reproduce the SystemStackError error, you can use the w3schools page: require 'watir-classic' browser = Watir::Browser.new browser.goto('http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select') browser.frame(:name, 'view').select_list.select('Saab') Or if you want to do it locally,