I am looking to automatically test my object repository for an intranet, which will be updated soon.
I would like to create a workflow that searches the repository for the described objects, then tests them, and of course reports any errors.
I have a .objects directory that contains 1 directory (my application), and inside this directory, I have as many directories as there are screens, and so on.
Test workflows are your answer here, you can have them run automatically aswell if you have a Test licence and alert you in a selector should fail.
If you are wanting to just ‘plug’ the Object Repository into something and have it be validated, thats not how it works. You need to still build the workflows to navigate etc.
Building test workflows as you go is the ideal scenario.
Workflow cannot scan tthrough object repo and validate each selector
you need to build your flows and run them…testing capabilities provide you with the ability to do so..Also if your object repo is names properly and hierarchy is proper..then you can leverage autopilot to build your flow. might not be 100% accurate but would get most of the flow in place
You can try to create a workflow that loops through the .objects directory, reads each screen folder, validates described objects using ui automation activities, logs results, and writes errors to a report file.