首页
电影
新闻
新片
热映
排行榜
影评
专题
电影查询
电视
新闻
新剧
热播
排行榜
电视剧查询
人物
新闻
八卦
人物访谈
排行榜
视频
图片
博客
电影电视
明星时尚
文化生活
相册
会员
群组
我的同城
活动
热门话题
群组分类
群组人气榜
游戏
问答游戏
图片评分
电影院

幸福的小糯米

幸福的晒晒太阳,淋淋雨,像一颗幸福的糯米一样,摊在叶子上…… 蓝天,白云……还有自己

http://www.mtime.com/my/winonahome/
你现在的位置:时光网>>博客>>winona的博客>>日志>>Automation Testing Framework Design
日志

Automation Testing Framework Design

winona 发布于:2006-11-20 20:08

Automation Testing Tool: TestComplete

Automation Testing Target: To complete some process by automated method, for improving the efficiency of testing.

Expression:

Functional file: in the process of Automation. All files should be assorted by feature. That means every feature has a correspondence with a functional file for completing a operating by automatically of this feature in Application software (ProductStream). It can use xx_Utilites to be named.

Common Files: there are more functions that direct to some common control in application. All common functions should be analyzed out from function script.

The original Automation Testing Framework:

Disadvantage

1. There are all functional utilities files in GlobalFiles folder in Framework. It fixed all functional functions and common functions together. It caused some function has been rewritten in every utility, if fact, they should belong to common function. It will bring hard work in automation scripts defending. And another side, some function relates detail in feature, so it will bring some defect in calling function. [Framework functions re-useful is lower.]

2. In Automation area, all interface functions have stored in 2 Library file. In cooperating working, how to control private function name in every functional feature? And how to merge them together? Both are question. [Common function name is unique.]

3. What’s type function can be seen by users (QA team)? Some common function shouldn’t be exposed to them.

4. There are no exception catching and handling in Framework. Log messages aren’t be perfect. No data value comparing. No correct log message controlling.

5. Validation GUI and validation data scripts are poor. GUI validation used XML file to compare, but no baseline standard and validating data just by manual handle.

6. Help documentation is poor. It isn’t professional. It caused by automation testing framework defecting. Created by Visual CHM.

7. The testing data isn’t migrated correctly. It is harm for regression testing. It will let efficacy of using low.

 

Analysis of Testing Tool

TestComplete is used for functional testing. It is good for a overall testing. And it is easy to installing and implementing. It can improve functional testing, regression testing and HTTP web testing. But in the later period, the defending of script is hander.

Advantage:

1.The GUI testing and scripts has been differentiated.

2.Automation and Manual control testing has been differentiated. At same time, they can be merged in a testing process.

3.Test log can support log analyzed.

4.Event

5.ADO working with DB

6.DbgServices supports a method for exception dealing.

7.Name MappingSometimes recognition attributes of an object, like, a window or a control, change from one application build to another. To run scripts successfully, you should replace the old object names with new ones in the entire project before running the scripts. It can make automation script to be worked correctly.

8.Integrate process operation in LLCollection

9.MS Agent and MS word series software.

10.  Storage file: after adding a file to storage, should remove the registry keys and deletes files created. 

Application software Automation Testing Framework Design

Test PS (a data lifecycle management software). To implement every operate process in every feature. The target of automation test is to improve the efficiency of manual testing. But in fact, this automation test should separate into two parts, automation and use TC to make a manual testing control.

Design Standard:

1. It should be convenient for defending. The Global files, Common Function files and Functional Utility files that should be separated clearly.

2. Testing data should be created correctly. (Consider as the data base migrate and file format migrate.) This part should cooperate with QA team. For ensuring automation test script can work without error. This standard has especially for every different application.

3. In design, should pay more attention to differentiating the automation testing and manual testing. And how to use the test tool to control all operation of testing.

4. At beginning, all baselines should be created by QA manager.

 

New Automation Testing Framework Design

This framework’s difficult of implementing is how to separate the functional function (in FuncaionalUtilities Folder) and common function (in GlobalFiles Folder). And if auto_tester want to control all files clearly, he or she should know all functional in tested application software. It is necessary to hold some knowledge of developing. And other side, auto_tester should know the testing data requirement for this application. Read test case or joined the designing test case is be requested. At same time QA tester should understand the functional testing of test tool. And test tool’s using feature.

I have made a test project suite sample in my machine, because that changing in original framework will cost more I think it is better than original. It is regretful that I haven’t study all test cases of PS. So the common function separating just by control feature, it really has defect in automation testing implement.

任何一份自动化测试的框架设计都应该在一开始考虑到一下几点:

1.Common function的建立,这个是建立在对Test case的文档研读上。因为我们的“顾客”是QA tester.而他们的实现对象就是test case.

2.开发经验是很宝贵的.需要一些对GUI的开发经验,要对动态生成的控件有理性了解。就是说最好有些过此方面的代码经验。

3.要考虑到后期的维护。这有利于之后的Regression Testing的设计。

4.GUIdataValidation方法要与QA team协同解决.

5.Testing Data的准备

回复(6) |收藏(0)|1008次阅读
 
2006-11-20 22:27

唉!不懂啊""""""

--------------------
慈,同喜之喜。 悲,同苦之苦。 为怀,视个人情况,待定。
2006-11-20 22:38

totally lost......

--------------------
让我踩上灵魂的高跷 越过岁月参差不齐的岩墙 偷偷注视你不老的容颜
2006-11-26 21:12

晕~~

--------------------
2006-11-29 22:52

关键英文太烂。我会努力的

--------------------
2007-06-10 22:11

I was searching "Automation Testing Tool", and it lead me here.
I did not find anything I need, and it wasted me a lot of time to read all these blogs. You must pay back for that! :-)

--------------------
Diskman

Diskman

 
 
2007-06-10 22:25

o! first, thank you for your wasting time to read "all these blogs". and how can I pay back for that? I am pleasure to do that. :)

P.S.: I know this blog is not good. so it is hard that you want to get some value thing from this. I am glad to discuess about auotomation testing with you if you like. I have 2 years expriences in developing and 1 year in automation testing.

--------------------
 
 

昵称:

你的博客地址:

回复内容:

验证码:

VcodeImg 刷新

日志分类
日志标签隐藏
lv