alibaba / f2etest Goto Github PK
View Code? Open in Web Editor NEWF2etest是一个面向前端、测试、产品等岗位的多浏览器兼容性测试整体解决方案。
Home Page: https://www.f2etest.net
License: MIT License
F2etest是一个面向前端、测试、产品等岗位的多浏览器兼容性测试整体解决方案。
Home Page: https://www.f2etest.net
License: MIT License
直接访问这个主机,IE浏览器Cookie默认启用,但是通过f2etest 打开IE浏览器打开以后默认是禁用Cookie的。需要手动修改。 这个可以在哪里配置啊?
我的版本是 V1.0.2 .
是不是服务器的机子必需要装上对应IE版本
才能测试?
在一台电脑上能搭建起来么。
使用webdriver过程,chrome,firefox都能正常使用,但ie11不行(浏览器云ie11可以正常使用)
报错以下
Error: done() invoked with non-Error: Unable to find elements on closed window (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'WIN-T3QDSSNVM9S', ip: '192.168.56.1', os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_101'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
浏览器信息:
This is the initial start page for the WebDriver server.
在webdriver中有iewebdriver.exe
浏览器云不能注销登录,怎么添加自定义的用户,每次打开就自动登录 了,怎么设置账户
我已经部署完成,在部署了f2etest-web的机器上能访问正确的f2etest页面,但是在同一ip组内的其他机器上不能访问到这个页面,而机器之间是可以ping通的,可能是什么问题呢
这个页面里的几个 URL输入 链接都是写死了的https,没部署https的站点直接复制上面给的url就会出错。最好改成自动识别的。
Chrome可以正常打开
360安全浏览器无法正常打开
360se.bat:
@echo off
rem 请这里配置f2etest的域名
set f2etestDomain=192.168.58.129
set appid=360se
rem 命令行参数
set proxymode="%1"
set proxyurl=%2
set url=%3
set apiKey=%4
rem 探测桌面模式
set isWeb=1
if %url% equ desktop (
set url="about:blank"
set isWeb=0
)
rem 设置代理
set proxypath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
reg add %proxypath% /v "ProxyEnable" /t REG_DWORD /d 0 /f>nul
set proxydef=
if %proxyurl% equ "" set proxydef=1
if %proxyurl% equ default set proxydef=1
if %proxyurl% equ "default" set proxydef=1
if defined proxydef set proxyurl="http://%f2etestDomain%/getHosts.pac?name=%USERNAME%"
if %proxymode% equ "noproxy" (
set proxyurl=""
)
if %proxyurl% neq "" (
rem 开启代理
reg add %proxypath% /v "AutoConfigURL" /d %proxyurl% /f >nul
) else (
rem 关闭代理
reg delete %proxypath% /v "AutoConfigURL" /f > nul
)
rem 打开应用
start /MAX "" "C:\360\360se6\Application\360se.exe" --allow-no-sandbox-job %url% --user-data-dir="%APPDATA%\360se6\User Data"
rem 打点统计
start "" curl "http://%f2etestDomain%/applog?userid=%USERNAME%&appid=%appid%&isweb=%isWeb%"
360极限浏览器无法正常打开
360chrome.bat:
@echo off
rem 请这里配置f2etest的域名
set f2etestDomain=192.168.58.129
set appid=360chrome
rem 命令行参数
set proxymode="%1"
set proxyurl=%2
set url=%3
set apiKey=%4
rem 探测桌面模式
set isWeb=1
if %url% equ desktop (
set url="about:blank"
set isWeb=0
)
rem 设置代理
set proxypath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
reg add %proxypath% /v "ProxyEnable" /t REG_DWORD /d 0 /f>nul
set proxydef=
if %proxyurl% equ "" set proxydef=1
if %proxyurl% equ default set proxydef=1
if %proxyurl% equ "default" set proxydef=1
if defined proxydef set proxyurl="http://%f2etestDomain%/getHosts.pac?name=%USERNAME%"
if %proxymode% equ "noproxy" (
set proxyurl=""
)
if %proxyurl% neq "" (
rem 开启代理
reg add %proxypath% /v "AutoConfigURL" /d %proxyurl% /f >nul
) else (
rem 关闭代理
reg delete %proxypath% /v "AutoConfigURL" /f > nul
)
rem 打开应用
start /MAX "" "C:\360\360Chrome\Chrome\Application\360chrome.exe" --allow-no-sandbox-job %url% --user-data-dir="%APPDATA%\360chrome\User Data"
rem 打点统计
start "" curl "http://%f2etestDomain%/applog?userid=%USERNAME%&appid=%appid%&isweb=%isWeb%"
你好,我按照教程部署完成后,结构是这样的:
f2etest-web部署在地址:http://192.168.137.3:3000/ 上
f2etest-client部署在:http://192.168.137.4(windows server2008 standard)上
现在我访问web端,能看到我配置的IE7图标,点击后重定向到8080端口的地址,url中携带了默认的user和password等参数。
问题是:这个页面是黑屏状态,看不到任何错误信息(包括IIS和tomcat里),IIS可以单独访问。
我猜测是用户名和密码验证没有通过,但是不知道如何定位问题。数据库中可以查到用户名和密码。
麻烦有人看到能帮忙答复一下,十分感谢!
在windows server 2008上执行openAllNode.bat后,在打开的127.0.0.1远程桌面登陆时提示用户名或密码不正确
测试iOS, Android各个版本的前端兼容性。
@yaniswang
windows server 2008 这边是怎么安装的,谁有记录安装过程的,能否分享一下
在登录页面的时候,总是302跳转,sso,endSsoToken?SSO_TOKEN=User1501664078057&BACK_URL=http%3A%2F%2F(ip)%2F
点击IE图标进入虚机的时候,提示用户名密码错。
能具体说明一下用户同步整个流程是怎么样的的吗?
需要具体怎么设置,Windows的设置能不能描述详细一些。
呵呵,不好意思,又遇到一个问题咨询。
登录进入后显示初始化失败,请联系管理员,错误信息:somc account initialize failed: 192.168.14.248
页面上一直显示正在初始化您的账号,请稍等.....。发生这种情况可能是哪里出了问题?
此处好像有两个问题:
我们没有sso服务,是否可以绕过sso做认证呀?我们有ldap服务。
人家就喜欢简单粗暴嘛...
主要限制过多
guacamole这块配置比较简单还能接受.我公司是 hunantv.com ,对兼容性测试需求比较大,对这个系统其实很需要的,但是奈何我水平过低..搞不定..囧了..
我在浏览器云里面可正常配置safari,但是配置webdriver是失败的,有没有支持这个浏览器
An internal error has occurred within the Guacamole server, and the connection has been terminated. If the problem persists, please notify your system administrator, or check your system logs.
不知道怎么解决了
部署webdriver云过程发现一直提示“Report to f2etest failed!”,然后反复检查配置和尝试多次,最终发现在wdproxy.js中会对web主机发起一个http请求,默认端口是80,但是我配置浏览器云的端口是3000(没有使用nginx做反向代理),导致我这边提示“Report to f2etest failed!”
所以建议大神在配置文件中加入端口号。
还是不太明白怎样使用f2etest,能不能举个例子,怎样去用这个方案的?
大家可以在这里一起讨论下如何让sso.js能够参数化接搏各家公司内部的SSO系统,而不是像现在这样需要人肉的修改sso.js。
我的访问 setuser.asp 一直返回 set user failed , 到底是哪里配置有问题啊?
打开127.0.0.1:8080 后出现 Some account initialize failed: x.x.x.1
公司内部没有正版2003授权,求问是否可以用window xp代替。
WebDriver浏览器列表显示浏览器个数,怎么控制,比如在win2008安装了360浏览器,和ie8,部署了4个节点,在WebDriver浏览器列表 360浏览器和ie8各显示几个
再chrome上面录制的步骤中存在下滑的操作
(it('scrollTo: 0, 807', async function(){
await driver.scrollTo(0, 807);
});),但是在ie浏览器回放的时候,ie浏览器下滑到位置后,立刻跳回到顶部
1、f2etest.sql,SQL有问题,在创建appUsers,没有创建字段就添加索引了,引起报错,
2、还有您说建一个F2etest表,但是这个SQL是建appLogs,appUsers,也没有这个F2etest表,
3、在配置vi site.json 中"dbTable": "f2etest",不能这样填写吧。
SET FOREIGN_KE"port": 3000,
"name": "F2eTest",
"about": "浏览器云测平台",
"icon": "/favicon.ico",
"dbHost": "localhost",
"dbUser": "xxx",
"dbPass": "xxx",
"dbTable": "f2etest",
"clientApiKey":"xxxx",
"guacamoleApi": "http://f2etest-link.xxxx.com/guacamole/client.xhtml",
"footer": "",
"statNav" : "<a href="/stat">标准统计 | <a href="/statuser">个人统计"Y_CHECKS=0;
我不明白,可以在Apache下使用吗?
WebDriver浏览器列表不显示ie6,ie7,新添加了ie6不显示,是因为win2003有什么设置吗
这几天弄别的没登录,推荐个开源的单点系统,,部署比较简单
http://developer.jasig.org/cas/
Error: Failed to lookup view "index" in views directory "/root/f2etest-web/views"
at EventEmitter.app.render (/root/f2etest-web/node_modules/express/lib/application.js:555:17)
at ServerResponse.res.render (/root/f2etest-web/node_modules/express/lib/response.js:938:7)
at /root/f2etest-web/control/index.js:15:13
at Layer.handle [as handle_request] (/root/f2etest-web/node_modules/express/lib/router/layer.js:82:5)
at next (/root/f2etest-web/node_modules/express/lib/router/route.js:110:13)
at Route.dispatch (/root/f2etest-web/node_modules/express/lib/router/route.js:91:3)
at Layer.handle [as handle_request] (/root/f2etest-web/node_modules/express/lib/router/layer.js:82:5)
at /root/f2etest-web/node_modules/express/lib/router/index.js:267:22
at Function.proto.process_params (/root/f2etest-web/node_modules/express/lib/router/index.js:321:12)
at next (/root/f2etest-web/node_modules/express/lib/router/index.js:261:10)
目前的解决办法是删除该服务器上的用户,然后调用同步接口,这样该用户登录就可以访问了,但是一旦注销后,再重新连接就又出现这个问题
百度浏览器配置还后,打开远程桌面后浏览器没打开,直接登出页面
我把 360chrome,360se都安装的IE8浏览器服务器上面的,
360chrome.bat ,360se.bat 这个两个文件也配置了,路径也修改过了
RomoteApp 中也添加程序了,但是还是不行,
一进入系统,就自动断开了,想问一下 360chrome.bat ,360se.bat 的配置文件应该怎么写,要注意些什么?
之前我都是kvm上部署机器,现在打算把kvm和这个东西连起来,发现教程太简单了,搞了一天没有搞定。希望再精炼下教程。还有就是可以用一些小点的依赖么
配置f2etest-web时,修改conf/site.json:
clientApiKey: f2etest远程桌面客户端的ApiKey,这个值是随便设置的吗?
guacamoleApi: guacamole的API, 是一个什么样的值,能不能给下具体的值
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.