mcapra wrote:If the button exists within an iframe, selecting the iframe before interacting with the element is something you could try. eg, if the button is nested in an iframe like so:
<iframe id="myCoolFrame" name="myCoolFrame">
<a href="http://www.google.com">Lets Go To Google</a>
</iframe>
In order to click the "Lets Go To Google" link, you (in some cases) would need to first select the iframe "myCoolFrame". In the Selenium IDE, it would look something like this:
.....
selectWindow title=My Window's Title
click link=Lets Go To Google
.....
Just a few considerations. Those might not be applicable to your current situation. As I do not know what the page immediately following "https://login.microsoftonline.com/" contains (I assume its a protected portal), I cannot offer much insight into why your test case is failing.
All I can say is that # ERROR: Element id=submitButton not found means that Selenium is unable to find an element with the id "submitButton" for some reason. There's lots of reasons why that check might fail, but I can't say for sure without knowing the structure of the page. If its a protected portal, I hardly expect that knowledge to be given to me
I ended up removing last step (#10) from the script. Remainder worked. These are no easy portals to monitor (Microsoft Online services)