1) The Windmill IDE stops responding to actions within the popup
window. It won't record mouse actions or keypresses in the new
window, although it continues to respond to actions in the main
window.
2) Trying to log into Facebook gives a ...
Cookies Required
Cookies are not enabled on your browser. Please adjust this in
your security preferences before continuing.
... error.
Does anyone have any idea what's causing these issues, or any
suggestions on how to fix them?
-- Chris
I sent the following two emails to this mailing list a couple weeks
ago, and haven't heard anything on either of them. The first one, in
particular, is kind of a show-stopper for us; does anyone have any
suggestions? If we can't get around these issues we may need to look
for other testing frameworks.
-- Chris
On Fri, Sep 24, 2010 at 4:11 PM, Chris Bergstresser <ch...@subtlety.com> wrote:
> I've got a series of Windmill tests which do things like create a
> user, log in, and log out from the website. What I don't really
> understand is how to ensure the website is in the correct state for
> any given test before it runs.
>
> For example, if I run "test_create_user()", after it runs the website
> is either logged in (if it succeeded) or logged out (if it failed).
> My "test_logout_user()" test will then fail if the user is already
> logged out. I need to define a "setup" and "teardown" method for
> every test function defined in my file, but there only seems to be a
> way to define a "setup" and "teardown" method for the module, not for
> individual files, or individual functions. Am I missing something?
> What's the standard way of doing this?
>
> Second, I can't see a way to conditionally test for the existence of a
> node or a link. I'd like to do something like ...
>
> if client.exists(link = u'Logout):
> client.click(link = u'Logout')
>
> ... but all I can see is to try it and catch the exception, which
> causes the error to appear on the console and the line to appear red
> in the test runner. Is there a way to do this?
>
> Finally, when running on Firefox in Ubuntu 10.04 (64 bit), every test
> generates a "*** NSPlugin Viewer *** WARNING: unhandled variable 18
> (<unknown variable>) in NPN_GetValue()" error on the console. Is
> there any way to fix this?
--
You received this message because you are subscribed to the Google Groups "Windmill Developers" group.
To post to this group, send email to windmi...@googlegroups.com.
To unsubscribe from this group, send email to windmill-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/windmill-dev?hl=en.