Skip to content
HydraXMan edited this page Jan 5, 2023 · 3 revisions

Q: Why can't I see my agent info in portal?

A: Firstly, you should make sure the configuration is correct and the Windows Service has been started successfully. Wiki Link Besides, only the agent connected with devices will be displayed on the page.And, the devices need open Developer options and grant USB debugging authorizations to the agent.

Q: What is the Group used for?

A: The Group was designed to reduce the waiting time when many tasks call 1 device. For example, we can add some devices to a Group named as GROUPA and set the deviceIdentifier parameter of ADO Pipeline as G.GROUPA. Then, the test tasks will be distributed to a free device in GROUPA. If all of the devices in GROUPA are testing, the test task will be added to a queue. The task will be started until one device of the GROUPA comes free.

Q: How to add devices to a group?

A: Firstly, you need to add a Group or use an existed Group. image

Then, click manage button and add device button

  1. Device serial: The unique number of devices. Android(adb devices),iOS(tidevice list)
  2. Access key: It's used to verify the private devices. Still developing and keep it empty.

image

Q: For Espresso testing, how do we get the details of individual test run start and end programmatically?

We are leveraging the ddmlib to do the test, and in this HydraLab/EspressoRunner.java we leveraged the InstrumentationResultParser with a listener to get the start and end callback. This parser get the instrument command output and parse it to achieve the time.

Clone this wiki locally