Table of Contents

Advertisement

Quick Links

MARS Installation Guide
V3.2.1
Pactera Technology International Ltd.
1
© Pactera. All Rights Reserved.

Advertisement

Table of Contents
loading

Summary of Contents for Pactera MARS

  • Page 1 MARS Installation Guide V3.2.1 Pactera Technology International Ltd. © Pactera. All Rights Reserved.
  • Page 2: Table Of Contents

    9.3 When create DB in MARS, there is “SQL Error”, why? ............45 9.4 Why not able to create test projects logged in MARS as administrator? ..... 45 9.5 License unmatched message displayed ,even the license file is copied to MARS Controller.
  • Page 3 MARS installation folder previllege properly? ......... 52 9.10 How to get IE11 run properly with MARS? ................55 9.11 How to avoid the screen unmatch caused by cursor blink for screen shots MARS captured during test execution? ...................... 56 9.12...
  • Page 4: Welcome

    The purpose of this document is to guide the user to install the MARS package properly and get MARS ready for utilization. 1.1. About the document This document describes how to install and configure MARS package correctly. 1.2. Revision History Date...
  • Page 5: Required Environment

     Database : MySQL 5.0  .Net Framework Version : 4.0  Please enable the network ports for the MARS components, and not used by other application: MySQL DB: 3306 MARS Controller: 9003 MARS Workstation: 9006 MARS Agent for Windows: 9007 2.4 MARS Components...
  • Page 6 Workstation. After test cases edition, test scenarios can be set to run in independent computers with MARS Agent installed only. If there are mobile testing, please install MARS Mobile with MARS Agent on the  same computer.
  • Page 7: Install Mysql

    3. Install MySQL ※The MySQL installation package can be downloaded from MARS website , (http://mars.pactera.com/MySQLSetup.exe). Please make sure that MySQL folder NOT exsited in the installation destination drive or folder before the installation.  Install MySQL Data Base Double-click “MySQLSetup.exe” to start the installation.
  • Page 8 This feature, and all subfeatures, will be installed on local hard drive. to install this feature on local hard drive. And do the same on MySQL Server,Client Programs,Documentation to ensure that all the files to be installed into local drive. © Pactera. All Rights Reserved.
  • Page 9 ✓ Change the default installation destination folder by clicking the Change... button on the right of the displayed installation destination. Choose your installation folder, Click OK button to back to the custom installation. © Pactera. All Rights Reserved.
  • Page 10 ✓ After choosing your installation components and destination, click the Next button to advance to the confirmation dialog. In the confirmation dialog, your installation type and installation destination Folder ✓ are displayed for your confirmation. Click the Intall button to continue. © Pactera. All Rights Reserved.
  • Page 11 ✓ Once you click the Install button , the MySQL Installation Wizard begins the installation, please wait while the setup wizard is installing. ✓ When installation completes, choose the Skip Sign-Up option,and click the Next button to continue. © Pactera. All Rights Reserved.
  • Page 12 Wizard Completed dialog. Click the Finish button to finish the installation and start the MySQL Server Instance Configuration Wizard. ✓ Start the MySQL Server Instance Configuration Wizard .Click the Next button to advance to the Configuration Type dialog. © Pactera. All Rights Reserved.
  • Page 13 ✓ Choose Detailed Configuration, and click the Next button. © Pactera. All Rights Reserved.
  • Page 14 ✓ Choose Developer Machine option ,and click the Next button to advance to the Database Usage dialog. ✓ Choose Multifunctional Database option ,and click the Next button. © Pactera. All Rights Reserved.
  • Page 15 ✓ Use the default InnoDB Tablespace configuration,and click the Next button to advance the Concurrent Connections dialog. Choose Manual Setting, input connections number and click the Next button. ✓ © Pactera. All Rights Reserved.
  • Page 16 Strict Mode option. Click the Next button to advance the Character Set dialog. Choose the Manual Selected Default Character Set/Collation,and choose the utf8 ✓ option from the Character Set drop-down list. Click the Next button to advance to the Service Options dialog. © Pactera. All Rights Reserved.
  • Page 17 Check the box next to Install As Windows Service, using the service name MySQL as ✓ default. Also check the box next to Include Bin Directory in Windows PATH. Click the Next button to advance to the Security Options dialog. © Pactera. All Rights Reserved.
  • Page 18 Confirm boxes and make sure you can keep it safe and remembered. Check the box next to the Enable root access from remote machines option. Uncheck the box next to the Create An Anonymous Account option. Click the Next button to advance to the Confirmation dialog. © Pactera. All Rights Reserved.
  • Page 19 To start the configuration process, click the Execute button. ✓ Click the Finish button to finish the MySQL Server Configuration Wizard. ✓ © Pactera. All Rights Reserved.
  • Page 20 For example, e.g: if the authourized users are 40, the max connections can be 40 x 20 = 800, so we can set: max_connections = 800 Update the MySQL configuration files: my.ini and my-small.ini. ✓ © Pactera. All Rights Reserved.
  • Page 21 Edit my.ini, add thread_stack=500K after the [MySQLd]; and then modify the my- small.ini file, change the value of the thread_stack=64K to thread_stack=500K or greater. © Pactera. All Rights Reserved.
  • Page 22: Install Mars Controller

    4. Install MARS Controller * The MARS Controller (The following is called Controller)works as a tansfomer between MARS Workstation and MARS Agent. It is usually installed on the same computer with MySQL, it can also be installed on any other independent computer, and establish a connection with MySQL through the MySQL computer's IP address.
  • Page 23 After choosing your installation destination, click the Next button to continue.  If the MARS installation destination folder already exists(for official installation after trial or major updates or after installation of other MARS components), please click Yes Button. © Pactera. All Rights Reserved.
  • Page 24  Click the Next button to continue.  Choose the Create a desktop icon and click the Next button to continue. © Pactera. All Rights Reserved.
  • Page 25  To start the Installation process, click the Install button.  Wait the MARS Installation Wizard to complete the Installation. © Pactera. All Rights Reserved.
  • Page 26  Click the Finish button to finish the MARS Controller Installation. © Pactera. All Rights Reserved.
  • Page 27: Install Mars Workstation

    5. Install MARS Workstation MARS Workstation(The following is called Workstation) is the workbench for users to edit test cases, it should be installed to every user’s computer client.  Double-click “MARS Workstation_x.x.x_xxx.exe” file to start the installation. © Pactera. All Rights Reserved.
  • Page 28 Browse... button. After choosing your installation destination, click the Next button to continue.  If the MARS installation destination folder already exists(for Official installation after trial or major updates or after installation of other MARS components), please click Yes Button. © Pactera. All Rights Reserved.
  • Page 29  Click the Next button to continue.  Click the Next button to continue. © Pactera. All Rights Reserved.
  • Page 30  To start the Installation process, click the Install button.  Wait the Setup Wizard to complete the installation  Click the Finish button to finish the MARS Workstation Installation. © Pactera. All Rights Reserved.
  • Page 31 © Pactera. All Rights Reserved.
  • Page 32: Install Mars Agent

    6. Install MARS Agent * MARS Agent (The following is called Agent for Windows)is used for test case execution, it’s usually install on the same computer as MARS Workstation for the test cases debugging before actual test execution.  Double-click “MARS Agent_x.x.x_xxx.exe” file to start the installation.
  • Page 33  Change the default installation destination folder by clicking the Browse... button . After choosing the installation destination, click the Next button to continue.  Click the Next button to continue. © Pactera. All Rights Reserved.
  • Page 34  If the MARS installation destination folder already exists(for Official installation after trial or major updates or after installation of other MARS components), please click Yes Button。  Click the Next button to continue. © Pactera. All Rights Reserved.
  • Page 35  To start the Installation process, click the Install button.  The MARS Agent Setup Wizard begins the Installation process, please wait. © Pactera. All Rights Reserved.
  • Page 36  Click the Finish button to finish the MARS Agent Installation. © Pactera. All Rights Reserved.
  • Page 37: Install Mars Mobile

    7. Install MARS Mobile * MARS Mobile(The following is called Mobile) is used for Android mobile test automation, it should be installed on the same computer with MARS Agent For Windows, to run test cases edited by Workstation via USB connected Android devices.
  • Page 38 You can change the default installation destination folder by clicking the Browse...  button . After choosing your installation destination, click the Next button to continue. If the MARS installation destination folder already exists(for Official installation after  trial or major updates), please click Yes Button。 © Pactera. All Rights Reserved.
  • Page 39  Click the Install button to start installation The MARS Agent Setup Wizard begins the Installation process, please wait.  © Pactera. All Rights Reserved.
  • Page 40  Click the Finsih button to finsh MARS Mobile installation. © Pactera. All Rights Reserved.
  • Page 41 After MARS Mobile installation, configurate environment variables like the  following: C:\Program Files (x86)\Mars\Agent\bin\appium Set Path value: Download Android SDK compression file(Androdid_SDK.zip) from MARS website  http://mars.pactera.com/Android_SDK.zip Decompress Androdid_SDK.zip to any local driver and folder, create a new system variable and set the system variable path.
  • Page 42 %ANDROID_HOME%\tools Set path values: %ANDROID_HOME%\platform-tools © Pactera. All Rights Reserved.
  • Page 43: Install Mars Plugins

    8. Install MARS Plugins * This chapter apllies only for customization users, general users can skip.  Please copy customization file MARS_plugin.msext into MARS>Workstation,MARS >Agent> plugins directory. © Pactera. All Rights Reserved.
  • Page 44  Start MARS Workstation, get into test case edition window, customazition icon displays in the Menu tools. Click plugin icon to find the customizaed function, and uer can use it to edit any customization actions. © Pactera. All Rights Reserved.
  • Page 45: Faqs(Frequently Asked Questions)

     MARS test scenario means business process or flow of the system under test (SUT). User can use the edit tools in MARS to draw the business flow as per business requirement document and function specifications documents, or designed test spcifications.
  • Page 46: How To Avoid Test Execution Hot Keys Conflict

     Right Click on the Internet Explorer, select to run the IE browser as Administrator. Open the IE browser to choose Internet Settings. © Pactera. All Rights Reserved.
  • Page 47 Select Internet option, in the pop-up window select the Security tab, then click on the  four icons one by one, make sure the options remain unchecked as following, click OK button to finish the IE settings. © Pactera. All Rights Reserved.
  • Page 48 © Pactera. All Rights Reserved.
  • Page 49 © Pactera. All Rights Reserved.
  • Page 50 © Pactera. All Rights Reserved.
  • Page 51 Set the browser Zoom level to 100%.  © Pactera. All Rights Reserved.
  • Page 52: Sometimes User Not Able To Install Mars Properly Due To User Authorization Restrictions, How To Set Mars Installation Folder Previllege Properly

    9.9 Sometimes user not able to install MARS properly due to user authorization restrictions, how to set MARS installation folder previllege properly? Right-click on the MARS installation folder, select Properties  Select Security tab, edit the current user permissions. ...
  • Page 53 Choose the current user, check the Full control permissions, click the Apply button.  © Pactera. All Rights Reserved.
  • Page 54 © Pactera. All Rights Reserved.
  • Page 55: How To Get Ie11 Run Properly With Mars

    9.10 How to get IE11 run properly with MARS? To run MARS properly for IE 11, need to regist the following info in Windows registry. Click Windows Start > enter cmd > regedit Create a DWORD(REG_DWORD) item, Name: iexplore.exe,Value: 0 For 32-bit Windows systems: ...
  • Page 56: How To Avoid The Screen Unmatch Caused By Cursor Blink For Screen Shots Mars Captured During Test Execution

    9.11 How to avoid the screen unmatch caused by cursor blink for screen shots MARS captured during test execution? Cursor blink in screen captured by MARS may cause captures comparison unmatch, this unmatch can be avoided by the following setting.
  • Page 57 Click Change how your keyboard works  Click Keyboard settings   Adjust Cursor blink rate to None. © Pactera. All Rights Reserved.
  • Page 58: Sometimes There Are Mars Runtime Issues, How To Avoid These Issues

    Sometimes there may be MARS runtime issues, try the following to avoid these issues.  Please make sure to run MARS with full jurisdiction , user can right click on MARS runtime exe files to run them as Administrator.
  • Page 59 Select Turn Windows Firewall on or off. ✓ © Pactera. All Rights Reserved.
  • Page 60 Select Turn off the Windows Firewall(not recommended) options, click on the ✓ confirm button OK. Change the Power Options  Open the Windows Control Panel, click on the Power Options. ✓ © Pactera. All Rights Reserved.
  • Page 61 Click on Change plan settings ✓ Change and save the settings ✓ © Pactera. All Rights Reserved.
  • Page 62 Turn off Screen Saver  Open the Windows Control Panel, click the Personalization ✓ By entering the personalization content screen, click the screen saver option. ✓ © Pactera. All Rights Reserved.
  • Page 63 Set Screen saver to (None) to turn off screen saver. ✓ © Pactera. All Rights Reserved.
  • Page 64: How To Avoid Ie Browser Automatic Check Messages Disturbing Mars Test Execution

    MARS test execution ? Sometimes there are Internet Explorer automatic detected messages popped up when MARS test execution is running, and it stops MARS test execution or wating for manual intervention. To avoid this kind of test automation interruption like the following, please change the IE setting as follow: 该信息会造成测试用例无法正常执行,需通过如下设置来解决。...
  • Page 65  Click IE Setting icon, select Internet options. © Pactera. All Rights Reserved.
  • Page 66  Click Local intranet on Security tab, and select Sites(Security → Local intranet → Sites)。  Uncheck “Automatically detect intranet network”, and click OK to save. © Pactera. All Rights Reserved.
  • Page 67: How To Disable Ie Browser's Scripts And Axtivex Running Tips

    9.14 How to disable IE browser’s scripts and AxtiveX running tips? When executing test automation under Internet Explorer browser, sometimes IE blocks some webpage contents like scripts and activeX, asking for manual intervention, this stop human-free test execution automation like the following: © Pactera. All Rights Reserved.
  • Page 68  Click IE browser Setting icon, select the Internet options. © Pactera. All Rights Reserved.
  • Page 69  Enable “Allow active content to run in files on My Computer”on tab Advanced, and click OK the save the setting. © Pactera. All Rights Reserved.
  • Page 70: How To Solve The Website Security Certificate Error

    (There is a problem with this website’s security certificate) like below:  Click link the Continue to this website(not recommended).  Click in the url, Untrusted Certificate window displays, click the View Certificates. © Pactera. All Rights Reserved.
  • Page 71  Click the Install Certificate… © Pactera. All Rights Reserved.
  • Page 72  Click the Next in Certificate Import Wizard. © Pactera. All Rights Reserved.
  • Page 73  Select Place all certificates in the following store in Certificate Import Wizard, and click Browse… Select Trusted Root Certification Authorities from Select Certificate Store, and Click Next to continue. © Pactera. All Rights Reserved.
  • Page 74  Click Finish in Certificate Import Wizard to complete. © Pactera. All Rights Reserved.
  • Page 75  Click Yes button in Security Warning window. The import was successful  Click OK to complete certificate import when shows in Certificate Import Wizard. © Pactera. All Rights Reserved.
  • Page 76  Setting Internet Options → Advanced, uncheck Warn about certificate address mismatch*, Click OK, the setting effects after computer restarted. © Pactera. All Rights Reserved.
  • Page 77: How To Get Mars Workstation Displayed Completely

    How to get MARS Workstation displayed completely? 9.16 For some users, if computer display resolution not set properly, MARS workstation may not displayed completely, please adjust the display settings to get it displayed completely. Right-Click mouse on desktop→Display Settings→Display →Customize your display ***** The End ***** ©...

Table of Contents