Flex单元测试工具(FlexMonkey)
Testing Flex applications with FlexMonkey 1.0
Without automation, testing the UI components of your Flex
application can be tedious and time consuming. Adobe includes an
automation framework in Flex to enable developers to create automated
tests that operate at the GUI level. FlexMonkey
1.0 is an open source AIR application that leverages the Flex
automation framework to record and play back GUI interactions with your
Flex application. With FlexMonkey, your tests can drive your
application views directly, making it easy to exercise the view
components and the logic behind them. Integration with the automation
framework is under-the-hood
; you don't need to make any changes to your application source or compilation method to use FlexMonkey.
In this article, I'll show you how to get started using FlexMonkey
as part of your development flow. FlexMonkey can launch your Flex
application in different ways depending on your needs. It can launch
your application directly from your Flex Builder project, it can
connect to your application running in a browser, or it can be linked
into your application. In this article, you'll learn how to launch it
directly from your Flex Builder project.
开源的Flex测试工具FlexMonkey ,基于AIR,Adobe网站上有一篇快速入门教程 http://www.adobe.com/devnet/flex/articles/flexmonkey.html
,详细可以访问FlexMonkey的网站 http://www.flexmonkey.gorillalogic.com/gl/stuff.flexmonkey.html
,也可以到google网站去下载 http://code.google.com/p/flexmonkey/
相关文档:
簡單的來說,RemoteClass是在編寫 ActionScript Class 檔時告知該 ActionScript Class 是對應到哪個遠定端的 Class 檔(非ActionScript),舉個例子來說,若在遠地端有個 Java Object 名為 T ......
今天用Flex语言写了个检查非法字符,和数字的方法,共大家交流
稍微改一下就能用到.NET或Java语言中
public class CheckString
{
//判断用户是否输入非法字符
public static function CheckStr(strValue:String):Boolean
{
......
flex多文件上传工具(自用)
JAVA类
package com.shine.framework.flexUpload;
import java.io.File;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Iterator;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet; ......
http://www.cnblogs.com/beniao/archive/2009/01/12/1373921.html
127.0.0.1是回送地址,指本地机,一般用来测试使用。回送地址(127.x.x.x)是本机回送地址(Loopback Address),即主机IP堆栈内部的IP地址,主要用于网络软件测试以及本地机进程间通信,无论什么程序,一旦使用回送地址发送数据,协议软件立即返回之,不进 ......
其实这就是个数据显示的问题,经常我们的原始数据并不是最终显示给用户的,而是以另一种方式显示,比如性别假设在后台数据以boolean变量来保存,即true为男,false为女,那么界面就需要处理把true变成string的“男”。对于格式转换一般flex你们使用Formatter类,当然Formatter类是比较抽象的类,然后更具体的如Cu ......