Re: [wtr-general] Clicking links that use non-english characters

2012-11-09 Thread Cliff Cyphers
blockquote on the page you would use: Erkl\u00E4rung instead of: Erklärung where \u00E4 == ä I'm sure there must be tools out there to help translate displayed fonts to the unicode representation, you might want to google for such. On Fri, Nov 9, 2012 at 7:52 AM, Cliff Cyphers wrote:

Re: [wtr-general] Clicking links that use non-english characters

2012-11-09 Thread Cliff Cyphers
how about you post the code block in question and a site that is reachable by all. without doing so one can't expect troubleshooting past what's already been suggested. Also, you can look at setting your LANG at the OS level so that all ruby objects use that as default. On Fri, Nov 9, 2012 at 7:

Re: [wtr-general] Set a text in div with js text field

2012-11-09 Thread Cliff Cyphers
Are you sure you have the terminology right? There's no such thing as a div text field. Whether the text field is created by updating the DOM in JavaScript shouldn't impact your ability to treat it like a regular: On Fri, Nov 9, 2012 at 1:20 AM, Nicolas wrote: > Hi, thanks for your answer, >

Re: [wtr-general] Clicking links that use non-english characters

2012-11-09 Thread Cliff Cyphers
Note, I haven't tested this under watir and speaking with regard to general string handling under ruby 1.9. Try to update the encoding to something that supports DBCS, such as UTF-8. This can be done either at the global level by: Encoding.default_internal='UTF-8' Encoding.default_external='UTF-

Re: [wtr-general] - whirlwind crash coarse for implementing a google test site

2011-10-25 Thread Cliff Cyphers
, Oct 25, 2011 at 3:01 PM, Chuck van der Linden wrote: > > I think I sense another watir podcast opportunity. > > Cliff, what you have provided is good info, but might be a little bit > towards the deep end of the pool for testers who are just learning to > script with Watir an

Re: [wtr-general] webdriver javascript pop-up

2011-10-25 Thread Cliff Cyphers
I've found that the fire_event can be very problematic which extensions/alerts is using. watir-webdriver will be updated to use selenium-webdriver's switch_to in the near future. But in the mean time you can take a look at handling this buy adding an alert box helper to Watir: https://github.co

Re: [wtr-general] ANNOUNCING WHIRWIND: cucumber + watir-webdriver + best practices

2011-10-25 Thread Cliff Cyphers
ko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Tue, Oct 25, 2011 at 12:08 AM, Cliff Cyphers > wrote: > > What is whirlwind? > > Didn't you just release qa robusta? How is this different? > > Željko > -- > watir.com - community manager

[wtr-general] ANNOUNCING WHIRWIND: cucumber + watir-webdriver + best practices

2011-10-24 Thread Cliff Cyphers
od in the Demo::RegistrationPage flow you can access @demo_registrationpage from within the instance of @demo_homepage. You will notice this above in Demo::HomePage#registration @demo_registrationpage.elements.step_1_next.wait_until_present. The user doesn't have to wire this up, instance variables have been crea

Re: [wtr-general] Re: Not able to open a chrome browser

2011-10-14 Thread Cliff Cyphers
Update your path. If you can't run the exe from a command line, without being in the directory the exe is in, it's defiantly a PATH issue. On Fri, Oct 14, 2011 at 2:15 PM, Babu wrote: > i addedd all the file under > C:\Documents and Settings\sdasgupta\Local Settings\Application Data > \Google\Ch

Re: [wtr-general] Not able to open a chrome browser

2011-10-14 Thread Cliff Cyphers
Error message explains it all. Unlike IE and FF you need to download a separate driver for chromedriver_win and ensure it's in your PATH. On Fri, Oct 14, 2011 at 1:57 PM, Babu wrote: > hi my code is : > require 'rubygems' > require 'watir-webdriver > browser1 = Watir::Browser.new :firefox > brow

Re: [wtr-general] Re: How to click on a div tag

2011-10-13 Thread Cliff Cyphers
And if you are using the yahoo and gmail accounts for test purposes, pop them instead and much easier to automate with ruby('net/pop'). On Thu, Oct 13, 2011 at 8:34 PM, orde wrote: > I've seen this topic come up a few times in this forum (i.e. > automating yahoo email or gmail), and I'd advise fi

