<div dir="ltr"><font face="courier new, monospace">Hi,</font><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">This is in response to Amir's post on creating /updating screenshots via test scenarios.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Just wished to add a feedback.</font></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">We could probably follow the below approach as already suggested by Amir too:</font></div>
<div><ol><li><span style="font-family:'courier new',monospace">Identifying scenarios of the software on which to generate screenshots.</span><br></li><li><span style="font-family:'courier new',monospace">Writing and running the test scenarios on the localized software.We could probably set up a data driven test in which we could pass an object array having the list of languages ,so that our tests would be run on each language.</span><br>
</li><li><span style="font-family:'courier new',monospace">Capturing screenshots using selenium webdriver's capability ,no need of sauce labs.This would capture partial screenshot/full page screenshot as per the need.</span><br>
</li><li><span style="font-family:'courier new',monospace">Saving the screenshots generated per language in a folder.</span><br></li><li><span style="font-family:'courier new',monospace">Finally uploading all the folders to a destination server/location.</span><br>
</li></ol></div><div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">Now,there are some aspects which I believe is worth looking at:</font></div><div><ul><li><font face="courier new, monospace">Would all the screenshots generated be it partial/full page be of uniform size? This would depend on whatever size is required in the documentation manual.</font></li>
</ul></div><div><ul><li><font face="courier new, monospace">Probably to save processing time,we could run the tests on a headless browser and split our tests to run on various nodes ,i.e. try and set up a selenium Grid to reduce the processing time.<br>
</font></li></ul><div><font face="courier new, monospace">Thanks,</font></div></div><div><font face="courier new, monospace">Jagori</font></div></div>