Skip to content

jagtapamitkumar/zm-selenium

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7,469 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building zm-selenium

  1. Create .zcs-deps directory at your %UserProfile%.
  2. Install ant, ivy, Java1.8+ and set respective environment variables.
  3. Download ant-contrib-1.0b1 jar file from below URL put into %UserProfile%/.zcs-deps location.
    https://files.zimbra.com/repository/ant-contrib/ant-contrib-1.0b1.jar
    
  4. Clone following git repos:
    git clone https://github.com/Zimbra/zm-mailbox.git
    git clone https://github.com/Zimbra/zm-ajax.git
    git clone https://github.com/Zimbra/zm-web-client.git
    git clone https://github.com/Zimbra/zm-zimlets.git
    git clone https://github.com/Zimbra/zm-selenium.git
    
  5. Build zm-native and zm-common jar using zm-mailbox repo.
    Go to zm-mailbox and build using following command.
          ant publish-local-all -Dzimbra.buildinfo.version=8.8.0_GA
    
    It will create zm-common.jar and zm-native.jar file
    
  6. Build zm-selenium using the following command:
    cd ../zm-selenium
    ant selenium-jar
    
    It will create 3 jars at ..\zm-selenium\build\dist\lib:
    coverage.jar
    resources.jar
    ZimbraSelenium.jar
    
  7. You can run testcases using build.xml or by adding debug confirmation run.
    Build.xml:
        ant Run-ExecuteHarnessMain -Dpattern ajax.tests.mail.folders -Dgroups always,smoke
    
    ZimbraSelenium.jar:
    - Create new configuration
    - Select 'zm-selenium' project and 'com.zimbra.qa.selenium.framework.core.ExecuteHarnessMain' as main class
    - Give '-j C:\pathToZm-selenium\build\dist\lib\ZimbraSelenium.jar -p com.zimbra.qa.selenium.projects.admin.tests.login.BasicLogin -g always,L0,L1,L2,L3 -l conf/log4j.properties' in argument
    

About

zm-selenium for Zimbra Collaboration Suite, FOSS Edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 98.7%
  • Perl 0.7%
  • JavaScript 0.3%
  • HTML 0.2%
  • CSS 0.1%
  • Shell 0.0%