Re: [wtr-general] Re: watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?

2011-10-11 Thread Cliff Cyphers
>> Watir::Element#scroll_to unless unless Watir::Element#in_viewable_area? >> > > The main difficulty I have with this is that I've worked on a number > of pages where part of the design requirements were that everything > had to pretty much fit onto a specific default page size such as > 1024x768,

Re: [wtr-general] watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?

2011-10-11 Thread Cliff Cyphers
On Tue, Oct 11, 2011 at 11:27 AM, Jari Bakken wrote: > > This is the intended default behaviour in WebDriver when you try to click an > element. If you can provide an example of a case where this is failing, > please open a bug in the Selenium tracker: >   http://code.google.com/p/selenium/issues/

[wtr-general] watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?

2011-10-11 Thread Cliff Cyphers
element.alert_box.dismiss For mouseovering an element, you no longer would need to call fire_event, which is unreliable. You could simply: some_element.mouseover Thank you for your comments Cliff. -- Before posting, please read http://watir.com/support. In short: search before you ask

Re: [wtr-general] Re: Strangeness with watir and IE or I may be missing something.

2011-10-10 Thread Cliff Cyphers
Chuck Good point, more people need to respect said terms of use. Although one's intentions isn't to inter-fear, perform harm, or use their data for other purposes, it doesn't speak good for the OOS community to not abide. For demo purposes, why not just create a simple site as a rack app or with

Re: [wtr-general] Re: Introducing QA Robusta - A System Test Automation Framework

2011-10-06 Thread Cliff Cyphers
. I most likely won't be able to get to this until next week. On Thu, Oct 6, 2011 at 2:52 PM, Chuck van der Linden wrote: > Cliff, > > How does this framework compare with watirspash, taza, or watircraft? > > What things are you doing that they are not, and vise versa? >

[wtr-general] Re: Detailed Test reporting

2011-10-04 Thread Cliff
QA Robusta provides detailed reports. First document the test methods using rdoc syntax in the test class and every time a link or button is clicked both the rdoc comments and the images are available in the report. https://cyberconnect.biz/opensource/qa_robusta.html Example report: https://cybe

[wtr-general] Introducing QA Robusta - A System Test Automation Framework

2011-10-04 Thread Cliff
also perform direct http.post or any other mechanize functionality when defining state- full interfaces to hit a web application without going through a browser. Happy Testing Cliff. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-gene

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-12 Thread Cliff Cyphers
I've seen similar resuls with putting a little delay in the read_socket().. I thinks it's a resourse issue in where the OS is polling till it's free. It just happens to be with a litle delay there's less polling for the file descriptor IO. The read_socket is waiting on data hence the dela

[wtr-general] Re: watir installed to non-default gem path

2009-03-05 Thread Cliff
Additional info and fix: The issue lied in browser.rb:activate_gem gem_name and the directory structure: watir-1.6.2/lib/watir/ After moving everything from lib/watir to lib things work great. On Mar 5, 11:06 am, Cliff wrote: > Hello Group > > Has anybody tried running watir insta

[wtr-general] watir installed to non-default gem path

2009-03-05 Thread Cliff
Hello Group Has anybody tried running watir installed to a non-default gem system path? For example, assuming you've installed all required gems using something like: gem install --no-rdoc --no-ri --ignore-dependencies -i /temp/ gems Then in irb: require 'rubygems' Gem.clear_paths ENV['GEM_HO

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-04 Thread Cliff Cyphers
Late to the thread but wanted to add something recently observed while running firefox through strace. It appears there are some flow control issues which may explain the slow typing speed. It's also been noted with some puts in the read_socket method the problem isn't as severe, as the slight d

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-02 Thread Cliff Cyphers
ilure from strace: read(3, 0x8d165d4, 4096)= -1 EAGAIN (Resource temporarily unavailable) On Mon, Mar 2, 2009 at 9:38 AM, Cliff wrote: > > > > -- Forwarded message -- > From: "Charley Baker" > Date: Nov 12 2008, 10:24 am > Subject: Very s