Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
We don't have a way to export this macro.
Info

This page concerns only measure on android device, if you want to measure on iPhone, you can follow this link:

Lancer un script gdsl avec le testrunner sur iOS (sans mesure physique) 

...

Code Block
languagebash
# Install java 8
sudo apt-get install openjdk-8-jdk
# Check java version
java -version
# Update the java default version use by your system (if you have several)
sudo update-alternatives --config java
  • On Mac with Intel chip, run the following commandcommand below, add the line export PATH=/usr/local/opt/openjdk@8/bin:$PATH in the .bash_profile file and run the command "source ~/.bash_profile":

Code Block
languagebash
brew install openjdk@8
  • On Mac with Mac chip, run the commands below, add the line export PATH=/usr/local/opt/openjdk@8Library/Java/JavaVirtualMachines/temurin-8.jdk/Contents/Home/bin:$PATH in the .bash_profile file and run the command "source ~/.bash_profile"

Code Block
languagebash
brew tap homebrew/cask-versions
brew install --cask temurin@8
  • On Windows, install Java 1.8 by getting it on the Oracle website. You need to create an account.

...

Info

On Mac, interactions may be impossible with UIAutomatorViewer.

If it is the case, do the following steps:

With some Mac, you also have to create a folder called aarch64 next to the folder called x86_64. Then, you have to copy the swt2.jar file into the new folder.

3. Use UIAutomatorviewer

When UIAutomatorViewer is opened, you can

...