blob: 99dbf09eaa00198c6ef43fb706252b608fc7792a [file] [log] [blame]
Alert: empty is
Alert: field is MyField
Alert: button is MyField.MyPushButton
Alert: nonesuch is undefined
Alert: dotdot is
Alert: tripledot is MyField..nonesuch
Alert: quaddot is MyField..nonesuch
Alert: dotdot1 is
Alert: dotdot2 is MyField.MyPushButton
Alert: dotdot3 is MyField
Alert: found 8 sub-fields:
Alert: MyField.MyBadPushButton
Alert: MyField.MyCheckBox
Alert: MyField.MyFile
Alert: MyField.MyMultiSelect
Alert: MyField.MyPushButton
Alert: MyField.MyRadio
Alert: MyField.MySingleSelect
Alert: MyField.MyText
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetCaption() =
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetCaption(0) =
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetCaption(1) =
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetCaption(2) =
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetCaption(3) threw Field.buttonGetCaption: Incorrect parameter value.
Alert: PASS: this.getField('MyField.MyMultiSelect').buttonGetCaption() threw Field.buttonGetCaption: Object is of the wrong type.
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetIcon() = [object Object]
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetIcon(0) = [object Object]
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetIcon(1) = [object Object]
Alert: PASS: this.getField('MyField.MyPushButton').buttonGetIcon(3) threw Field.buttonGetIcon: Incorrect parameter value.
Alert: PASS: this.getField('MyField.MyMultiSelect').buttonGetIcon() threw Field.buttonGetIcon: Object is of the wrong type.
Alert: PASS: this.getField('MyField.MyPushButton').buttonImportIcon() = undefined
Alert: PASS: this.getField('MyField.MyFile').browseForFileToSubmit() = undefined
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(0) = foo
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(1, false) = bar
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(1, true) = bar
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(2, false) = Qux
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(2, true) = qux
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(3) =
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt() = qux
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(172) = qux
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt(-400) =
Alert: PASS: this.getField('MyField.MyMultiSelect').getItemAt('zzzz') = foo
Alert: PASS: this.getField('MyField').checkThisBox() threw Field.checkThisBox: Incorrect number of parameters passed to function.
Alert: PASS: this.getField('MyField').checkThisBox({}) threw Field.checkThisBox: Object is of the wrong type.
Alert: PASS: this.getField('MyField').defaultIsChecked() threw Field.defaultIsChecked: Incorrect number of parameters passed to function.
Alert: PASS: this.getField('MyField').defaultIsChecked(0) = false
Alert: PASS: this.getField('MyField').isBoxChecked() threw Field.isBoxChecked: Incorrect parameter value.
Alert: PASS: this.getField('MyField').isBoxChecked(20) threw Field.isBoxChecked: Incorrect parameter value.
Alert: PASS: this.getField('MyField').isBoxChecked(0) = false
Alert: PASS: this.getField('MyField').isDefaultChecked() threw Field.isDefaultChecked: Incorrect parameter value.
Alert: PASS: this.getField('MyField').isDefaultChecked(20) threw Field.isDefaultChecked: Incorrect parameter value.
Alert: PASS: this.getField('MyField').isDefaultChecked(0) = false
Alert: PASS: this.getField('MyField').setFocus() = undefined
Alert: These mismatched cases always throw
Alert: PASS: this.getField('MyField.MyText').browseForFileToSubmit() threw Field.browseForFileToSubmit: Object is of the wrong type.
Alert: PASS: this.getField('MyField').checkThisBox(0, true) threw Field.checkThisBox: Object is of the wrong type.
Alert: PASS: this.getField('MyField').getItemAt(0) threw Field.getItemAt: Object is of the wrong type.
Alert: These always succeed without actually doing anything:
Alert: PASS: this.getField('MyField').clearItems() = undefined
Alert: PASS: this.getField('MyField').deleteItemAt() = undefined
Alert: PASS: this.getField('MyField').insertItemAt() = undefined
Alert: PASS: this.getField('MyField').setAction() = undefined
Alert: PASS: this.getField('MyField').setItems() = undefined
Alert: These always throw operation not supported errors:
Alert: PASS: this.getField('MyField').buttonSetCaption() threw Field.buttonSetCaption: Operation not supported.
Alert: PASS: this.getField('MyField').buttonSetIcon() threw Field.buttonSetIcon: Operation not supported.
Alert: PASS: this.getField('MyField').getLock() threw Field.getLock: Operation not supported.
Alert: PASS: this.getField('MyField').setLock() threw Field.setLock: Operation not supported.
Alert: PASS: this.getField('MyField').signatureGetModifications() threw Field.signatureGetModifications: Operation not supported.
Alert: PASS: this.getField('MyField').signatureGetSeedValue() threw Field.signatureGetSeedValue: Operation not supported.
Alert: PASS: this.getField('MyField').signatureInfo() threw Field.signatureInfo: Operation not supported.
Alert: PASS: this.getField('MyField').signatureSetSeedValue() threw Field.signatureSetSeedValue: Operation not supported.
Alert: PASS: this.getField('MyField').signatureSign() threw Field.signatureSign: Operation not supported.
Alert: PASS: this.getField('MyField').signatureValidate() threw Field.signatureValidate: Operation not supported.