Questions tagged [saucelabs]

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing.

Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing. Automated testing on Sauce Labs is compatible with Selenium and JS testing frameworks.

527 questions
2
votes
1 answer

How to set sauce-labs job result as pass or fail using karate?

I'm trying to run a simple test scenario on sauce-labs, but the issue is that sauce-labs doesn't identify the test-status as passed or failed on its own. I've gone through multiple solutions but couldn't make any of them work. I would love to know…
2
votes
2 answers

webdriverIO test on sauceLabs is not working for firefox

I am trying to run a wdio-test on saucelabs for chrome, IE and firefox. test works fine for chrome and IE, however it fails for firefox with : Infrastructure Error -- The Sauce VMs failed to start the browser or device. I am using lastest version…
2
votes
1 answer

TestCafe, HTTPS and Multi-browser testing

We are developing a web application which we are creating UI tests with Testcafe 1.5. All of the sites we are testing are HTTPS. Our tests are either run locally or on SauceLabs (for multi browser testing). We have been successfully testing for a…
gordonm
  • 169
  • 1
  • 16
2
votes
2 answers

nightwatch.js / Saucelabs - click() not working [ An error occurred while running .click() command on ]

I have been trying to run e2e test cases for a React app using Nightwatch.js + Saucelabs, but is facing the below error while .click() method executes. Error: An error occurred while running .click() command on :…
2
votes
2 answers

TestCafe, CircleCI 2.0 & SauceLabs -- can't get this combination to work

So -- I can, from my laptop do the following: testcafe "saucelabs:Chrome@70.0:Windows 10" tests/settings/users.js This will, connect to SauceLabs, to launch the test (or multiple tests, works either way), to hit back against our development server. …
Roger Studner
  • 108
  • 1
  • 7
2
votes
0 answers

Trying to get testcafe, saucelabs and circleci working together but having no luck

So I have the following in my package.json: test-sl-one: "testcafe \"saucelabs:Chrome@beta:Windows 10\" tests/settings/users.js -r xunit:/tmp/test-results/res.xml" I see the tunnel "active" on the saucelabs site. I wait about four minutes, and then…
2
votes
1 answer

How to override the test name given by wdio-sauce-service to SauceLabs?

SauceLabs typically uses the last describe() test title to name the test in its archives. Unfortunately, with several layers of describe, this might result in not very meaningful names. Thus I would like to dynamically change the name of the test,…
Raketenolli
  • 743
  • 8
  • 24
2
votes
1 answer

Please Suggest what is wrong with this selenium Script with sauce lab Code

FAILED CONFIGURATION: @BeforeClass createDriver org.openqa.selenium.WebDriverException: Unable to parse remote response: Misconfigured -- Sauce Labs Authentication Error. You used username 'null' and access key 'null' to authenticate, which are…
2
votes
0 answers

Getting "Invalid message: ERROR Internal Server Error" in some instances when running Selenium Tests on SauceLabs

Have been running the selenium test cases against IE 11 browser in SauceLabs VM. For every 1 in 30-40 test cases, I am getting WebdriverException: Invalid message: ERROR Internal Server Error The UI just gets stuck there, for a couple of minutes,…
2
votes
1 answer

NoSuchElementException with uiautomator2

I'm trying to run my Python code on Sauce Labs and it works fine with automationName capability not set (which defaults it to Appium as per http://appium.io/docs/en/writing-running-appium/caps/). However, when I set this capability to UiAutomator2,…
Akshay Maldhure
  • 787
  • 2
  • 19
  • 38
2
votes
4 answers

SauceLabs cannot read my username and accesskey

I'm trying to access a saucelabs emulator with the following code: public static final String USERNAME = "redacted"; public static final String ACCESS_KEY = "redacted"; public static final String URL = "http://" + USERNAME + ":" + ACCESS_KEY +…
Emily
  • 82
  • 1
  • 10
2
votes
3 answers

Appium Java Sauce Labs Cloud testing: Ran Desired Capabilities got Sauce Labs Authentication Error

I'm a noobie on Sauce labs. I was running my Sauce labs on appium Desired capabilities for the 1st time and I got the following error message: unable to parse remote response: Misconfigured -- Sauce Labs Authentication Error. You used username…
fypnlp
  • 1,372
  • 4
  • 18
  • 41
2
votes
2 answers

XCUITest Simulator architecture appears to be unsupported by the Appium

I am trying to test my react native iOS app in saucelabs(appium). Saucelabs require a file zip of .app folder created after the xcode build. I am using following steps(bitrise steps) to create the .app folder and the zip file. 1) Set Xcode Project…
Rahul
  • 645
  • 1
  • 9
  • 21
2
votes
0 answers

Browsermob doesn't intercept anything with Sauce Labs through Sauce Connect

I'm trying to switch from Browserstack to Sauce Labs (the former spawns a zombie process in docker which hangs up the whole container). And while everything seems to connect and listen to ports, the HAR is null. My setup is straightforward: on the…
2
votes
1 answer

Selenium code to click/tap on a link, which opens a new tab on ipad/iphone

I have been trying to click/tap on a link using selenium, which opens a new tab on ipad/iphone. The test, I have written is working fine on desktop but it is not clicking the element, when it runs on ipad/iphone (saucelab). The step, which clicks…
Latha
  • 21
  • 2