-
Notifications
You must be signed in to change notification settings - Fork 101
Test agent setup for Windows X86 iPhone
OliverShen edited this page Jun 8, 2023
·
4 revisions
- Install iTunes on Microsoft store (The iOS devices need to connected to iTunes and set as a trusted device).
- Install tidevice: pip3 install -U "tidevice[openssl]"
- We also provide a script named as installer-iOS.ps1 for iOS-Windows agent. installer.zip
-
Download the
application.yml
following the Guideline: Download the agent configuration. -
Create a new folder in you PC.
-
Download the latest agent.jar or build the agent project as agent.jar. Then, copy the file to the folder. To build the agent, run the following command in the project root dir:
gradlew :agent:bootJar
- Unzip HydraLab_Agent_Installer_Windows.zip to the folder, the folder shows like this picture.
- Download application.yml from portal (a sample configuration is available here: sample YAML config)
- app.registry.server
- The hostname + port of the center server. For instance, if it's running on a machine with the hostname of testagent.hydralab.com and servicing on port 9886, then this value should be "testagent.hydralab.com:9886".
- app.registry.id
- app.registry.secret
- app.registry.name
- app.registry.agent-type (An int value to indicate the type of test devices for Testing)
- Value 1 represents WINDOWS PC + n * ANDROID devices -> For Android test agent.
- Value 2 represents WINDOWS PC + 1 * ANDROID device, support running Appium Test case on Windows -> For Windows-Android cross-platform agent.
- Value 3 represents WINDOWS/MAC PC + n * iOS devices -> For iOS test agent.
- management.metrics.export.prometheus.pushgateway.enabled (Optional; If true, will send metrics to our stability monitor. When an exception happens, we will receive emails.)
-
Setup log file location: modify AgentService.xml and replace {LOG_FILE_LOCATION}
-
Install it as a Windows Service: open cmd/powershell (admin), execute command : .\AgentService.exe install
- Open Windows Services and find a service named Hydra Lab Agent Service.
- You can start/stop the service.
- If it starts successfully, the agent will show up in HydraLab center portal. BTW, only the agent connected with devices will be displayed on the page.
Introduction:
User manual:
- Deploy Center Docker Container
- Deploy Agent Docker Container
- Test agent setup
- One-Line-Installer Agent Setup
- [DEPRECATED]Deploy a test agent service
- Trigger a test task run in the Hydra Lab test service
- Create an Appium UI Test Automation Project
- Create test build and run XCTest
- Test Task Customization
- FAQ
Developer guideline:
- Start Services with Default Configuration
- Dev Environment Setup
- Technical Design
- Integrate Hydra Lab test center with Microsoft AAD authentication service
- Upgrade the test agent service from center service
News: