GithubHelp home page GithubHelp logo

pkdevboxy / ztltest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zkoss/ztltest

0.0 2.0 0.0 31.56 MB

A project for collecting ZK testing cases

Batchfile 0.08% XSLT 0.81% Shell 0.01% Scala 98.29% Java 0.80%

ztltest's Introduction

A project for collecting ZK testing cases

How to install ztltest environment

  1. Please checkout this repository to a folder named ztltest
  2. In Eclipse IDE, File>Import...>Existing Projects into Workspace

Note: In your Eclipse, you have to install Scala IDE and m2e

How to run ztltest

  1. You have to run a ZK Test web application. In this case, you can check out the zktest project and import it as Existing Projects into Workspace.

  2. Change the config.properties setting under ztltest folder. For example, server=http://localhost:8080 context-path=/zktest

  3. Configure your browser setting in this case it is firefox only. For example, firefox=FirefoxDriver all=firefox

    If you want to use remove driver, you can change with the following setting. firefox=http://10.1.3.245:4444/wd/hub;FirefoxDriver

    This means you have a selenium remote server at 10.1.3.245 IP.

  4. After all above things done, you can run the testing case where is under ztltest/zstl/test folder as Junit test case in Eclipse.

Note: In the folder named zstl(ZK Scala Testing Language) is to run ZTL testing case upon Scala language, which can support XML syntax in its language idiom.

How to contribute testing case

Introduction

Since ZK is a popular Ajax framework, we need to continue to maintain our high testing standards and find areas to improve upon. Automation is one of the best ways in which you can improve testing of your product which is the main reason for introducing ZTL, to make it easier to automate testing of ZK applications. We have begun the process of translating each of our zktest/test2 manual test cases to ZTL. Should you with to contribute a new test case or translate a manual test case to a ZTL you are more than welcome to. We will be using this tool to run through all test cases before ZK release or freshly builds.

ZTL (Scala) Naming Convention

For translating zktest/test2/, each ZTL file name should be the same as the test zul file. For example zktest/test2/B30-123456.zul It should be zstl/test/org/zkoss/zktest/test2/B30/B30_123456Test.scala And the tags of the test case should be the same as the zktest/test2/config.properties

Here is the ExampleTest.scala. For more testing cases, please refer to this folder zstl/test/org

ztltest's People

Contributors

jumperchen avatar huangnoah avatar paowang avatar jerrywell avatar fselvatici avatar ldnigro avatar chunfuchang avatar benbai123 avatar dennischen avatar devchu avatar hawkchen avatar wenninghsu avatar kurorido avatar

Watchers

James Cloos avatar Karthikeyan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.