Testing with BrowserStack - TestlumFramework/Testlum GitHub Wiki
Testing with BrowserStack is a comfortable solution for remote testing which does not require the resources of your computer. With BrowserStack you can test both native apps and mobile browsers on Android and iOS mobile/tablet devices.
Register your account here.
After you register an account, you can choose one of the testing types:
- for native app testing - App Automate
- for mobile browser testing - just Automate
On the top of one of these pages, you can find an element called ACCESS KEY
. Here you’ll find your Username
and Access key
, which you’ll need to connect to the BrowserStack server. In the next step, we’ll establish a connection between your computer and the BrowserStack server to start your tests.
Before running tests with BrowserStack, you need to establish a local connection between your machine and the BrowserStack servers.
Follow these simple steps:
- Download the Local Binary suitable for your operating system (Windows, Mac, or Linux).
- After downloading, unzip the file.
You have two options to launch the BrowserStack Local binary:
- Open your terminal (Command Prompt / Terminal).
- Navigate to the folder where the binary is located.
- Run the following command (replace
<your access key>
with your BrowserStack access key):
# For OS X / Linux:
./BrowserStackLocal --key <your access key>
# For Windows:
BrowserStackLocal.exe --key <your access key>
✅ Result: BrowserStack Local starts running and connects your machine.
- Open the terminal directly inside Testlum.
- Run the binary using the absolute path:
/Users/user/Downloads/BrowserStackLocal --key <your access key>
✅ Result: Same successful connection established.
⚡ Important Note:
Always start the BrowserStack Local binary before running your tests.
You only need to start it once per testing session.
When you're done testing, simply press Ctrl+C to close the local binary.
⚡ Important Note:
Don't forget to update browserStack connection and device configurations in
global config
!
After you start your tests you can see the test execution in real time, interact with the device during test execution, and view your test results. Depending on which type of testing you have chosen, go to the App Automate or Automate page. Here you’ll see your tests dashboard where you can find tests in execution and finished ones in the All Builds section on the left. After the test is finished, you can view the results. BrowserStack provides test records, all kinds of logs, and other useful information.
🌟 Now you are ready to run your automated tests securely through BrowserStack! 🚀