r5 - 19 Jul 2007 - 06:24:01 - MimiYinYou are here: OSAF >  Journal Web  >  QualityAssuranceTeam > AdamChristianNotes > AdamChristianSeleniumArchitecture

Selenium Architecture

Location : osaf-server-bundle/tomcat/webapps/ROOT/selenium
Access Via Browser: /selenium/

Test Runner: /selenium/core/TestRunner.html

All my tests access Cosmo via http://localhost:8080

Test Tables: located in osaf-server-bundle/tomcat/webapps/ROOT/selenium/tests
Test Suite: osaf-server-bundle/tomcat/webapps/ROOT/selenium/tests/TestSuite.html
Selenium API: osaf-server-bundle/tomcat/webapps/ROOT/selenium/core

Currently the tests rely on the Cosmo Cal.eventRegistry.getFirst().id and Cal.eventRegistry.getNext().id methods to acquire div id's Because of timing issues I found that it was best to walk the full suite, run works but may report errors on divs not existing yet when you are creating new divs and moving from screen to screen because it needs a few milliseconds even locally to save the events.

One can get the latest Cosmo bundle here:
http://downloads.osafoundation.org/cosmo/releases/0.4/index.html

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
zipzip selenium_for_cosmo.zip manage 1024.4 K 11 Sep 2006 - 18:03 AdamChristian This is the current selenium setup for Cosmo testing.
zipzip selenium_with_cosmotests.zip manage 1024.4 K 12 Sep 2006 - 11:49 AdamChristian Current Selenium Cosmo Testing Suite
zipzip selenium-dblclick-IE-Safari-Mozilla.zip manage 1027.2 K 14 Sep 2006 - 15:10 AdamChristian Selnium double click working with Safari, Mozilla and IE
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.