从CloudBees向Firefox实验室发送Firefox配置文件

时间:2012-10-04 16:46:47

标签: selenium selenium-webdriver cloudbees saucelabs

我有一个Selenium测试,需要将自定义的firefox配置文件上传到Sauce Labs。我将文件上传到文件共享存储库,如cloudbees网站上所述:

https://cloudbees.zendesk.com/entries/438491-sharing-files-with-build-executors-such-as-maven-settings-xml

我已在Jenkins作业中启用了Sauce Connect,并且还配置了用户和api密钥。我还为酱实验室中的自定义firefox配置文件使用添加了配置

http://saucelabs.com/docs/additional-config

使用setCapability方法,如下所示:

capabilities.setCapability("firefox-profile-url","https://repository-myProfile.forge.cloudbees.com/private/ffprofile/sauce.zip"); 

然而,似乎文件没有像我想象的那样进行传输。 Sauce Connect是否以某种方式与CloudBees通信并通过URL访问该文件?有没有其他方法可以让我的测试中使用firefox配置文件到Sauce Labs?

0 个答案:

没有答案