I am attempting to write a test suite for my moodle 2.9 instance using Selenium IDE. I am discovering both Moodle and Selenium at the same time and realize that my question is probably very basic.
I am running through a quiz and all is fine in the test case until you come to clicking on the button "Submit all and finish". This triggers a Confirmation popup with two buttons: "Submit all and finish" and "Cancel".
I presume the command to handle to popup would be assertConfirmation. But I cannot figure out how to write the locators for the buttons on the popup. The values that Selenium is able to propose are of no help, in part, because the id's change with every quiz attempt.
Would be grateful for any help on this.