Code example for Document

Methods: getElementsByTagNameNS

0
    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies wrong namespaceURI as a parameter.", 
        method = "getElementsByTagNameNS", 
        args = {java.lang.String.class, java.lang.String.class}
    ) 
    public void testGetElementsByTagNameNS3() throws Throwable { 
        Document doc;
        NodeList childList;
        doc = (Document) load("staffNS", builder);
        childList = doc.getElementsByTagNameNS("**", "*");
        assertEquals("documentgetelementsbytagnameNS03", 0, childList
                .getLength());
    } 
    @TestTargetNew( 
        level = TestLevel.PARTIAL_COMPLETE, 
        notes = "Verifies positive functionality.", 
        method = "getElementsByTagNameNS", 
        args = {java.lang.String.class, java.lang.String.class}
    )