Pactera MARS Скачать руководство пользователя страница 56

 

©  Pactera. All Rights Reserved. 

56

 

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.  

 

Click Windows Start > Control Panel 

 

 

Click Ease of Access 

 

 

Содержание MARS

Страница 1: ... Pactera All Rights Reserved 1 MARS Installation Guide V3 2 1 Pactera Technology International Ltd ...

Страница 2: ...tion 27 6 Install MARS Agent 32 7 Install MARS Mobile 37 8 Install MARS Plugins 43 9 FAQs Frequently Asked Questions 45 9 1 Do I need to debug MARS scripts 45 9 2 What s test scenario in MARS 45 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 M...

Страница 3: ...rly 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 Sometimes there are MARS runtime issues how to avoid these issues 58 9 13 How to avoid IE browser automatic check messages disturbing MARS test execution 64 9 14 How to disable IE browser s scripts and AxtiveX running tips 67...

Страница 4: ...e correctly 1 2 Revision History Date Content 2014 8 8 Created 2015 1 28 Add the installation instruction of MARS Agent 2015 3 13 Add the installation instruction of MARS Winform 2016 3 7 Batch updates 2016 6 20 Update to Ver 2 7 0 2017 4 24 Ver 3 0 3 based update Mobile Testing Installation Added 2017 5 15 FAQ 9 13 9 14 Added 2017 6 9 FAQ 9 15 Added 2017 6 15 Update to MARS Mobile 2017 6 29 FAQ 9...

Страница 5: ...nstall the browser supported by MARS Fixfox 55 56 57 Sarfari MACOS 10 12 10 13 Chrome 33 37 44 48 54 62 Edge 14393 15063 16299 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 MARS has five components MySQL Co...

Страница 6: ...n 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 Of course all the above MARS components can be installed on the same computer Following is an image of MARS components ...

Страница 7: ...kage 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 ...

Страница 8: ...stom installation dialog lists all available components Click the left mouse button on the Developer Components and choose 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 ...

Страница 9: ...rved 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 ...

Страница 10: ...stallation 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 ...

Страница 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 ...

Страница 12: ...by checking the box next to the Configure the MySQL Server now option in the 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 ...

Страница 13: ... Pactera All Rights Reserved 13 Choose Detailed Configuration and click the Next button ...

Страница 14: ... Pactera All Rights Reserved 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 ...

Страница 15: ...l Rights Reserved 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 ...

Страница 16: ...on Port 3306 is used by default Check the box next to the Enable 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 ...

Страница 17: ...rved 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 ...

Страница 18: ...ption Enter the desired password into both the New root password and 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 ...

Страница 19: ... Pactera All Rights Reserved 19 To start the configuration process click the Execute button Click the Finish button to finish the MySQL Server Configuration Wizard ...

Страница 20: ...r changes and restart MySQL service Edit the MySQL configuration file from MySQL installation destination folder my in Since the number of authorized users will vary change the setting max_connections 100 replace value 100 with the number calculated from authorized number of users 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 8...

Страница 21: ... Pactera All Rights Reserved 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 ...

Страница 22: ...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 Double click MARS_controller_x x x_xxx exe file to start the installation ...

Страница 23: ...licking 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 or after installation of other MARS components please click Yes Button ...

Страница 24: ... Pactera All Rights Reserved 24 Click the Next button to continue Choose the Create a desktop icon and click the Next button to continue ...

Страница 25: ... Pactera All Rights Reserved 25 To start the Installation process click the Install button Wait the MARS Installation Wizard to complete the Installation ...

Страница 26: ... Pactera All Rights Reserved 26 Click the Finish button to finish the MARS Controller Installation ...

Страница 27: ...ARS 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 ...

Страница 28: ... destination 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 or after installation of other MARS components please click Yes Button ...

Страница 29: ... Pactera All Rights Reserved 29 Click the Next button to continue Click the Next button to continue ...

Страница 30: ...tera All Rights Reserved 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 ...

Страница 31: ... Pactera All Rights Reserved 31 ...

Страница 32: ...t 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 ...

Страница 33: ...l Rights Reserved 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 ...

Страница 34: ...rved 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 ...

Страница 35: ... Pactera All Rights Reserved 35 To start the Installation process click the Install button The MARS Agent Setup Wizard begins the Installation process please wait ...

Страница 36: ... Pactera All Rights Reserved 36 Click the Finish button to finish the MARS Agent Installation ...

Страница 37: ...ng 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 Double click MARS Mobile_x x x_xxx exe file to start the installation ...

Страница 38: ...ion 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 ...

Страница 39: ... Pactera All Rights Reserved 39 Click the Install button to start installation The MARS Agent Setup Wizard begins the Installation process please wait ...

