Questions tagged [saucelabs]
Sauce Labs is a cloud service providing web browsers and mobile devices for both manual and automated testing.
492
questions
0
votes
0
answers
17
views
How to run cypress test using tags from saucectl
I am able to run cypress test on saucelab using saucectl. Now the ask is to run tests with required tags like smoke or regression. Is there any configuration that I can do in confg.yml file or pass ...
0
votes
2
answers
27
views
Cannot find module error while running cypress test using saucectl
While trying to run cypress test from saucectl (saucelab) I am getting "Error: Cannot find module 'pdf-parse'". Not sure how to resolve this issue as my test works fine while running locally....
0
votes
0
answers
32
views
@AfterMethod tearDowns for running the entire class using - selenium 4
I am facing tear down issues (org.openqa.selenium.SessionNotCreatedException) when running an entire class which holds many methods. Tests are ran on saucelabs.
when a single method is run, it works ...
0
votes
0
answers
38
views
org.openqa.selenium.WebDriverException for appium on selenium4 for getScreenshotAs method
I am trying to take screenshot using the getScreenshotAs method using selenium 4 remotely on saucelabs(appium). It is working absolutely fine locally whereas running remotely, I am getting the ...
0
votes
0
answers
12
views
Is it possible to use an xml file containing test results from a pipeline as input to an Azure Dashboard to display the results in this XML file?
we are running some tests using saucelabs , the pipeline connects to sauce labs runs the tests and then generates a xml file of the results on the build machine. Is there a way we can use this xml ...
1
vote
1
answer
87
views
org.openqa.selenium.UnsupportedCommandException for appium (devices) for sauce labs
I am trying to upgrade from Selenium 3 to Selenium 4. The capabilities and everything works fine for all the browsers remotely on sauce labs and works well even on local but when it comes to devices(...
0
votes
1
answer
47
views
How to connect to saucelabs via Azure devops?
I need to test a connection to sauce labs from Azure devops but struggling to find the correct syntax for this?
0
votes
1
answer
53
views
Is there a way to access files via a file chooser dialog when running tests on Sauce Labs?
I am performing automated cross-browser testing using Selenium and Sauce Labs. The web application under test requires files to be accessed via a file chooser dialog. I’d like to access these files ...
0
votes
0
answers
28
views
Appium starts waiting for alert window when atom takes more time to execute
This is regarding already known topic https://github.com/appium/appium/issues/16222 on appium side i understand The logic is to wait for an atom to complete for maximum one second. If the completion ...
0
votes
1
answer
33
views
Apple platforms with Selenium 4 on SauceLabs hangs on "Let's Browse!" page
When I launch seemingly any IOS device on SauceLabs (as defined on the platform configurator as a guide) and Selenium 4 the Safari Browser initialises to 127.0.0.1 with a message "Let's browse!&...
0
votes
2
answers
54
views
How to do Flutter web integration testing with BrowserStack / Sauce Labs etc?
I'm trying to run integration tests of a Flutter web (not Android/iOS) app on a hosted device farm like BrowserStack or Sauce Labs. It seems that the Flutter driver or integration tester are only ...
0
votes
1
answer
70
views
WebdriverIO saucelabs bug, browser.getUrl is refer to started url but not for current url
I'm faced with issue when my tests on remote (CI+saucelabs or local machine + saucelabs remote) are not the similar.
I have a site (e.g. example.com)
My scenario consists on next steps:
open example....
0
votes
3
answers
75
views
Selenium page loading wait methods
I've been running automation tests that execute relatively quickly in my local environment but are extremely slow in Sauce Labs.
The existing Java code appears to have two types of redundant page ...
0
votes
0
answers
63
views
WDIO - Maximum call stack size exceeded in SauceLab but not in Local Runs
I have automated UI tests (WDIO) that tests whether a form saves and displays the correct data.
All my tests pass when I run it locally, but when I try running it in SauceLab I get this error for some,...
0
votes
3
answers
98
views
Robot Framework + Sauce labs can't recognize the Browser Edge name
i am running my robot framework test in Sauce labs, for chrome/firefox/safari, it is all right. but for Edge, Sauce labs can't recognize the Edge browser name.
I try to use "edge", it ...
0
votes
0
answers
26
views
Button on alert window getting tapped without any tap/click action
my app after installation and before tour page, pop ups an alert window asking whether to allow or don;t allow app notifications.
if(this.appium.isElementPresent("allow",4)){
...
0
votes
0
answers
46
views
Updating job status on SauceLabs via Jenkins Sauce on Demand not working
Below is my code. It was working fine and i was able to see saucelab videos and pass/fail result on jenkins earlier. but now somehow its not working and i am not able to see videos and pass/fail ...
1
vote
1
answer
53
views
[Karate Test][Saucelab]: Session disconnecting after launching mobile app installed in Saucelab
I am launching android test on Saucelab, however I can see the script is launching the mobile app on saucelab but not able to perform any action on it and throwing this exception:
12:54:20.931 [main] ...
0
votes
1
answer
70
views
How does sauce lab will transfer the test results report from sauce lab to jenkins dashboard?
I am trying to use sauce labs with jenkins for the selenium functional test cases.
let's say I have a jenkins ci/cd pipeline in network-1 where it connects to git repo to checkout the code and do the ...
0
votes
1
answer
26
views
Does jenkins has a way to check the status(up or down) of the selenium grid which is running in the sauce lab environment?
I am trying to use sauce labs with jenkins for the selenium functional test cases.
let's say I have a jenkins ci/cd pipeline in network-1 where it connects to git repo to checkout the code and do the ...
0
votes
1
answer
101
views
How to handle browser notifications for safari browser while executing tests on Saucelabs via Selenium?
I am trying to execute some scripts from our in-house existing framework on the safari browser on Saucelabs. As soon as the application is logged in I get the browser notification to Allow or Don't ...
1
vote
1
answer
87
views
RemoteWebDriver is null error (sauce labs implementation) -selenium,cucumber,java
I am implementing my code to work on remote machines on Sauce Labs. The code worked fine until I have changed my driver initialisation (to work with remote server). I keep getting this.driver is null ...
0
votes
1
answer
29
views
Does Sauce lab needs authenticate to run tests which are in client side?
Let's say I have a jenkins ci/cd pipeline in network-1 where it connects to git repo to checkout the code and do the deployment in network-2.
now after the deployment, selenium functional test cases ...
0
votes
0
answers
56
views
Unable to understand Interaction of Sauce Labs with Jenkins for the selenium functional test cases
I am not able to understand how Sauce labs works with Jenkins specifically for following use cases:
how does it work if I am in public network ? or the site to be tested is in public network ?
how ...
0
votes
1
answer
56
views
What's the version of Appium Java-client that will auto prefix "Appium" to follow W3C protocol
I am trying to update my scripts to follow W3C Protocol for Appium tests.
Can't find which version of Appium java-client will automatically prefix "Appium" keyword to the capabilities.
0
votes
1
answer
24
views
Saucelabs - intercept Android/iOS app HTTP(S) traffic
Is it possible with Saucelabs to intercept mobile HTTP(S) traffic? I want to verify that a specific set of requests are executed by an iOS and Android app. I'm not looking to modify the requests, just ...
0
votes
1
answer
68
views
WDIO: Request is timed out for Multiremote Sauce-Labs session start
I need to run tests in 2 different browsers simultaneously - 1 Web + 1 Mobile Web.
I am trying to set up wdio to work with Multiremote settings but no luck.
I am getting logs with retries:
...
[0-0] ...
3
votes
2
answers
198
views
Getting Saucelab error "There is no device that matches your criteria."
I am trying to run an Appium test in saucelab real devices. But that is throwing error "There is no device that matches your criteria."
All config files with console logs are pasted here : ...
0
votes
1
answer
15
views
Sauce lab automatically log bug into jira
We're looking into automation so we're facing the issue is sauce lab automatically logs bugs in Jira of fail test cases?
0
votes
0
answers
106
views
Appium not showing webview context on real devices
I'm trying to get the context of a page in android hybrid app. In saucelab's emulator, I'm getting two contexts (native and webview). But, on sauce lab's real device, I'm only getting the native ...
0
votes
1
answer
367
views
Not able to create session in saucelab real /virtual mobile with selenium 4
Using selenium 4.1.0 with appium latest version 8.0.0 beta.
Getting below exception while launching browser in saucelab real device.
"org.openqa.selenium.SessionNotCreatedException: Could not ...
0
votes
2
answers
145
views
“ERROR Unable to find the browser. “saucelabs:Chrome@83.0:Windows10” is not a browser alias or path to an executable file
I am trying to run my UI test using testcafe and saucelabs. I am facing this above error. Currently I am using testcafe v1.8.3 and testcafe-browser-provider-saucelabs v1.7.0
I have tried changing ...
0
votes
1
answer
41
views
Can we use Saucelabs with cucumber js and puppeteer project for cross browser testing?
We have written a test automation suite, which is using puppeteer for browser automation and cucumber for test execution.
Can we integrate saucelabs with it for cross browser testing?
1
vote
1
answer
97
views
How can I handle file download pop up for safari using nightwatch
I am trying to use something like this, similar to my firefox options, but my test doesn't seem to handle the download pop-up, any suggestions ? Thank you
"safari": {
"...
1
vote
0
answers
67
views
Karate Commands are not working in Saucelab session (webdriversession) [duplicate]
I am trying to integrate Karate with Saucelab and I used webDriverSession in the driver config to set up the Saucelab url.
Like this ( I used Zelenium with saucelab after reading a few comments ...
0
votes
2
answers
131
views
org.openqa.selenium.remote.UnreachableBrowserException:
I am using Selenium with sauce labs and I am trying to run testng file from command line but it's throwing me the following error since 1 week. It was working fine before. Can some one please help me ...
0
votes
1
answer
131
views
How to run automated tests of In-App purchases in Sauce Labs with Appium
I am trying to run tests for In-App payments for both iOS and Android with Appium.
So far I have managed to run a local instance of Appium and connect my test devices to it. All the tests work fine. ...
0
votes
2
answers
110
views
How to set up SauceLabs for TestNg Java
Can someone please help me to figure out how to set up saucelabs for testNg on Java?
I’ve tried different guides, and it’s always different variations of set up, here's one of the examples that didn't ...
0
votes
1
answer
225
views
How to handle allow/dismiss geo location popup on Android devices
I wanted to know how to handle geo location popup on Android devices
below are some high level details
I am using Saucelabs cloud to run my scripts
I am using Chrome browser
Android-emulator : ...
0
votes
1
answer
26
views
Not able to download selenium-server log from the saucelab, getting FilenotFound Exception
I am not able to download selenium-server log from the saucelab
This is the error:
Sep 07, 2021 9:27:43 PM com.saucelabs.saucerest.SauceREST saveFile
WARNING: Error downloading Sauce Results
java.io....
0
votes
0
answers
35
views
NIghtwatch - Saucelabs Issue
Issue: While running the test cases in saucelabs,
"we are getting security verification failed. Please enable cookie and refresh error".
Findings:
The test cases are running fine in local ...
0
votes
1
answer
246
views
What is the correct way to add Capabilities using Selenium in C#?
I'm working with Selenium (4.0-rc1) in C# and want to use SauceLabs, to use this service I need to pass a custom capability.
In the examples, it shows adding a capability ("string","...
0
votes
1
answer
1k
views
WebdriverIO - Execute some tests consecutively and other tests in parallel
I have a WDIO project that has many tests. Some tests need to be run consecutively while other tests can run in parallel.
I cannot run all tests in parallel because the tests that need to be run ...
0
votes
1
answer
47
views
Is it possible to add iPad parameter "deviceOrientation" in testcafe-browser-provider-saucelabs?
My team follows this example for our browser configuration on Saucelabs:
https://github.com/saucelabs/testcafe-browser-provider-ios
To be exact, this is what we have in our code:
"test-ipad":...
0
votes
1
answer
144
views
unable to acaess the application in localhost through saucelabs tunnel
I am using Saucelabs to test my application on Mac, chrome configuration as I am using windows machine.
As per Saucelabs documentation, downloaded the Saucelabs Connect Proxy. Extracted the file and ...
0
votes
2
answers
47
views
Protractor file upload with Saucelabs (Chrome 90) redirected to "data:text/html,<html></html>" after upload, works locally but not on Saucelabs
I am using protractor for a Node.js application with Chrome, in one test case I have to upload image and then click add/update button. The test case is working perfectly on my machine, but on ...
0
votes
0
answers
131
views
Mock camera feed in SauceLabs in webapp
I have a web application which makes use of camera to scan QR code. I am trying to mock the same for testing. Its able to inject the camera feed when I try to run on my local machine using the code:
...
2
votes
1
answer
53
views
How to send different data to each script running in parallel using NodeJS, Protractor, and Saucelabs?
I have multiple automation scripts setup with NodeJS, Protractor, Jasmine Framework and SauceLabs.
Each script is in separate .JS files and it reads data from .JSON files. I have defined login ...
1
vote
1
answer
70
views
Sauce service doesn't work with mobile tests
I am using sauce-service package to send names of tests (feature files) and see them on Sauce Labs, everything is working fine when I am using web tests but unfortunately when I try to set mobile ...
0
votes
0
answers
147
views
Getting an error on Sauce labs when trying to iOS native app : Error: Infrastructure Error -- The Sauce VMs failed to start the browser or device
Here is my DesiredCapability. Trying to run native app.
Uploading the build from Saucelabs -> Live UI
tried a curl command as well
MutableCapabilities sauceOpts = new MutableCapabilities();
// ...