|
I am trying to access the innerHTML attribute of some div
tag: <div
id="divDutiable"></div> function
displayDutiable(shouldDisplay) { var
divToDisplay = document.getElementById("divDutiable"); if
(shouldDisplay) {
divToDisplay.innerHTML = txt_divDutiable; } else {
divToDisplay.innerHTML = txt_empty; } } <scriptStep
language="_javascript_">
}
step.setWebtestProperty('doIfStep',document.getHtmlElementById('divDutiable').innerHTML); </scriptStep> <verifyProperty
name="doIfStep" text="gaga"/> leads to [java]
Test step verifyProperty (C:\eclipse\workspace\svcpoint\webtests\tests\Non-account-Customer.xml: how can I get the innerHTML
attribute |
- [Webtest] innerHTML undefined Florian Felgenhauer (DHL CZ)
- Re: [Webtest] innerHTML undefined Marc Guillemot
- RE: [Webtest] innerHTML undefined Florian Felgenhauer (DHL CZ)
- Re: [Webtest] innerHTML undefined Marc Guillemot
- RE: [Webtest] innerHTML undefined Florian Felgenhauer (DHL CZ)
- RE: [Webtest] innerHTML undefined Florian Felgenhauer (DHL CZ)

