Skip to content

Navigation Menu

Sign up
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
jarib edited this page Aug 14, 2010 · 22 revisions

Why doesn’t Celerity recognize elements identified with non-ASCII characters?

Celerity encodes all strings as UTF-8, so if you save your test scripts as UTF-8 everything should work fine.
To make Watir use UTF-8, add this line to your test suite (WTR-219):

WIN32OLE.codepage = WIN32OLE::CP_UTF8 

Can I watch my tests execute?

Celerity uses HtmlUnit, a headless Java browser library, to interact with web pages, which makes it a lot faster than driving
a real browser at the cost of not having any visual feedback from your tests. To work around this you can use one of apps from the CelerityViewers repo to simulate driving a browser. Celerity won’t actually drive these, but sends them an HTML string over DRb on every page load.

How do I deal with pages that make Ajax calls?

See Ajax.

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /