Greetings.

I am currently working with a team that has a Selenium Smoke test that needs a little more work. They started working on it before i showed up. The biggest issue that we have is with the modal dialog support. Specifically, these are the IE-only dialogs that showModalDialog() creates. We are using Selenium's modalDialogTest command.

We have several problems.

1. Errors in the modal dialogs hang the suite. We need to add code that forces a modal dialog closed (with an error logged) at the end of the modal dialog test (if the test actions did not close it).

2. Errors are not propigated. Errors that show up in the modal dialog test doesn't cause the calling test to fail.

These problems are both critical to our being able to use Selenium to test our application.

3. Another problem that we ran into was the Selenium Variables were not accessible in the modal test table. We have worked around this problem by creating a web service for storing and retrieving the values. We'd be happy to discuss our solution.

We'd appreciate any specific advice you all might have about how to fix these problems. Should i go ahead and log Jira issues for them? Should i consider committing fixes for these (once we've developed them)? It's been a long time since my last commmit.

As far as i've been able to tell, this has been the last word on the topic of modal dialog support:
http://jira.public.thoughtworks.org/browse/SEL-29

By the way, i am also developing modal dialog support for Watir. If we can't get the modal dialog support to work in Selenium, we'll have to rewrite our tests for Watir. But since we already have a significant test suite in Selenium, we'd rather get that working.

Bret


_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to