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
-
open the cloud device provider URL in your Chrome browser
-
click on the lock icon on the left side of your URL
-
click Connection is secure
-
click on Certificate is valid you will get the following window opened
-
click on the Details Tab at the top of the window you will get the following screen
-
you will get the file explorer to save the file save it with .cer Extension
-
check the Katalon version you are using in the IDE
-
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
-
open your command prompt
-
cd paste the copied path by right click on the command prompt
give enter and enter the following -
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
-
Download keystore explorer from here
-
install the application
-
click on Open
-
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
-
click on open
-
you will asked to enter a password give the password as changeit and click on ok
-
Mouse over to this icon you will get the tool tip as click on this
-
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
- you will get the following pop-up click ok button
12 save the changes using the save icon on the toolbar
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