Unit Test ZK Spreadsheet Using ZATS"

From Documentation
m
m
Line 10: Line 10:
  
 
= ZAT =
 
= ZAT =
For ZATS introduction, please refer to [http://books.zkoss.org/wiki/ZATS_Essentials ZATS Essentials] or [http://books.zkoss.org/wiki/Small_Talks/2012/April/Shining_ZATS_Mimic Shining ZATS Mimic]
+
For ZATS introduction, please refer to [http://books.zkoss.org/wiki/ZATS_Essentials ZATS Essentials] or [http://books.zkoss.org/wiki/Small_Talks/2012/April/Shining_ZATS_Mimic Shining ZATS Mimic]. In ZATS, it doesn't provide a agent that perform ZK Spreadsheet action. Thus, we need to write a SpreadsheetAgent that send spreadsheet command.

Revision as of 07:26, 22 August 2012

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!


DocumentationSmall Talks2012AugustUnit Test ZK Spreadsheet Using ZATS
Unit Test ZK Spreadsheet Using ZATS

Author
Sam Chuang, Engineer, Potix Corporation
Date
August 22, 2012
Version
ZATS Mimic 1.0.0, ZK Spreadsheet 2.3.0

Introduction

ZK Spreadsheet is a mega component contains toolbar, context menu etc... Using web browser testing framework to unit test will be a time-consuming task. Luckily, ZK has ZATS! In this smalltalk, I will introduce how to write a unit test for ZK Spreadsheet using ZATS.

ZAT

For ZATS introduction, please refer to ZATS Essentials or Shining ZATS Mimic. In ZATS, it doesn't provide a agent that perform ZK Spreadsheet action. Thus, we need to write a SpreadsheetAgent that send spreadsheet command.