Skip to main content

Timeline for Webdriver - Page Object Validator

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Apr 13, 2016 at 11:07 comment added Paul Muir I added some more code to show how it is doing it. By extending a class, dynamically instantiating the new class and then calling a method in the extended class, it is able to return telling me whether the class is correct or not. I have to do it this way since my verification steps does not have the scope to any other test steps. This can be done for any assertions that would be usable on all of your test steps and are great when you're verification steps do not have scope to your test steps (IE, in Cucumber4JVM).
Apr 13, 2016 at 11:05 history edited Paul Muir CC BY-SA 3.0
added 616 characters in body
Apr 13, 2016 at 10:45 comment added tetienne Sorry, but I don't really understood your example. How can you add dynamically an assert on your page object?
Apr 12, 2016 at 10:59 history answered Paul Muir CC BY-SA 3.0