Comments (3)
代码划分
server
- 根据用户请求信息,负责收集测试需要的内容(测试代码,或者项目模块等)
- 根据用户提供的信息自动生成 driver 脚本。
- 脚本需要负责从测试页面中拿到数据。
- 执行脚本,驱动 selenium。然后收集脚本执行结果,并汇总
- 返回信息到客户端
client
- 解析配置
- 把 server 需要的信息传递给 server(tcp ? 还是 git clone ?)
- 等待服务器通知
- 显示服务测试信息。
from totoro.
https://github.com/sebv/node-wd-sync 可以看下这个。 把 wd 包装了下,支持同步的调用. 我们可以看看是不是可以基于他再进一步的改进呀!
sync( function() {
console.log("server status:", browser.status());
browser.init( { browserName: 'firefox'} );
console.log("session capabilities:", browser.sessionCapabilities());
browser.get("http://google.com");
console.log(browser.title());
var queryField = browser.elementByName('q');
browser.type(queryField, "Hello World");
browser.type(queryField, "\n");
browser.setWaitTimeout(3000);
browser.elementByCss('#ires'); // waiting for new page to load
console.log(browser.title());
console.log(browser.elementByNameIfExists('not_exists')); // undefined
browser.quit();
});
from totoro.
已准备ppt,先在组内进行分享,达成共识
持续完善ppt,稍后可用于集团内技术交流
运作一段时间后,可能需要寻找运维等技术支持
from totoro.
Related Issues (20)
- REAME中的npm install totoro应该加上-g
- 内部gitlab-ci上安装totoro运行后出错,可能和系统有关 HOT 1
- v1.0.0 totoro list 报[undefined/NaN] HOT 1
- 使用上的疑问 HOT 9
- Can not guess which adapter should be used, please choose one of "jasmine,mocha" or apply your own adapter. HOT 2
- node v0.11.x 发布后,socket.io 相关版本应更换为 v1.x
- 日志里能否增加上时间 HOT 3
- totoro --code 参数值的一致性 HOT 5
- Error 'Unknown encoding' HOT 1
- 启动server报错 HOT 4
- Timeout HOT 5
- TypeError: Cannot read property 'forEach' of undefined
- server成功启动后执行测试报服务器错误 HOT 2
- 对于没有设置 proxy,由 totoro 自动将 proxy 设为 false 时,需要给出提示
- totoro 服务是否可以作为 selenium 服务来用 HOT 1
- totorojs和karma的定位以及区别? HOT 5
- http://totorojs.org/ 域名过期 HOT 1
- 阿里巴巴内部还在用totoro来做测试吗? HOT 2
- 请问使用totoro可以生成html格式的测试报告吗? HOT 1
- 请问现在这个项目还有人维护吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from totoro.