Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

QMetry Automation Studio is not based on SAAS, hence, user have to install it on his machine (Click here to download the latest QAS). However, to experience the smooth automation testing with QAS, users need to configure the prerequisites and should have a working environment ready before installing QAS. Below are the prerequisites and machine-level settings user needs to set up for QAS.

...

Operating SystemJava path
WindowsSet the environment variable JAVA_HOME to C:\Program Files\Java\jdk1.8.x.x
Macexport JAVA_HOME=/Library/Java/Home
  • Append Java compiler location to System Path.
Operating SystemOutput
WindowsAppend the string “;C:\Program Files\Java\jdk1.8.x.x\bin” to the end of the system variable, Path.
MacNot required
  • Verify Java installation on the machine, open Console/Terminal and run the following java command.
Operating SystemCommandConsole/Terminal Output
Windowsjava -versionjava version "1.8.x.x"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Macmachine:~ joseph$ java -versionjava version "1.8.x.x"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
  • Install Apache Maven. Click here to download Apache Maven on your machine.
  • Extract the archive, to the directory you wish to install Maven 3.x.x. The subdirectory apache-maven-3.x.x will be created from the archive.
Operating SystemLocation (can be different based on your installation)
WindowsC:\Program Files\Apache Software Foundation\apache-maven-3.x.x
Mac/usr/local/apache-maven
  • Setup Maven environment variable, Add M2_HOME, M2, MAVEN_OPTS to environment variables of your machine.
Operating SystemVariable path
Windows

Set the environment variables using system properties.

M2_HOME=C:\ProgramFiles\ApacheSoftwareFoundation\apache-maven-3.x.x

M2=%M2_HOME%\bin MAVEN_OPTS=-Xms256m -Xmx512m

Path = %M2_HOME%\bin

Mac

Open command terminal and set environment variables.

export M2_HOME=/usr/local/apache-maven/apache-maven-3.x.x

export M2=$M2_HOME/bin

export MAVEN_OPTS=-Xms256m -Xmx512m

...