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 System | Java path |
---|---|
Windows | Set the environment variable JAVA_HOME to C:\Program Files\Java\jdk1.8.x.x |
Mac | export JAVA_HOME=/Library/Java/Home |
- Append Java compiler location to System Path.
Operating System | Output |
---|---|
Windows | Append the string “;C:\Program Files\Java\jdk1.8.x.x\bin” to the end of the system variable, Path. |
Mac | Not required |
- Verify Java installation on the machine, open Console/Terminal and run the following java command.
Operating System | Command | Console/Terminal Output |
---|---|---|
Windows | java -version | java 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) |
Mac | machine:~ joseph$ java -version | java 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 System | Location (can be different based on your installation) |
---|---|
Windows | C:\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 System | Variable 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 |
...