Forum Discussion
jbillings
15 years agoNew Contributor
Another example which really shows why its causing creation time to go way up.
Checkpoint created by TC8:
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<DIV class=assignmentHeader>\r\n<DIV style=\"MIN-HEIGHT: 6em\"><SPAN class=assignmentTitle>Automated Swappable Assignment Description </SPAN></DIV></DIV>", false);
The way it has to be formated to get passing result:
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<div class=\"assignmentHeader\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<div style=\"min-height: 6em;\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<span class=\"assignmentTitle\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "Automated Swappable Assignment Description", false);
Actual HTML on page:
<div class="assignmentHeader">
<div style="min-height: 6em;">
<span class="assignmentTitle">
Automated Swappable Assignment Description
</span>
</div>
</div>
Checkpoint created by TC8:
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<DIV class=assignmentHeader>\r\n<DIV style=\"MIN-HEIGHT: 6em\"><SPAN class=assignmentTitle>Automated Swappable Assignment Description </SPAN></DIV></DIV>", false);
The way it has to be formated to get passing result:
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<div class=\"assignmentHeader\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<div style=\"min-height: 6em;\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "<span class=\"assignmentTitle\">", false);
aqObject.CheckProperty(page["DIV"]["Item"]("assignment_detail"), "innerHTML", cmpContains, "Automated Swappable Assignment Description", false);
Actual HTML on page:
<div class="assignmentHeader">
<div style="min-height: 6em;">
<span class="assignmentTitle">
Automated Swappable Assignment Description
</span>
</div>
</div>
Related Content
- 3 years ago
- 11 years ago
- 2 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago