Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19731588
  • 博文数量: 679
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 9308
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-18 10:51
文章分类

全部博文(679)

文章存档

2012年(5)

2011年(38)

2010年(86)

2009年(145)

2008年(170)

2007年(165)

2006年(89)

分类: LINUX

2008-01-16 07:15:39

Linux 自动化架构

本架构不需要任何代理,能兼容多种脚本。架构图如下

 

 

 

安装步骤:

html目录内容拷贝到apache目录,将scripts拷贝到/scripts.

安装之前要确保apachephp正常工作。

 

具体设计

       前端采用PHPHTML,后台使用Expect

       前端的文件如下:

              index.php 首页

              submit.php     用于显示结果,

              usage.txt        用于显示用法

              run1.exp         Expect 脚本

              mail.pl            用于发送邮件

添加新内容:

  1. If you want to add New scripts in the tool. Copy the script to the script location. Add the entry in the index.php file for the script.
  2. Goto usage.txt file and enter the usage of the tool
  3. Goto submit.php file and make a new entry in the "if loop" for new script.

9. Conclusion

Any test scripts can be plugged in the automation framework.

10. References:

  • PHP -shell:
  • Expect:
阅读(3224) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-01-16 07:17:30

原文地址:http://www.novell.com/coolsolutions/feature/18047.html#1 请于20日之前完成环境搭建和翻译