Contact
info-emea@leapwork.com
+45 35 25 14 14
+45 35 25 14 14
Leapwork ApS
Store Kongensgade 72C,
1264 Copenhagen K,
Denmark
Find tutorials, guides and use case examples in the
Learning center
The Connection tab lets you set up a connection to different external resources. These resources can support powerful extensions to Leapwork, such as automation for mobile devices (locally or in the cloud) as well as external directions. Multiple connections can be created and saved which can be used for each Leapwork instance.
Leapwork supports three different ways to set up a connection:
• Appium Server – To support automation of native mobile devices (iOS and Android)
• HeadSpin Server – To support building and running automation using Headspin’s cloud device farm
• Lightweight Directory (LDAP) – To support fast and easy access to central user information
• SauceLabs Server - To support automation of iOS and Android devices
• BrowserStack Server - To support automation of iOS and Android devices
Note: Connections settings would be available if you are logged in as an administrator.
Appium Server is an open-source automation framework that is used for testing mobile applications. It drives Android and iOS app using WebDriver. The Appium server must be installed on a host that is accessible for Leapwork.
To add a connection, click the Add button and the following pop-up appears:
On the Add Connection pop-up window:
Enter the title of the connection in the Title field. It should be unique.
Enter the description in the Description field.
From the Type drop-down, select the Appium Server option:
Select Appium Server and the following new fields appear:
Enter Hostname in the Hostname field. The hostname refers to the host of the Appium server, and can be either:
Note, that while it is possible to install the Appium server software on the same host as the Leapwork controller, it is not recommended.
The hostname can be found in Settings → General → About. The IP address can be found in Settings → Network. Select the active network connection and click Properties.
How to obtain the Hostname and IP address for a Windows- based host:
The hostname for Windows host can be obtained from Settings → System. The IP address can be found by selecting Settings → Network and Internet and choosing Properties in the top.
Enter the port configured in Appium in the Port field. The default port for Appium is 4723.
Enter the path in the Path filed. (e.g., /wd/hub)
Click the Test connection button to test the connection.
Click the Save button to save the details. Once your connection is saved a success message appears to let you know the connection is successful.
To the right of the Add button, use the buttons Edit or Delete to change and remove the connection.
Note: This feature can be accessed by Leapwork Admin only.
HeadSpin Server is a cloud-based automation framework that is used for testing mobile applications. It drives real Android and iOS app using WebDriver. The benefit from using HeadSpin compared to local Appium server is that you do not need to own and manage any devices locally. They are all available at HeadSpin, both for iOS and Android.
Note, that a separate HeadSpin subscription is required in order to use this connection type.
To add a connection, click the Add button and the following pop-up appears:
On the Add Connection pop-up window:
Enter the title in the Title field. It should be unique.
Enter the description in the Description field.
From the Type drop-down, select the HeadSpin Server option:
Select HeadSpin Server and the following new fields appear:
Enter Hostname in the Hostname field.
Enter the port configured in HeadSpin in the Port field.
Enter the API token in the API token filed. The token is provided by HeadSpin.
Click the Test connection button to test the connection.
Click the Save button to save the details. Once your connection is saved a success message appears to let you know the connection is successful.
To the right of the Add button, use the buttons Edit or Delete to change and remove the connection:
Note: This feature can be accessed by Leapwork Admin only.
Lightweight Directory Access Protocol (LDAP) is a protocol for connecting to a directory service and it is used for accessing and maintaining user information. Organizations may have customized user directories which follow LDAP protocol. This feature will support such a customized user directory so that users/groups can be added to Leapwork.
The Connections tab lets you set up a connection to the LDAP server which can be used to identify users or groups in an LDAP directory.
Note:
Leapwork users can only use one directory at a time and cannot switch between Active Directory (AD) and LDAP.
Leapwork does not support adding AD users or groups and then adding LDAP users or groups.
Existing AD users or groups will be deleted if a user switches from AD to LDAP and vice versa.
To add a connection, click the Add button and the following pop-up appears:
On the Add Connection pop-up window:
Enter the title in the Title field. It should be unique.
Enter the description in the Description field.
From the Type drop-down, select the Lightweight Directory (LDAP) option:
Select LDAP and the following new fields appear:
Enter the mandatory attributes LDAP Server, Port, Bind DN or User, and Bind Password. These attributes are used to connect the LDAP server.
All other attributes are optional, and users can choose attributes based on their requirements.
The Domain is server address where directory is hosted.
The User filed is used to authorize the user in the LDAP directory.
The Full Name filed is used to display the names of users who are authorized in the LDAP directory.
The User Unique Identifier is used to uniquely identify the user based on ID assigned.
The MemberOf field is used to fetch groups of users logging into the platform and authorize them accordingly.
The Group field is used to authorize a group in the LDAP directory.
The Group Unique Identifier is used to uniquely identify the group based on ID assigned.
The Default User Directory check box is checked by default.
Click the Test connection button to test the connection.
Click the Save button to save the details. Once your connection is saved a success message appears to let you know the connection was successful.
To the right of the Add button, use the buttons Edit or Delete to change and remove the connection.
Note: This feature can be accessed by Leapwork Admin only.
To add an LDAP user, from Settings, go to User Management.
Click on Add AD User and a new window opens:
Enter the User or Group name which should be used to authorize the user or group in the LDAP directory.
Select Access from the drop-down menu.
Check the Team checkbox based on your requirements. (Note: The Team checkbox is only available for Leapwork Enterprise Edition users).
Click Save to save the User or Group.
To the right of the Add AD User button, use the buttons Edit, Delete and Export to change or remove user profiles or to export them in an Excel format.
SauceLabs Server
Saucelabs Server is a cloud-based platform for testing mobile applications on emulators (Android); simulators (iOS); and real iOS or Android devices. The SauceLabs server must be installed on a host that is accessible for Leapwork.
To add a connection, click the Add button and the following pop-up appears:
On the Add Connection pop-up window:
Enter the title of the connection in the Title field. It should be unique.
Enter the description in the Description field.
From the Type drop-down, select the SauceLabs Server option:
Select SauceLabs Server and the following new fields appear:
Select Sauce Data Center from the drop-down list.
Enter hostname in the Hostname field.
Enter port in the Port field.
Enter the user name in User name filed.
Enter the access key in the Access Key field.
Click the Test connection button to test the connection.
Click the Save button to save the details. Once your connection is saved a success message appears to let you know the connection is successful.
To the right of the Add button, use the buttons Edit or Delete to change and remove the connection.
Note: This feature can be accessed by Leapwork Admin only.
BrowserStack is a cloud-based platform for testing mobile applications on emulators (Android); simulators (iOS); and real iOS or Android devices. The BrowserStack server must be installed on a host that is accessible for Leapwork.
To add a connection, click the Add button and the following pop-up appears:
On the Add Connection pop-up window:
Enter the title of the connection in the Title field. It should be unique.
Enter the description in the Description field.
From the Type drop-down, select the BrowserStack Server option:
Select BrowserStack Server and the following new fields appear:
Enter Hostname in the Hostname field.
Enter the user name in User name filed.
Enter the access key in the Access Key field.
Click the Test connection button to test the connection:
Click the Save button to save the details. Once your connection is saved a success message appears to let you know the connection is successful.
To the right of the Add button, use the buttons Edit or Delete to change and remove the connection:
Note: This feature can be accessed by Leapwork Admin only.
Leapwork ApS
Store Kongensgade 72C,
1264 Copenhagen K,
Denmark
©2023, LEAPWORK. All rights reserved. Legal