This question is locked. New answers and comments are not allowed.
Ok, I have a control based on the asp:Wizard control.
The last page of the wizard my jquery finds the finish button, then disables it so the user can't complete until something else on the page has occurred.
So this is what I was going for in my Coded test
Although this is what the input html is like in firefox
I always timeout waiting for the attribute...and a debug on that step shows there's definatly no Disabled attribute
This is what the devtool in IE shows
Ideas?...am I doing it wrong?
What do you think the odds of getting a quickvalidation "IsDisabled" or "IsEnabled" (not just Visible\not visible)
The last page of the wizard my jquery finds the finish button, then disables it so the user can't complete until something else on the page has occurred.
So this is what I was going for in my Coded test
HtmlInputSubmit FinishButtonSubmit = Pages.UndergradMedportalCa.FinishButtonSubmit;
FinishButtonSubmit.Wait.ForExists(5000);
FinishButtonSubmit.Wait.ForAttributes(
"disabled=disabled"
);
function
checkSelectionCount() {
var
button = $(
'.finishbutton'
);
var
count = $(
'input[type="checkbox"]:checked'
,
'.dailyevalStudent_container'
);
if
(count.length < 1) {
button.attr(
'disabled'
,
'disabled'
)
}
else
{
button.removeAttr(
"disabled"
);
}
return
count.length;
}
Although this is what the input html is like in firefox
<
input
type
=
"submit"
class
=
"finishbutton"
id
=
"FinishButton"
value
=
"Finish Evaluating Student"
name
=
"ctl00$content$dailyEvalForm$ctl02$FinishNavigationTemplateContainerID$FinishButton"
disabled
=
""
>
I always timeout waiting for the attribute...and a debug on that step shows there's definatly no Disabled attribute
This is what the devtool in IE shows
<
input
name
=
"ctl00$content$dailyEvalForm$ctl02$FinishNavigationTemplateContainerID$FinishButton"
disabled
=
"disabled"
class
=
"finishbutton"
id
=
"FinishButton"
type
=
"submit"
value
=
"Finish Evaluating Student"
/>
Ideas?...am I doing it wrong?
What do you think the odds of getting a quickvalidation "IsDisabled" or "IsEnabled" (not just Visible\not visible)