Objective of this repo is to provide a very simple automation code base for a web-based application using open source framework.
This automation framework uses python based open source robot framework. It uses automation best practices. Ready to plug in to continuous test pipeline
> Robot framework folder structure
> Considers best practices (to name few important)
CLI support and ability to over write important parameters such as browser from command line
externalization of locators (like object repository) and constants
modularization (keywords and test cases)
rerun failed tests
- install python - at the time of creating this repository used version 3.7.9
- install robot framework (robotframework==3.2.2) and RIDE (robotframework-ride==2.0b1 version, to incrases ease of working)
- install seleniumlirary (robotframework-seleniumlibrary==4.5.0)
- clone repository
- on command prompt, navigate to directoty
- execute command #run-tests.cmd
- robot command from the 'run-tests.cmd' creates 'TestResults' folder automatically and creates summary 'report.html' and detailed 'log.html'. It also overwrites existing files if any
- It has output.xml, that will be helpful for re-executing failed test cases.