Difference between revisions of "Testing: Selenium: ZimbraSelenium Overview"

(Javadoc)
Line 2: Line 2:
  
 
The Zimbra '''Selenium Harness''' is a [http://en.wikipedia.org/wiki/System_testing system testing] [http://en.wikipedia.org/wiki/Test_harness test harness] for the Zimbra Web Clients.  The Selenium harness uses [http://en.wikipedia.org/wiki/Java_%28programming_language%29 Java], [http://en.wikipedia.org/wiki/Selenium_%28software%29 Selenium], and [http://testng.org/doc/index.html TestNG] technologies to drive web client usage against the Zimbra server.
 
The Zimbra '''Selenium Harness''' is a [http://en.wikipedia.org/wiki/System_testing system testing] [http://en.wikipedia.org/wiki/Test_harness test harness] for the Zimbra Web Clients.  The Selenium harness uses [http://en.wikipedia.org/wiki/Java_%28programming_language%29 Java], [http://en.wikipedia.org/wiki/Selenium_%28software%29 Selenium], and [http://testng.org/doc/index.html TestNG] technologies to drive web client usage against the Zimbra server.
 +
 +
These Zimbra clients are tested by the Selenium Harness:
 +
 +
* Ajax Client
 +
* HTML Client
 +
* Mobile Client
 +
* Admin Console
 +
* Desktop
  
 
==Source Code==
 
==Source Code==
  
 
See [[Testing:_Selenium:_Building_ZimbraSelenium|Building ZimbraSelenium]]
 
See [[Testing:_Selenium:_Building_ZimbraSelenium|Building ZimbraSelenium]]
 +
 +
==Javadoc==
 +
 +
[http://en.wikipedia.org/wiki/Javadoc Javadoc] can be generated from the source code tree.  After building the software, run the "javadocs" target from ZimbraSelenium/build.xml.  A javadoc tree will be created in ZimbraSelenium/build/generated/javadocs.  Open index.html to view the javadocs.
  
 
==Design==
 
==Design==
  
===Javadoc===
+
===Project Structure===
 +
 
 +
[[Image:ZimbraSeleniumProjectStructure.jpeg|thumb|right|200px|Web Interfaces Lab]]
 +
 
 +
The following folders are located in the ZimbraSelenium java project.
 +
 
 +
* conf: contains configuration files for how the harness executes
 +
* data: contains test data files, such as MIME files, ICS files.
 +
* jars: contains third party external jar files
 +
* src/bin: contains test scripts, such as perl scripts and shell scripts
 +
* src/java: contains java source code
 +
* build.xml: project ant build file
 +
 
 +
===Java Structure===
 +
 
 +
The following major packages are located in the ZimbraSelenium java project.
  
[http://en.wikipedia.org/wiki/Javadoc Javadoc] can be generated from the source code tree. After building the software, run the "javadocs" target from ZimbraSelenium/build.xml.  A javadoc tree will be created in ZimbraSelenium/build/generated/javadocs. Open index.html to view the javadocs.
+
* framework: basic java classes that apply to all testable clients
 +
* projects.admin: java classes specific to the Admin Console
 +
* projects.ajax: java classes specific to the Ajax client
 +
* projects.html: java classes specific to the HTML client
 +
* projects.mobile: java classes specific to the Mobile client
 +
* projects.desktop: java classes specific to the Desktop client
 +
* staf: java classes that apply to integration with [[http://staf.sourceforge.net/ STAF]]
 +
 
 +
====Framework====
  
===Design Docs===
+
TBD
  
  

Revision as of 01:48, 17 November 2010

General Information

The Zimbra Selenium Harness is a system testing test harness for the Zimbra Web Clients. The Selenium harness uses Java, Selenium, and TestNG technologies to drive web client usage against the Zimbra server.

These Zimbra clients are tested by the Selenium Harness:

  • Ajax Client
  • HTML Client
  • Mobile Client
  • Admin Console
  • Desktop

Source Code

See Building ZimbraSelenium

Javadoc

Javadoc can be generated from the source code tree. After building the software, run the "javadocs" target from ZimbraSelenium/build.xml. A javadoc tree will be created in ZimbraSelenium/build/generated/javadocs. Open index.html to view the javadocs.

Design

Project Structure

Web Interfaces Lab

The following folders are located in the ZimbraSelenium java project.

  • conf: contains configuration files for how the harness executes
  • data: contains test data files, such as MIME files, ICS files.
  • jars: contains third party external jar files
  • src/bin: contains test scripts, such as perl scripts and shell scripts
  • src/java: contains java source code
  • build.xml: project ant build file

Java Structure

The following major packages are located in the ZimbraSelenium java project.

  • framework: basic java classes that apply to all testable clients
  • projects.admin: java classes specific to the Admin Console
  • projects.ajax: java classes specific to the Ajax client
  • projects.html: java classes specific to the HTML client
  • projects.mobile: java classes specific to the Mobile client
  • projects.desktop: java classes specific to the Desktop client
  • staf: java classes that apply to integration with [STAF]

Framework

TBD


Troubleshooting

Verified Against: unknown Date Created: 11/7/2007
Article ID: https://wiki.zimbra.com/index.php?title=Testing:_Selenium:_ZimbraSelenium_Overview Date Modified: 2010-11-17



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search