Cadet 1st Class
Cadet 1st Class
532 views

sauce labs and silk central

Hello,

how i can run test mobile created with silk4j using sauce labs in silk central 20

Thanks in advance.

 

3 Replies
Micro Focus Expert
Micro Focus Expert

Hi @zsaidani,

 

In the tests unit create a JUnit (Silk4J) test and configure it according to this:

https://www.microfocus.com/documentation/silk-central/206/en/silkcentral-help-en/GUID-07A35AD3-983E-4259-B986-1B898504211B.html#

 

Then you have to setup in Administration > Execution Environment > Device Providers a new device provider of type Sauce Labs. The configuration of a device provide in Silk Central is described here:

https://www.microfocus.com/documentation/silk-central/206/en/silkcentral-help-en/GUID-07145DAC-9C7B-4E40-83F2-035518C40E52.html#

 

Once you have completed creating a device provider you create an execution plan and assign the Silk4J tests to it. Then configure in the Deployment tab of your execution plan which device you want to use:

https://www.microfocus.com/documentation/silk-central/206/en/silkcentral-help-en/GUID-CFE2A742-37F8-4FD4-9787-364E8EE72A84.html

 

Later, when you run the execution plan the device is selected according to the filter set.

 

Regards,

Hubert

 

0 Likes
Cadet 1st Class
Cadet 1st Class

Thanks for your help 🙂 

i followed the same steps but when i try to run a test, thi error is displayed 

java.lang.RuntimeException: Could not connect to the Silk Test Information Service. Request URI = http://z_h.-1:**PERSONAL INFORMATION REMOVED**:80/wd/hub?deviceKey=03a16f91-1912-4862-83da-a77405b8fe5a, Response code = 404

 

NB: i use the trial version of sauce labs.

0 Likes
Micro Focus Expert
Micro Focus Expert

Hi @zsaidani,

 

If you click on "Test" in the Edit Device Provider dialog of your Sauce Labs configuration will then the connection work?

 

Regards,

Hubert

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.