Maximo Selenium Automation Framework for Maximo 7.6 Presenter: Joe Gydus Advisory Software Engineer (L3)
Selenium Automation key features Recorder to aid in script creation Keywords to group and run tests Callouts to reuse often-used actions Data files for input and output for tests Create and use variables, perform assertions, verify sql data in the database, manipulate dates, control wait times, perform nested 'if – then – else' and 'while' statements Easy-to-use granular logging – potentially especially beneficial for regulated industries.
UI Automation Goals Selenium UI Test Framework Benefits Efficient Validation Simple to Use Re-usable, Agile Improved quality of fix packs and IFIXes Greatly reduced cost to upgrade to new fix packs and releases Ability to always be at a current release Facilitation of Automation Best Practices sharing
Getting Started 2. Eclipse download link: http://www.eclipse.org/ 1. Maximo 7.6 Fix pack 2 and higher. 2. Eclipse 3. Smarter Infrastructure Automation Test Framework 4. Chrome 5. Chromedriver 6. From http://www.seleniumhq.org/download/ i. Selenium Standalone Server ii. Selenium Client & Webdriver Language Bindings for Java selenium-java-2.53.0.jar selenium-java-2.53.0-srcs.jar 7. Internet Explorer Driver Servers (Link) IEDriverServer_Win32_2.53.0.zip IEDriverServer_x64_2.53.0.zip 8. Database Drivers (Link) db2jcc.jar, db2jcc_license_cu.jar oraclethin.jar sqljdbc.jar 2. Eclipse download link: http://www.eclipse.org/ 3. Free download: Link: https://www.ibm.com/developerworks/community/forums/html/topic?id=4d90a532-31a3-41bd-a128-2186fdae50b8 4. Chrome link: https://www.google.com/chrome/ 5. Chromedriver link: https://sites.google.com/a/chromium.org/chromedriver/ 6. http://www.seleniumhq.org/download/ 7. IE Driver Servers link: https://selenium-release.storage.googleapis.com/index.html?path=2.53/ 8. DB Driver Link: http://www-01.ibm.com/support/docview.wss?uid=swg21363866
Demo Live demo using a script created to test an existing APAR (IV83082) (script IV83082_PRPRLineRequiredDateTZDif.bin) The live demo will demonstrate how to create a script, run it and when the script fails Sample of an e-mail notification when the script (passed / failed) Sample of the logs generated when the script (passed / failed)
Backup data
Sample Automated Test Results (Passed) Log is located where Selenium was installed.
Sample Automated Test Results (Failed)
Sample Automated Test Results (Failed details)
Links Eclipse free download link: http://www.eclipse.org/ Smarter Infrastructure Automation Test Framework link: https://www.ibm.com/developerworks/community/forums/html/topic?id=4d90a532-31a3-41bd-a128-2186fdae50b8 Chrome link: https://www.google.com/chrome/ Chromedriver link: https://sites.google.com/a/chromium.org/chromedriver/ IE Driver Servers link: https://selenium-release.storage.googleapis.com/index.html?path=2.53/ DB Driver Link: http://www-01.ibm.com/support/docview.wss?uid=swg21363866
Thank You!!