Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,274
Community Members
 
Community Events
165
Community Groups

Getting WebDriverException: java.nio.file.NoSuchFileException: in Bamboo CI

Edited

Hi Team,

I have configured appium mobile project(converted into bat) and Perfecto cloud for Continues Integration in Bamboo settings.

When I run the application I getting below issues for your reference.

 

build 13-Aug-2018 08:05:02 [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ PerfectoProject_Latest ---
build 13-Aug-2018 08:05:03 [INFO] No tests to run.
build 13-Aug-2018 08:05:03
build 13-Aug-2018 08:05:03 -------------------------------------------------------
build 13-Aug-2018 08:05:03 T E S T S
build 13-Aug-2018 08:05:03 -------------------------------------------------------
build 13-Aug-2018 08:05:05 Running TestSuite
build 13-Aug-2018 08:05:08 VerifyLoginPageAssertions
build 13-Aug-2018 08:05:09 LanguageCheckingInConfScr
build 13-Aug-2018 08:05:09 RegionCountryCheckingInConfScr
build 13-Aug-2018 08:05:10 Configuration
build 13-Aug-2018 08:05:10 ConfigRLSetupRL
build 13-Aug-2018 08:05:11 ConfigureRLManufactureActiveList
build 13-Aug-2018 08:05:11
build 13-Aug-2018 08:05:12 ConfigureRLRuleDesc
build 13-Aug-2018 08:05:12 AddToInventory
build 13-Aug-2018 08:05:13 AddToReadyLine
build 13-Aug-2018 08:05:13 AddToReadyLineSite
build 13-Aug-2018 08:05:13 RemoveFromReadyline
build 13-Aug-2018 08:05:13 CheckinNoDamage
build 13-Aug-2018 08:05:17 DamageRefNocol0
build 13-Aug-2018 08:05:18 DamageRefNo
error 13-Aug-2018 08:05:18 SLF4J: No SLF4J providers were found.
error 13-Aug-2018 08:05:18 SLF4J: Defaulting to no-operation (NOP) logger implementation
error 13-Aug-2018 08:05:18 SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
error 13-Aug-2018 08:05:23 org.openqa.selenium.WebDriverException: java.nio.file.NoSuchFileException: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\new-session18432356007360954.json
error 13-Aug-2018 08:05:23 Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
error 13-Aug-2018 08:05:23 System info: host: 'VAB0410135D8', ip: '10.121.137.119', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_131'
error 13-Aug-2018 08:05:23 Driver info: driver.version: AndroidDriver
error 13-Aug-2018 08:05:23 at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:84)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
error 13-Aug-2018 08:05:23 at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:51)
error 13-Aug-2018 08:05:23 at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
error 13-Aug-2018 08:05:23 at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
error 13-Aug-2018 08:05:23 at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
error 13-Aug-2018 08:05:23 at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:47)
error 13-Aug-2018 08:05:23 at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:114)

 

 

NOTE: BUT THE SAME PROJECT's BAT FILE IS WORKING AS NORMALLY WHILE RUN THE APP THROUGH BAT file.

1 answer

0 votes

Hi! 

 

Looks like the problem was related to the system variables.

BTW, Are you on the latest version 6.8.0 ?

https://confluence.atlassian.com/bamboo/bamboo-releases-671089224.html

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you