Pre-requisite :
There are certain pre-requisites to ensure Bq Genie runs correctly on your local machine.
JRE 8 with latest update should be installed and setup. It can be downloaded from the following location https://www.oracle.com/java/technologies/downloads/#java8
Once the JRE installation is complete, launch the terminal/cmd and type the below command to view the version :java -version
If you receive the error “Java not found“ while checking the java version, please set JAVA_HOME in system environmentMinimum one browser should be installed in PC
Note : Currently supported browsers are Chrome, Firefox, IE, Edge and Safari for web execution
Mobile Automation
(Follow these steps only if you intend to test your mobile apps and have a license for Mobile Automation)
For testing Mobile apps, the following are required :
Mac | Windows |
---|---|
Brew 1- Install Brew (if not already installed) by following the below command | - |
Node (version : 12.13.1) 1- Launch terminal | Node (version : 12.13.1) 1- Go to Node.js download page. |
Mobile device libraries 1- Launch terminal | - |
Ios-deploy Node.js library 1- Launch terminal | - |
Carthage 1- Launch terminal | - |
Xcode (Version : 12.2) 1- Download Xcode from App Store and install it Please refer to the Version Support for Mobile Testing for details about supported versions. An iOS Developer Account either Free or Paid will be required for iOS automation. | - |
Android Studio (Version : latest) 1- Go to Android Developers tools website to download and install it. At least one AVD is required After installing Android Studio, follow the below steps to set up ANDROID_HOME
| 1- Go to Android Developers tools website to download and install it. At least one AVD is required After installing Android Studio, follow the below steps to set up ANDROID_HOME 1- Navigate to environment variables |
After successfully installing all the required applications, make sure Bq client is installed with mobile enable during installation.
Bq’s mobile solution uses Appium behind the scenes. Bq can automatically install Appium for you at the time of Genie installation.
Before running your mobile test, make sure Appium Home path is set in client setup.
Appium Home : C:/Users/xxxxx/AppData/Roaming/npm/node_modules/appium
Android Home : C:/Users/xxxxx/AppData/Local/Android/Sdk
Please not, if AppData folder is not visible, try viewing the hidden files, AppData folder should be displayed.
Also check that appium is installed on your machine via BQ Client. Use the below command to check the appium version on cmd
appium -v
SAP Automation
(Follow these steps only if you have purchased the license for SAP)
Setting up Bq Genie for SAP Automation requires the following:
SAP GUI installed and working on the client machine.
Please refer to Setup SAP GUI for BQ for troubleshooting any issues automating SAP.
Instructions to install the client
Click on the user displayed in the top right corner to display the menu. Click on “Download Client”.
Once the file is downloaded, double click to run it. Ensure that you have a valid JRE 1.8+ installed and properly configured on your machine.
Select the packs as per your license and follow through with the installation as directed in subsequent screenshots.
If you have installed all the prerequisites for Mobile Application, please ensure to select the check box Appium for BqGenie Mobile.Enter the credentials to successfully register the client and select the browsers installed on your machine.
If you select the Cloud Install option, the BQ Auth URL and BQ Node Server URL will be taken care of.
If you select the In-premise Install option, you will have to enter the BQ Auth URL and BQ Node Server URL manually.
Although bq client will auto detect the proxy settings. In case, you want to enter the proxy settings manually then select the radio button “Enter Manually” and enter proxy setting manually.If proxy with authentication is running then it will ask for authentication details.
You need to provide your proxy authentication detail.
Click on Next button.
Sit back and relax while the client is installed on your machine. It may take a few minutes.
Click on the “Done” button to complete installation.
Watch a video :
Starting the client
If you are using Windows :
A shortcut will be created on your desktop.
Click on the icon on desktop to start the client.
An icon will appear in your tray. This starts the client and enables it to talk to the Bqurious Cloud.
The color of the tray icon will eventually change to green.
If you are using Mac :
Use the terminal to start the client.
Navigate to the client installation folder by running the command cd clientInstalledFolderName
Then run the command java -jar startBqClient.jar
BqGenie color representation :
1- Yellow : Depicts that the user can only record, scan and execute locally.
2- Green : Depicts that the user can perform remote execution as well
3- Red : Depicts that BqGenie is stopped and needs to be started again to record and execute.
Related articles :
0 Comments