David, Thank you for your help.
The javascript was executed since the javascript onclick changes the save button from enable to disable.
Somehow it did not return after the driver.Click(), I'm getting an exception error timeout.
When I tested it manually as the user will do, the save button works ok.
function onSubmitClick(button) {
var isValid = IsValidForm();
if (isValid) {
button.disabled = true;
button.className += " _state_disabled";
button value = $ ('#subtext'). val();
button.form.submit();
}
return isValid;
}
The javascript code is as follow:
<div class = "footerButton">
<input id="save" class="button" type="submit" onclick="onSubmitClick(this);" value="Save">
</div>
Regards,
-Mercedes