Automating web app screenshots and inputs
Good day, I've been working for some time now on a web app and recently my workload has grown tremendously. I have to take presentable (showing correct info and setup) screenshots for our product and they are around 300 per language, with 6 languages supported and more coming. This is done monthly.
Currently, I'm using a combination of Selenium (for the web UI navigation and inputs/clicks), Lighscreen (to take screenshots) and ImageMagick(to format the screenshots).
My questions is - is there a better way to do this? What tool(s) could replace or improve my existing setup? Could I find/create a Python/Perl/ custom script that would do the same job?
An example workflow is - I record my actions via Selenium, add the necessary inputs to trigger Lighstscreen where I need it, use AutoIT or just manually run ImageMagick.
Automating the screenshots can be done by webdriver directly - see example. But I assume that by saying "I record my actions via Selenium" you mean Selenium IDE - that is different from webdriver.
Selenium webdriver requires some (not much, especially in Python) programming skills. Python would be more future-proof than Perl, and also easier to learn - substantially less quirky, IMNSHO. Google will give you plenty of examples.
So depending on your programming skills, it should be relatively straightforward to write Python script using Selenium webdriver to completely automate navigation between pages, making screenshots, saving images with appropriate names into directories. Would be a really fun and straightforward project to do. Not sure if you can find free ready-made tool to do that, unless you are ready to pay for it - take a look at https://applitools.com/