Unable to start application when try to do object spy in remote device

Got a solution for this issue after spending my whole day.

After spending a day, I did it phew.

Solution:
After updating/installing (now katalon is downloading as an exe) to the new katalon version in the JRE file under the C:\Users\userName.katalon\packages\Katalon_Studio_Windows_64-8.6.8\Katalon_Studio_Windows_64-8.6.8\jre\lib\security\cacerts SSL Certificate is missing

To add that if you are using lambda test/ Pcloudy/ Browser stack/Kobiton/sauce labs you need to add the certificate to connect to the remote Device.

Please follow the following steps

  1. open the cloud device provider URL in your Chrome browser

  2. click on the lock icon on the left side of your URL

  3. click Connection is secure
    image

  4. click on Certificate is valid you will get the following window opened

  5. click on the Details Tab at the top of the window you will get the following screen

  6. you will get the file explorer to save the file save it with .cer Extension

  1. check the Katalon version you are using in the IDE

  2. Go to the following location C:\Users\userName.katalon\packages\ select the version of the IDE you are using \jre\bin

9.copy the path

  1. open your command prompt

  2. cd paste the copied path by right click on the command prompt
    give enter and enter the following

  3. keytool -importcert -file “path of the exported.cer File with file name with.cer extension” –alias anyaliasname –keystore “C:\Users\userName.katalon\packages\ select the version of the IDE you are using \jre\lib\security\cacerts”

eg:
C:\Users\bharathi.a\.katalon\packages\Katalon_Studio_Windows_64-8.6.8\Katalon_Studio_Windows_64-8.6.8\jre\lib\security\cacerts

13 press the Enter Button
14. you will be prompted to enter a password give the password as changeit
15. you will be prompted to confirm type enter yes or y
16. the certificate will be added.

Thats’all

Method 2

  1. Download keystore explorer from here

  2. install the application

  3. click on Open
    image

  4. Select File of types as all files

5… browser for this file `
C:\Users*your system User Name here*.katalon\packages\Katalon_Studio_Windows_64-8.6.8\Katalon_Studio_Windows_64-8.6.8\jre\lib\security\cacerts

  1. click on open

  2. you will asked to enter a password give the password as changeit and click on ok

  3. Mouse over to this icon you will get the tool tip as click on thisimage
    image

  4. you will get an explorer window to search for certificates search for the saverd .cer file in method 1 click on it and click the open button

10 you may get the following window to enter an alias name just give some name to it and click ok button
image

  1. you will get the following pop-up click ok button
    image

12 save the changes using the save icon on the toolbar
image

13 close the application you are all set to start testing on the cloud.

i hope this will help you to overcome the java.util.concurrent.ExecutionException: org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target error

3 Likes