Страница 40: ... Pactera All Rights Reserved 40 Click the Finsih button to finsh MARS Mobile installation ...

Страница 41: ...rogram Files x86 Mars Agent bin appium 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 Variable Name ANDROID_HOME Variable value Decompressed file path ...

Страница 42: ... Pactera All Rights Reserved 42 Set path values ANDROID_HOME tools ANDROID_HOME platform tools ...

Страница 43: ...Rights Reserved 43 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 ...

Страница 44: ...s Reserved 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 ...

Страница 45: ...to edit actions between screens 9 3 When create DB in MARS there is SQL Error why MARS user must have MySQL root previliege to create MARS DB If user not authorized please execute the following SQL under MySQL grant all on to root identified by root WITH GRANT OPTION 9 4 Why not able to create test projects logged in MARS as administrator MARS administrator can manage system roles and members and ...

Страница 46: ...t of SUT screens and also sometimes weirds during test execution how to avoid If the internet explorer browser security level setting is too high the IE engine may not be allowed to search some application form element properly and also cause test cases to fail in the test automation Right Click on the Internet Explorer select to run the IE browser as Administrator Open the IE browser to choose In...

Страница 47: ...hts Reserved 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 ...

Страница 48: ... Pactera All Rights Reserved 48 ...

Страница 49: ... Pactera All Rights Reserved 49 ...

Страница 50: ... Pactera All Rights Reserved 50 ...

Страница 51: ... Pactera All Rights Reserved 51 Set the browser Zoom level to 100 ...

Страница 52: ...ser 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 ...

Страница 53: ... Pactera All Rights Reserved 53 Choose the current user check the Full control permissions click the Apply button ...

Страница 54: ... Pactera All Rights Reserved 54 ...

Страница 55: ...try Click Windows Start enter cmd regedit Create a DWORD REG_DWORD item Name iexplore exe Value 0 For 32 bit Windows systems Under HKEY_LOCAL_MACHINE SOFTWARE Microsoft Internet Explorer Main FeatureControl FEATURE_BFCACHE For 64 bit Windows systems Under HKEY_LOCAL_MACHINE SOFTWARE Wow6432Node Microsoft Internet Explorer Main FeatureControl FEATURE_BFCACHE ...

Страница 56: ...atch 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 Click Windows Start Control Panel Click Ease of Access ...

Страница 57: ... Pactera All Rights Reserved 57 Click Change how your keyboard works Click Keyboard settings Adjust Cursor blink rate to None ...

Страница 58: ...s 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 Some system safety guarding software like 360 Safety Guard may stop MARS running Try to change WindowsFirewall settings Open the Windows Control Panel click theWindows Firewall ...

Страница 59: ... Pactera All Rights Reserved 59 Select Turn Windows Firewall on or off ...

Страница 60: ...actera All Rights Reserved 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 ...

Страница 61: ... Pactera All Rights Reserved 61 Click on Change plan settings Change and save the settings ...

Страница 62: ... Pactera All Rights Reserved 62 Turn off Screen Saver Open the Windows Control Panel click the Personalization By entering the personalization content screen click the screen saver option ...

Страница 63: ... Pactera All Rights Reserved 63 Set Screen saver to None to turn off screen saver ...

Страница 64: ... 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 该信息会造成测试用例无法正常执行 需通过如下设置来解决 点击 安全 本地 intranet 站点 ...

Страница 65: ... Pactera All Rights Reserved 65 Click IE Setting icon select Internet options ...

Страница 66: ... Pactera All Rights Reserved 66 Click Local intranet on Security tab and select Sites Security Local intranet Sites Uncheck Automatically detect intranet network and click OK to save ...

Страница 67: ...r 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 ...

Страница 68: ... Pactera All Rights Reserved 68 Click IE browser Setting icon select the Internet options ...

Страница 69: ... Pactera All Rights Reserved 69 Enable Allow active content to run in files on My Computer on tab Advanced and click OK the save the setting ...

Страница 70: ...n running test cases under IE browser sometimes a certificate error message pops up 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 ...

Страница 71: ... Pactera All Rights Reserved 71 Click the Install Certificate ...

Страница 72: ... Pactera All Rights Reserved 72 Click the Next in Certificate Import Wizard ...

Страница 73: ...hts Reserved 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 ...

Страница 74: ... Pactera All Rights Reserved 74 Click Finish in Certificate Import Wizard to complete ...

Страница 75: ... Pactera All Rights Reserved 75 Click Yes button in Security Warning window Click OK to complete certificate import when The import was successful shows in Certificate Import Wizard ...

Страница 76: ... Pactera All Rights Reserved 76 Setting Internet Options Advanced uncheck Warn about certificate address mismatch Click OK the setting effects after computer restarted ...

Страница 77: ...ed completely 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 ...

Отзывы: