Jump to content
Sign in to follow this  
mLipok

IE Tester

Recommended Posts

mLipok
I always wanted for myself, to make the script of such action.
Today I was inspired me creative.
 
I did what I intended ....... and shared :)
 
 
Remarks:
This is not a complete script.
This script is under construction.
But I think now it will be useful, especially novice programmers.
 
All comments are welcome.
 
_IE_test_Example_1() do not works on AutoIt 3.3.8.1 ,  but works on AutoIt 3.3.9.20 BETA
_IE_test_Example_2() works on both, the above-mentioned versions.
 
It is quite possible that in your case (another website) _IE_test_Example_2 () also will not work EDIT: on AutoIt 3.3.8.1
History of Version

2013/09/10 morning
first version


2013/09/10 in the evening
new test and Test Example Function renaming:

_IE_test_Example_1_FormCollection()
_IE_test_Example_2_FormElementCollection()
_IE_test_Example_3_FramesetCollection()
_IE_test_Example_4_ImgCollection()
_IE_test_Example_5_LinkCollection()

new info in console


2013/09/13
new test :

_IE_test_Example_6_TableCollection()
_IE_test_Example_7_TagNameAllGetCollection()
_IE_test_Example_8_TagNameGetCollection()
_IE_test__VersionInfo($oIE)

new info in console
 
 
Here is the script:
;~ #AutoIt3Wrapper_run_debug_mode=Y
#AutoIt3Wrapper_Au3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7

#include-once
#include <IE.au3>

;~ EXAMPLE: HOW TO USE
;~ Uncheck one of the following comments to see how the example works
;~ _IE_test_Example() ; Simple example, without additional information in console
;~ _IE_test_Example_1_FormCollection()
;~ _IE_test_Example_2_FormElementCollection()
;~ _IE_test_Example_3_FramesetCollection()
;~ _IE_test_Example_4_ImgCollection()
;~ _IE_test_Example_5_LinkCollection()
;~ _IE_test_Example_6_TableCollection()
;~ _IE_test_Example_7_TagNameAllGetCollection()
;~ _IE_test_Example_8_TagNameGetCollection()

Func _IE_test_Example()
    Local $sTitle = '[REGEXPTITLE:(?i)(.*_IE_Example.*?form.*?Internet Explorer.*)]'
    Local $oIE_Test = _IE_Example("form")
    _IELoadWait($oIE_Test)

    _IE_test_GetObjType($oIE_Test)
    _IE_test_FormCollection($oIE_Test)
    _IE_test_FormElementCollection($oIE_Test)
    _IE_test_AttachToTitle($sTitle)
    ConsoleWrite(@CRLF)
    _IEQuit($oIE_Test)
EndFunc   ;==>_IE_test_Example

Func _IE_test_Example_1_FormCollection()
    Local $oIE = _IECreate("http://www.google.com")
    _IELoadWait($oIE)
    Local $sTitle = '[REGEXPTITLE:(?i)(.*google.*Internet Explorer.*)]'
    Local $oIE_Test = _IEAttachToTitle($sTitle)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_1_FormCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_GetObjType($oIE_Test):' & @CRLF)
    _IE_test_GetObjType($oIE_Test)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_FormCollection($oIE_Test):' & @CRLF)
    _IE_test_FormCollection($oIE_Test)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_AttachToTitle(''' & $sTitle & '''):' & @CRLF)
    _IE_test_AttachToTitle($sTitle)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_1_FormCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    $oIE_Test = 0
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_1_FormCollection

Func _IE_test_Example_2_FormElementCollection()
    Local $oIE = _IE_Example("form")
    _IELoadWait($oIE)
    Local $sTitle = '[REGEXPTITLE:(?i)(.*_IE_Example.*?form.*?Internet Explorer.*)]'
    Local $oIE_Test = _IEAttachToTitle($sTitle)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_2_FormElementCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_GetObjType($oIE_Test):' & @CRLF)
    _IE_test_GetObjType($oIE_Test)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_FormElementCollection($oIE_Test):' & @CRLF)
    _IE_test_FormElementCollection($oIE_Test)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_AttachToTitle(''' & $sTitle & '''):' & @CRLF)
    _IE_test_AttachToTitle($sTitle)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_2_FormElementCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    $oIE_Test = 0
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_2_FormElementCollection

Func _IE_test_Example_3_FramesetCollection()
;~  Local $oIE = _IE_Example("iframe")
    Local $oIE = _IE_Example("frameset")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_3_FramesetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_GetObjType($oIE):' & @CRLF)
    _IE_test_GetObjType($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_FrameCollection($oIE):' & @CRLF)
    _IE_test_FrameCollection($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_3_FramesetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_3_FramesetCollection

Func _IE_test_Example_4_ImgCollection()
    Local $oIE = _IECreate("http://autoitscript.com")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_4_ImgCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_GetObjType($oIE):' & @CRLF)
    _IE_test_GetObjType($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_ImgCollection($oIE):' & @CRLF)
    _IE_test_ImgCollection($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_4_ImgCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_4_ImgCollection

Func _IE_test_Example_5_LinkCollection()
    Local $oIE = _IE_Example("basic")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_5_LinkCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_LinkCollection($oIE):' & @CRLF)
    _IE_test_LinkCollection($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_5_LinkCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_5_LinkCollection

Func _IE_test_Example_6_TableCollection()
    Local $oIE = _IE_Example("table")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_6_TableCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_TableCollection($oIE):' & @CRLF)
    _IE_test_TableCollection($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_6_TableCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_6_TableCollection

Func _IE_test_Example_7_TagNameAllGetCollection()
    Local $oIE = _IE_Example("basic")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_7_TagNameAllGetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_TagNameAllGetCollection($oIE):' & @CRLF)
    _IE_test_TagNameAllGetCollection($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_7_TagNameAllGetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_7_TagNameAllGetCollection

Func _IE_test_Example_8_TagNameGetCollection()
    Local $oIE = _IE_Example("form")
    _IELoadWait($oIE)

    ConsoleWrite(@CRLF)
    ConsoleWrite('START: TESTING: ............................................. _IE_test_Example_8_TagNameGetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    ConsoleWrite('TESTING ......................... _IE_test_TagNameGetCollection($oIE):' & @CRLF)
    _IE_test_TagNameGetCollection($oIE, "input")

    ConsoleWrite(@CRLF)
    ConsoleWrite('END: TESTING: ............................................. _IE_test_Example_8_TagNameGetCollection()' & @CRLF)

    ConsoleWrite(@CRLF)
    _IEQuit($oIE)
EndFunc   ;==>_IE_test_Example_8_TagNameGetCollection

Func _IE_test_FormCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_FormCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oForms = _IEFormGetCollection($oIE)
    Local $iFormsCount = @extended
    ConsoleWrite('! _IE_test_FormCollection:' & @TAB & 'IsObj($oForms) = ' & IsObj($oForms) & @CRLF)
    ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$oForms "Type" = ' & _IE_test_GetObjType($oForms, True) & @CRLF)
    ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$iFormsCount = ' & $iFormsCount & @CRLF)
    Local $iForm_index = 0
    For $oForm In $oForms
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$iForm_index = ' & $iForm_index & @CRLF)
        If $oForm.id Then
            ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$oForm.id = ' & $oForm.id & @CRLF)
        Else
            ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$oForm.id = ' & 'Object does not have such a property.' & @CRLF)
        EndIf
        If $oForm.name Then
            ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$oForm.name = ' & $oForm.name & @CRLF)
        Else
            ConsoleWrite('! _IE_test_FormCollection:' & @TAB & '$oForm.name = ' & 'Object does not have such a property.' & @CRLF)
        EndIf
        $iForm_index += 1
    Next
EndFunc   ;==>_IE_test_FormCollection

Func _IE_test_FormElementCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oForms = _IEFormGetCollection($oIE)
    Local $oFormsCount = @extended
    ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & 'IsObj($oForms) = ' & IsObj($oForms) & @CRLF)
    ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForms "Type" = ' & _IE_test_GetObjType($oForms, True) & @CRLF)
    ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oFormsCount = ' & $oFormsCount & @CRLF)
    Local $oFormElements
    Local $sOuterHtml = ''
    Local $iForm_index = 0
    For $oForm In $oForms
        ConsoleWrite(@CRLF)
        $sOuterHtml = _IEPropertyGet($oForm, 'Outerhtml')
        ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$iForm_index = ' & $iForm_index & @CRLF)
        ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm "Type" = ' & _IE_test_GetObjType($oForm, True) & @CRLF)
;~      ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm "OuterHtml" = ' & $sOuterHtml & @CRLF)
        If $oForm.id Then
            ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm.id = ' & $oForm.id & @CRLF)
        Else
            ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm.id = ' & 'Object does not have such a property.' & @CRLF)
        EndIf
        If $oForm.name Then
            ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm.name = ' & $oForm.name & @CRLF)
        Else
            ConsoleWrite('! _IE_test_FormElementCollection:' & @TAB & '$oForm.name = ' & 'Object does not have such a property.' & @CRLF)
        EndIf
        $oFormElements = _IEFormElementGetCollection($oForm)
        Local $iElement_index = 0
        For $oElement In $oFormElements
            ConsoleWrite(@CRLF)
            $sOuterHtml = _IEPropertyGet($oElement, 'Outerhtml')
            ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$iElement_index = ' & $iElement_index & @CRLF)
            ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement "Type" = ' & _IE_test_GetObjType($oElement, True) & @CRLF)
            ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement.type = ' & $oElement.type & @CRLF)
            If $oElement.name Then
                ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement.name = ' & $oElement.name & @CRLF)
            Else
                ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement.name = ' & 'Object does not have such a property.' & @CRLF)
            EndIf
            If $oElement.id Then
                ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement.id = ' & $oElement.id & @CRLF)
            Else
                ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement.id = ' & 'Object does not have such a property.' & @CRLF)
            EndIf
            ConsoleWrite('!' & @TAB & '_IE_test_FormElementCollection:' & @TAB & '$oElement "OuterHtml" = ' & $sOuterHtml & @CRLF)
            $iElement_index += 1
        Next
        $iForm_index += 1
    Next
EndFunc   ;==>_IE_test_FormElementCollection

Func _IE_test_FrameCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oFrames = _IEFrameGetCollection($oIE)
    Local $iFramesCount = @extended
    ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & 'IsObj($oFrames) = ' & IsObj($oFrames) & @CRLF)
    ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrames "Type" = ' & _IE_test_GetObjType($oFrames, True) & @CRLF)
    ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$iFramesCount = ' & $iFramesCount & @CRLF)
    Local $oFrame
    Local $sOuterHtml = ''
    For $iFrame_index = 0 To ($iFramesCount - 1)
        $oFrame = _IEFrameGetCollection($oIE, $iFrame_index)
        $sOuterHtml = _IEPropertyGet($oFrame, 'Outerhtml')
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$iFrame_index = ' & $iFrame_index & @CRLF)
        ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame "Type" = ' & _IE_test_GetObjType($oFrame, True) & @CRLF)
        ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame "OuterHtml" = ' & $sOuterHtml & @CRLF)
        If $oFrame.id Then
            ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.id = ' & $oFrame.id & @CRLF)
        Else
            ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.id = ' & 'Object does not have such a property.' & @CRLF)
        EndIf
        ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.name = ' & $oFrame.name & @CRLF)
        If $oFrame.type Then _
                ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.type = ' & $oFrame.type & @CRLF)
    Next
EndFunc   ;==>_IE_test_FrameCollection

Func _IE_test_ImgCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oImgs = _IEImgGetCollection($oIE)
    Local $iImgsCount = @extended
    ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & 'IsObj($oImgs) = ' & IsObj($oImgs) & @CRLF)
    ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImgs "Type" = ' & _IE_test_GetObjType($oImgs, True) & @CRLF)
    ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$iImgsCount = ' & $iImgsCount & @CRLF)
    Local $sOuterHtml = ''
    Local $iImg_index = 0
    For $oImg In $oImgs
        $sOuterHtml = _IEPropertyGet($oImg, 'Outerhtml')
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$iImg_index = ' & $iImg_index & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg "Type" = ' & _IE_test_GetObjType($oImg, True) & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg "OuterHtml" = ' & $sOuterHtml & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.id = ' & $oImg.id & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.alt = ' & $oImg.alt & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.name = ' & $oImg.name & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.nameProp = ' & $oImg.nameProp & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.src = ' & $oImg.src & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.width = ' & $oImg.width & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.height = ' & $oImg.height & @CRLF)
        ConsoleWrite('! _IE_test_ImgCollection:' & @TAB & '$oImg.Border = ' & $oImg.Border & @CRLF)
        $iImg_index += 1
    Next
EndFunc   ;==>_IE_test_ImgCollection

Func _IE_test_LinkCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oLinks = _IELinkGetCollection($oIE)
    Local $iLinksCount = @extended
    ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & 'IsObj($oLinks) = ' & IsObj($oLinks) & @CRLF)
    ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$oLinks "Type" = ' & _IE_test_GetObjType($oLinks, True) & @CRLF)
    ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$iLinksCount = ' & $iLinksCount & @CRLF)
    Local $sOuterHtml = ''
    Local $iLink_index = 0
    For $oLink In $oLinks
        $sOuterHtml = _IEPropertyGet($oLink, 'Outerhtml')
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$iLink_index = ' & $iLink_index & @CRLF)
        ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$oLink "Type" = ' & _IE_test_GetObjType($oLink, True) & @CRLF)
        ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$oLink "OuterHtml" = ' & $sOuterHtml & @CRLF)
        ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$oLink.href = ' & $oLink.href & @CRLF)
        ConsoleWrite('! _IE_test_LinkCollection:' & @TAB & '$oLink.nameProp = ' & $oLink.nameProp & @CRLF)
        $iLink_index += 1
    Next
EndFunc   ;==>_IE_test_LinkCollection

Func _IE_test_TableCollection(ByRef $oIE)
    ConsoleWrite(@CRLF)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite('! _IE_test_TableCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oTables = _IETableGetCollection($oIE)
    Local $iTablesCount = @extended
    ConsoleWrite('! _IE_test_TableCollection:' & @TAB & 'IsObj($oTables) = ' & IsObj($oTables) & @CRLF)
    ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$oTable "Type" = ' & _IE_test_GetObjType($oTables, True) & @CRLF)
    ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$iTablesCount = ' & $iTablesCount & @CRLF)
    Local $sOuterHtml = ''
    Local $iTable_index = 0
    For $oTable In $oTables
        $sOuterHtml = _IEPropertyGet($oTable, 'Outerhtml')
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$iTable_index = ' & $iTable_index & @CRLF)
        ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$oTable "Type" = ' & _IE_test_GetObjType($oTable, True) & @CRLF)
        ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$oTable.id = ' & $oTable.id & @CRLF)
        If $oTable.type Then _
                ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$oTable.type = ' & $oTable.type & @CRLF)
        ConsoleWrite('! _IE_test_TableCollection:' & @TAB & '$oTable "OuterHtml" = ' & $sOuterHtml & @CRLF)
        $iTable_index += 1
    Next
EndFunc   ;==>_IE_test_TableCollection

Func _IE_test_TagNameAllGetCollection(ByRef $oIE)
    _IE_test__VersionInfo($oIE)
    ConsoleWrite(@CRLF)
    ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oTags = _IETagNameAllGetCollection($oIE)
    Local $iTagsCount = @extended
    ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & 'IsObj($oTags) = ' & IsObj($oTags) & @CRLF)
    ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag "Type" = ' & _IE_test_GetObjType($oTags, True) & @CRLF)
    ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$iTagsCount = ' & $iTagsCount & @CRLF)
    Local $sOuterHtml = ''
    Local $iTag_index = 0
    For $oTag In $oTags
        $sOuterHtml = _IEPropertyGet($oTag, 'Outerhtml')
        If $oTag.id Then
            ConsoleWrite(@CRLF)
            ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$iTag_index = ' & $iTag_index & @CRLF)
            ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag "Type" = ' & _IE_test_GetObjType($oTag, True) & @CRLF)
            ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag.tagname = ' & $oTag.tagname & @CRLF)
            ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag.id = ' & $oTag.id & @CRLF)
            If $oTag.type Then _
                    ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag.type = ' & $oTag.type & @CRLF)
            ConsoleWrite('! _IE_test_TagNameAllGetCollection:' & @TAB & '$oTag "OuterHtml" = ' & $sOuterHtml & @CRLF)
        EndIf
        $iTag_index += 1
    Next
EndFunc   ;==>_IE_test_TagNameAllGetCollection

Func _IE_test_TagNameGetCollection(ByRef $oIE, $s_TagName)
    _IE_test__VersionInfo($oIE)
    Local $sOuterHtml = ''
    ConsoleWrite(@CRLF)
    ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & 'IsObj($oIE) = ' & IsObj($oIE) & @CRLF)
    Local $oTags = _IETagNameGetCollection($oIE, $s_TagName)
    Local $iTagsCount = @extended
    ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$s_TagName = ' & $s_TagName & @CRLF)
    ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & 'IsObj($oTags) = ' & IsObj($oTags) & @CRLF)
    ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTags "Type" = ' & _IE_test_GetObjType($oTags, True) & @CRLF)
    ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$iTagsCount = ' & $iTagsCount & @CRLF)
    Local $iTag_index = 0
    For $oTag In $oTags
        $sOuterHtml = _IEPropertyGet($oTag, 'Outerhtml')
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$iTag_index = ' & $iTag_index & @CRLF)
        ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag "Type" = ' & _IE_test_GetObjType($oTag, True) & @CRLF)
        ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag.tagname = ' & $oTag.tagname & @CRLF)
        ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag.id = ' & $oTag.id & @CRLF)
        If $oTag.type Then _
                ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag.type = ' & $oTag.type & @CRLF)
        If $oTag.value Then _
                ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag.value = ' & $oTag.value & @CRLF)
        ConsoleWrite('! _IE_test_TagNameGetCollection:' & @TAB & '$oTag "OuterHtml" = ' & $sOuterHtml & @CRLF)
        $iTag_index += 1
    Next
EndFunc   ;==>_IE_test_TagNameGetCollection

Func _IE_test_AttachToTitle($sTitle)
    Local $oIE_temp
;~  If You have a problem with attach to window You can user RegExp
;~  for example
;~  $sTITLE = "[REGEXPTITLE:(?i)(.*google.*Internet Explorer.*)]"
    ConsoleWrite(@CRLF)
    ConsoleWrite('! _IE_test_AttachToTitle:' & @TAB & '$sTITLE = ' & $sTitle & @CRLF)
    If WinExists($sTitle) = 0 Then
        ConsoleWrite('! _IE_test_AttachToTitle:' & @TAB & 'WinExists($sTITLE) = 0' & @CRLF)
    Else
        ConsoleWrite('! _IE_test_AttachToTitle:' & @TAB & 'WinExists($sTITLE) = 1' & @CRLF)
        $oIE_temp = _IEAttachToTitle($sTitle)
    EndIf
    ConsoleWrite('! _IE_test_AttachToTitle:' & @TAB & 'IsObj($oIE_temp) = ' & IsObj($oIE_temp) & @CRLF)
EndFunc   ;==>_IE_test_AttachToTitle

Func _IE_test_GetObjType(ByRef $oIE, $fReturn = False)
    Local $sType = String(ObjName($oIE))
    If $fReturn = False Then
        ConsoleWrite(@CRLF)
        ConsoleWrite('! _IE_test_GetObjType:' & @TAB & @TAB & '$sType = ' & $sType & @CRLF)
    Else
        Return $sType
    EndIf
EndFunc   ;==>_IE_test_GetObjType

Func _IEAttachToTitle($sTitle)
    Local $hWindowToFind = WinGetHandle($sTitle)
    Return _IEAttach($hWindowToFind, "HWND")
EndFunc   ;==>_IEAttachToTitle

Func _IE_test__VersionInfo($oIE)
;~ "appcodename" Retrieves the code name of the browser (the property has a default value of Mozilla).
;~ "appminorversion" Retrieves the application's minor version value.
;~ "appname" Retrieves the name of the browser (the property has a default value of Microsoft Internet Explorer).
;~ "appversion" Retrieves the platform and version of the browser.
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' "appcodename" = ' & @TAB & _IEPropertyGet($oIE, "appcodename") & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' "appminorversion" = ' & @TAB & _IEPropertyGet($oIE, "appminorversion") & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' "appname" = ' & @TAB & @TAB & _IEPropertyGet($oIE, "appname") & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' "appversion" = ' & @TAB & _IEPropertyGet($oIE, "appversion") & @CRLF)

    Local $aVersion = _IE_VersionInfo()
    Local $IEAU3VersionInfo[6]
    $IEAU3VersionInfo[0] = 'Release Type(T = Test Or V = Production)'
    $IEAU3VersionInfo[1] = 'Major Version'
    $IEAU3VersionInfo[2] = 'Minor Version'
    $IEAU3VersionInfo[3] = 'Sub Version'
    $IEAU3VersionInfo[4] = 'Release Date(YYYYMMDD)'
    $IEAU3VersionInfo[5] = 'Display Version(E.g. V2.1 - 0)'
    ConsoleWrite(@CRLF)
    For $i = 4 To 5
        ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' _IE_VersionInfo(' & $i & ') = ' & $aVersion[$i] & @TAB & @TAB & '"' & $IEAU3VersionInfo[$i] & '"' & @CRLF)
    Next
    ConsoleWrite(@CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSArch = ' & @TAB & @TAB & @OSArch & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSLang = ' & @TAB & @TAB & @OSLang & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSType = ' & @TAB & @TAB & @OSType & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSVersion = ' & @TAB & @TAB & @OSVersion & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSBuild = ' & @TAB & @TAB & @OSBuild & @CRLF)
    ConsoleWrite('! _IE_test__VersionInfo($oIE):' & @TAB & ' @OSServicePack = ' & @TAB & @OSServicePack & @CRLF)
    ConsoleWrite(@CRLF & @CRLF)
EndFunc   ;==>_IE_test__VersionInfo
 

EXAMPLE #1:

 

#include-once
#include <IE.au3>
#include "IE_tester.au3"

Local $oIE = _IECreate("http://www.google.com")
_IELoadWait($oIE)
_IE_test_FormElementCollection($oIE)
_IEQuit($oIE)

EXAMPLE #2:

#include-once
#include <IE.au3>
#include "IE_tester.au3"

Local $oIE = _IECreate("http://www.autoitscript.com/wiki/Main_Page")
_IELoadWait($oIE)
_IE_test_FormElementCollection($oIE)
_IEQuit($oIE)

EXAMPLE #3:

#include-once
#include <IE.au3>
#include "IE_tester.au3"

_IE_test_Example_1_FormCollection()
_IE_test_Example_2_FormElementCollection()
_IE_test_Example_3_FramesetCollection()
_IE_test_Example_4_ImgCollection()
_IE_test_Example_5_LinkCollection()
_IE_test_Example_6_TableCollection()
_IE_test_Example_7_TagNameAllGetCollection()
_IE_test_Example_8_TagNameGetCollection()

RESULTS to EXAMPLE#3:

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "L:\TOOLs\Macro\IE_Tester_example.au3" /UserParams    
+>02:29:29 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.2.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
>Running AU3Check (3.3.9.21)  from:C:\Program Files (x86)\AutoIt3\Beta
+>02:29:29 AU3Check ended.rc:0
>Running:(3.3.9.21):C:\Program Files (x86)\AutoIt3\Beta\autoit3.exe "L:\TOOLs\Macro\IE_Tester_example.au3"    
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop

START: TESTING: ............................................. _IE_test_Example_1_FormCollection()

TESTING ......................... _IE_test_GetObjType($oIE_Test):

! _IE_test_GetObjType:      $sType = IWebBrowser2

TESTING ......................... _IE_test_FormCollection($oIE_Test):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_FormCollection:  IsObj($oIE) = 1
! _IE_test_FormCollection:  IsObj($oForms) = 1
! _IE_test_FormCollection:  $oForms "Type" = DispHTMLElementCollection
! _IE_test_FormCollection:  $iFormsCount = 1

! _IE_test_FormCollection:  $iForm_index = 0
! _IE_test_FormCollection:  $oForm.id = gbqf
! _IE_test_FormCollection:  $oForm.name = gbqf

TESTING ......................... _IE_test_AttachToTitle('[REGEXPTITLE:(?i)(.*google.*Internet Explorer.*)]'):

! _IE_test_AttachToTitle:   $sTITLE = [REGEXPTITLE:(?i)(.*google.*Internet Explorer.*)]
! _IE_test_AttachToTitle:   WinExists($sTITLE) = 1
! _IE_test_AttachToTitle:   IsObj($oIE_temp) = 1

END: TESTING: ............................................. _IE_test_Example_1_FormCollection()


START: TESTING: ............................................. _IE_test_Example_2_FormElementCollection()

TESTING ......................... _IE_test_GetObjType($oIE_Test):

! _IE_test_GetObjType:      $sType = IWebBrowser2

TESTING ......................... _IE_test_FormElementCollection($oIE_Test):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_FormElementCollection:   IsObj($oIE) = 1
! _IE_test_FormElementCollection:   IsObj($oForms) = 1
! _IE_test_FormElementCollection:   $oForms "Type" = DispHTMLElementCollection
! _IE_test_FormElementCollection:   $oFormsCount = 1

! _IE_test_FormElementCollection:   $iForm_index = 0
! _IE_test_FormElementCollection:   $oForm "Type" = HTMLFormElement
! _IE_test_FormElementCollection:   $oForm.id = Object does not have such a property.
! _IE_test_FormElementCollection:   $oForm.name = ExampleForm

!   _IE_test_FormElementCollection: $iElement_index = 0
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = hidden
!   _IE_test_FormElementCollection: $oElement.name = hiddenExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="hiddenExample" type="hidden" value="secret value">

!   _IE_test_FormElementCollection: $iElement_index = 1
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = text
!   _IE_test_FormElementCollection: $oElement.name = textExample
!   _IE_test_FormElementCollection: $oElement.id = acpro_inp1
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="textExample" id="acpro_inp1" type="text" size="20" maxlength="30" value="http://">

!   _IE_test_FormElementCollection: $iElement_index = 2
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = password
!   _IE_test_FormElementCollection: $oElement.name = passwordExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="passwordExample" type="password" size="10">

!   _IE_test_FormElementCollection: $iElement_index = 3
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = file
!   _IE_test_FormElementCollection: $oElement.name = fileExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="fileExample" type="file">

!   _IE_test_FormElementCollection: $iElement_index = 4
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLTextAreaElement
!   _IE_test_FormElementCollection: $oElement.type = textarea
!   _IE_test_FormElementCollection: $oElement.name = textareaExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <textarea name="textareaExample" rows="5" cols="15">Hello!</textarea>

!   _IE_test_FormElementCollection: $iElement_index = 5
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = checkbox
!   _IE_test_FormElementCollection: $oElement.name = checkboxG1Example
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="checkboxG1Example" type="checkbox" value="gameBasketball">

!   _IE_test_FormElementCollection: $iElement_index = 6
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = checkbox
!   _IE_test_FormElementCollection: $oElement.name = checkboxG1Example
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="checkboxG1Example" type="checkbox" value="gameFootball">

!   _IE_test_FormElementCollection: $iElement_index = 7
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = checkbox
!   _IE_test_FormElementCollection: $oElement.name = checkboxG2Example
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="checkboxG2Example" type="checkbox" checked="" value="gameTennis">

!   _IE_test_FormElementCollection: $iElement_index = 8
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = checkbox
!   _IE_test_FormElementCollection: $oElement.name = checkboxG2Example
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="checkboxG2Example" type="checkbox" value="gameBaseball">

!   _IE_test_FormElementCollection: $iElement_index = 9
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = radio
!   _IE_test_FormElementCollection: $oElement.name = radioExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="radioExample" type="radio" value="vehicleAirplane">

!   _IE_test_FormElementCollection: $iElement_index = 10
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = radio
!   _IE_test_FormElementCollection: $oElement.name = radioExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="radioExample" type="radio" checked="" value="vehicleTrain">

!   _IE_test_FormElementCollection: $iElement_index = 11
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = radio
!   _IE_test_FormElementCollection: $oElement.name = radioExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="radioExample" type="radio" value="vehicleBoat">

!   _IE_test_FormElementCollection: $iElement_index = 12
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = radio
!   _IE_test_FormElementCollection: $oElement.name = radioExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="radioExample" type="radio" value="vehicleCar">

!   _IE_test_FormElementCollection: $iElement_index = 13
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLSelectElement
!   _IE_test_FormElementCollection: $oElement.type = select-one
!   _IE_test_FormElementCollection: $oElement.name = selectExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <select name="selectExample">
<option value="homepage.html">Homepage
<option value="midipage.html">Midipage
<option value="freepage.html">Freepage
</option></select>

!   _IE_test_FormElementCollection: $iElement_index = 14
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLSelectElement
!   _IE_test_FormElementCollection: $oElement.type = select-multiple
!   _IE_test_FormElementCollection: $oElement.name = multipleSelectExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <select name="multipleSelectExample" size="6" multiple="">
<option value="Name1">Aaron
<option value="Name2">Bruce
<option value="Name3">Carlos
<option value="Name4">Denis
<option value="Name5">Ed
<option value="Name6">Freddy
</option></select>

!   _IE_test_FormElementCollection: $iElement_index = 15
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = submit
!   _IE_test_FormElementCollection: $oElement.name = submitExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="submitExample" type="submit" value="Submit">

!   _IE_test_FormElementCollection: $iElement_index = 16
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = reset
!   _IE_test_FormElementCollection: $oElement.name = resetExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="resetExample" type="reset" value="Reset">

!   _IE_test_FormElementCollection: $iElement_index = 17
!   _IE_test_FormElementCollection: $oElement "Type" = HTMLInputElement
!   _IE_test_FormElementCollection: $oElement.type = hidden
!   _IE_test_FormElementCollection: $oElement.name = hiddenExample
!   _IE_test_FormElementCollection: $oElement.id = Object does not have such a property.
!   _IE_test_FormElementCollection: $oElement "OuterHtml" = <input name="hiddenExample" type="hidden" value="secret value">

TESTING ......................... _IE_test_AttachToTitle('[REGEXPTITLE:(?i)(.*_IE_Example.*?form.*?Internet Explorer.*)]'):

! _IE_test_AttachToTitle:   $sTITLE = [REGEXPTITLE:(?i)(.*_IE_Example.*?form.*?Internet Explorer.*)]
! _IE_test_AttachToTitle:   WinExists($sTITLE) = 1
! _IE_test_AttachToTitle:   IsObj($oIE_temp) = 1

END: TESTING: ............................................. _IE_test_Example_2_FormElementCollection()


START: TESTING: ............................................. _IE_test_Example_3_FramesetCollection()

TESTING ......................... _IE_test_GetObjType($oIE):

! _IE_test_GetObjType:      $sType = IWebBrowser2

TESTING ......................... _IE_test_FrameCollection($oIE):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_FrameCollection: IsObj($oIE) = 1
! _IE_test_FrameCollection: IsObj($oFrames) = 1
! _IE_test_FrameCollection: $oFrames "Type" = HTMLWindow2
! _IE_test_FrameCollection: $iFramesCount = 3

! _IE_test_FrameCollection: $iFrame_index = 0
! _IE_test_FrameCollection: $oFrame "Type" = HTMLWindow2
! _IE_test_FrameCollection: $oFrame "OuterHtml" = <body>$oFrameTop = _IEFrameGetObjByName($oIE, "Top")</body>
! _IE_test_FrameCollection: $oFrame.id = Object does not have such a property.
! _IE_test_FrameCollection: $oFrame.name = Top

! _IE_test_FrameCollection: $iFrame_index = 1
! _IE_test_FrameCollection: $oFrame "Type" = HTMLWindow2
! _IE_test_FrameCollection: $oFrame "OuterHtml" = <body>$oFrameMenu = _IEFrameGetObjByName($oIE, "Menu")</body>
! _IE_test_FrameCollection: $oFrame.id = Object does not have such a property.
! _IE_test_FrameCollection: $oFrame.name = Menu

! _IE_test_FrameCollection: $iFrame_index = 2
! _IE_test_FrameCollection: $oFrame "Type" = HTMLWindow2
! _IE_test_FrameCollection: $oFrame "OuterHtml" = <body>$oFrameMain = _IEFrameGetObjByName($oIE, "Main")</body>
! _IE_test_FrameCollection: $oFrame.id = Object does not have such a property.
! _IE_test_FrameCollection: $oFrame.name = Main

END: TESTING: ............................................. _IE_test_Example_3_FramesetCollection()


START: TESTING: ............................................. _IE_test_Example_4_ImgCollection()

TESTING ......................... _IE_test_GetObjType($oIE):

! _IE_test_GetObjType:      $sType = IWebBrowser2

TESTING ......................... _IE_test_ImgCollection($oIE):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_ImgCollection:   IsObj($oIE) = 1
! _IE_test_ImgCollection:   IsObj($oImgs) = 1
! _IE_test_ImgCollection:   $oImgs "Type" = DispHTMLElementCollection
! _IE_test_ImgCollection:   $iImgsCount = 10

! _IE_test_ImgCollection:   $iImg_index = 0
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="210" height="72" id="logo" alt="AutoItScript" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/logo@2x.png">
! _IE_test_ImgCollection:   $oImg.id = logo
! _IE_test_ImgCollection:   $oImg.alt = AutoItScript
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = logo@2x.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/logo@2x.png
! _IE_test_ImgCollection:   $oImg.width = 210
! _IE_test_ImgCollection:   $oImg.height = 72
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 1
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="330" height="220" class="thumb" alt="AutoIt" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit.jpg">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit.jpg
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit.jpg
! _IE_test_ImgCollection:   $oImg.width = 330
! _IE_test_ImgCollection:   $oImg.height = 220
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 2
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="330" height="220" class="thumb" alt="GImageX" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-gimagex.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = GImageX
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-gimagex.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-gimagex.png
! _IE_test_ImgCollection:   $oImg.width = 330
! _IE_test_ImgCollection:   $oImg.height = 220
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 3
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="330" height="220" class="thumb" alt="AutoIt Script Editor" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit-editor.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt Script Editor
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit-editor.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit-editor.png
! _IE_test_ImgCollection:   $oImg.width = 330
! _IE_test_ImgCollection:   $oImg.height = 220
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 4
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="330" height="220" class="thumb" alt="AutoIt Tools" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit-tools.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt Tools
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit-tools.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/custom/featured-autoit-tools.png
! _IE_test_ImgCollection:   $oImg.width = 330
! _IE_test_ImgCollection:   $oImg.height = 220
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 5
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="72" height="72" alt="AutoIt" src="http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-10402_72x72.jpg">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit-10402_72x72.jpg
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-10402_72x72.jpg
! _IE_test_ImgCollection:   $oImg.width = 72
! _IE_test_ImgCollection:   $oImg.height = 72
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 6
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="72" height="72" alt="GImageX" src="http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-gimagex-8417_72x72.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = GImageX
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-gimagex-8417_72x72.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-gimagex-8417_72x72.png
! _IE_test_ImgCollection:   $oImg.width = 72
! _IE_test_ImgCollection:   $oImg.height = 72
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 7
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="72" height="72" alt="AutoIt Script Editor" src="http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-editor-11868_72x72.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt Script Editor
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit-editor-11868_72x72.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-editor-11868_72x72.png
! _IE_test_ImgCollection:   $oImg.width = 72
! _IE_test_ImgCollection:   $oImg.height = 72
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 8
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img width="72" height="72" alt="AutoIt Tools" src="http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-tools-3505_72x72.png">
! _IE_test_ImgCollection:   $oImg.id = 0
! _IE_test_ImgCollection:   $oImg.alt = AutoIt Tools
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = featured-autoit-tools-3505_72x72.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/uploads/et_temp/featured-autoit-tools-3505_72x72.png
! _IE_test_ImgCollection:   $oImg.width = 72
! _IE_test_ImgCollection:   $oImg.height = 72
! _IE_test_ImgCollection:   $oImg.Border = 0

! _IE_test_ImgCollection:   $iImg_index = 9
! _IE_test_ImgCollection:   $oImg "Type" = HTMLImg
! _IE_test_ImgCollection:   $oImg "OuterHtml" = <img id="rss-icon" alt="" src="http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/rss.png">
! _IE_test_ImgCollection:   $oImg.id = rss-icon
! _IE_test_ImgCollection:   $oImg.alt = 
! _IE_test_ImgCollection:   $oImg.name = 0
! _IE_test_ImgCollection:   $oImg.nameProp = rss.png
! _IE_test_ImgCollection:   $oImg.src = http://aut1.autoit-cdn.com/site/wp-content/themes/TheCorporation/images/rss.png
! _IE_test_ImgCollection:   $oImg.width = 22
! _IE_test_ImgCollection:   $oImg.height = 23
! _IE_test_ImgCollection:   $oImg.Border = 0

END: TESTING: ............................................. _IE_test_Example_4_ImgCollection()


START: TESTING: ............................................. _IE_test_Example_5_LinkCollection()

TESTING ......................... _IE_test_LinkCollection($oIE):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_LinkCollection:  IsObj($oIE) = 1
! _IE_test_LinkCollection:  IsObj($oLinks) = 1
! _IE_test_LinkCollection:  $oLinks "Type" = DispHTMLElementCollection
! _IE_test_LinkCollection:  $iLinksCount = 3

! _IE_test_LinkCollection:  $iLink_index = 0
! _IE_test_LinkCollection:  $oLink "Type" = HTMLAnchorElement
! _IE_test_LinkCollection:  $oLink "OuterHtml" = <a href="http://www.autoitscript.com"><img id="AutoItImage" alt="AutoIt Homepage Image" src="http://www.autoitscript.com/images/autoit_6_240x100.jpg"></a>
! _IE_test_LinkCollection:  $oLink.href = http://www.autoitscript.com/
! _IE_test_LinkCollection:  $oLink.nameProp = www.autoitscript.com

! _IE_test_LinkCollection:  $iLink_index = 1
! _IE_test_LinkCollection:  $oLink "Type" = HTMLAnchorElement
! _IE_test_LinkCollection:  $oLink "OuterHtml" = <a href="http://www.autoitscript.com">AutoIt</a>
! _IE_test_LinkCollection:  $oLink.href = http://www.autoitscript.com/
! _IE_test_LinkCollection:  $oLink.nameProp = www.autoitscript.com

! _IE_test_LinkCollection:  $iLink_index = 2
! _IE_test_LinkCollection:  $oLink "Type" = HTMLAnchorElement
! _IE_test_LinkCollection:  $oLink "OuterHtml" = <a href="http://www.autoitscript.com/forum/">user forum</a>
! _IE_test_LinkCollection:  $oLink.href = http://www.autoitscript.com/forum/
! _IE_test_LinkCollection:  $oLink.nameProp = forum

END: TESTING: ............................................. _IE_test_Example_5_LinkCollection()


START: TESTING: ............................................. _IE_test_Example_6_TableCollection()

TESTING ......................... _IE_test_TableCollection($oIE):

! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1


! _IE_test_TableCollection: IsObj($oIE) = 1
! _IE_test_TableCollection: IsObj($oTables) = 1
! _IE_test_TableCollection: $oTable "Type" = DispHTMLElementCollection
! _IE_test_TableCollection: $iTablesCount = 2

! _IE_test_TableCollection: $iTable_index = 0
! _IE_test_TableCollection: $oTable "Type" = HTMLTable
! _IE_test_TableCollection: $oTable.id = tableOne
! _IE_test_TableCollection: $oTable "OuterHtml" = <table id="tableOne" border="1">
    <tbody><tr>
        <td>AutoIt</td>
        <td>is</td>
        <td>really</td>
        <td>great</td>
        <td>with</td>
        <td>IE.au3</td>
    </tr>
    <tr>
        <td>1</td>
        <td>2</td>
        <td>3</td>
        <td>4</td>
        <td>5</td>
        <td>6</td>
    </tr>
    <tr>
        <td>the</td>
        <td>quick</td>
        <td>red</td>
        <td>fox</td>
        <td>jumped</td>
        <td>over</td>
    </tr>
    <tr>
        <td>the</td>
        <td>lazy</td>
        <td>brown</td>
        <td>dog</td>
        <td>the</td>
        <td>time</td>
    </tr>
    <tr>
        <td>has</td>
        <td>come</td>
        <td>for</td>
        <td>all</td>
        <td>good</td>
        <td>men</td>
    </tr>
    <tr>
        <td>to</td>
        <td>come</td>
        <td>to</td>
        <td>the</td>
        <td>aid</td>
        <td>of</td>
    </tr>
</tbody></table>

! _IE_test_TableCollection: $iTable_index = 1
! _IE_test_TableCollection: $oTable "Type" = HTMLTable
! _IE_test_TableCollection: $oTable.id = tableTwo
! _IE_test_TableCollection: $oTable "OuterHtml" = <table id="tableTwo" border="1">
    <tbody><tr>
        <td colspan="4">Table Top</td>
    </tr>
    <tr>
        <td>One</td>
        <td colspan="3">Two</td>
    </tr>
    <tr>
        <td>Three</td>
        <td>Four</td>
        <td colspan="2">Five</td>
    </tr>
    <tr>
        <td>Six</td>
        <td colspan="3">Seven</td>
    </tr>
    <tr>
        <td>Eight</td>
        <td>Nine</td>
        <td>Ten</td>
        <td>Eleven</td>
    </tr>
</tbody></table>

END: TESTING: ............................................. _IE_test_Example_6_TableCollection()


START: TESTING: ............................................. _IE_test_Example_7_TagNameAllGetCollection()

TESTING ......................... _IE_test_TagNameAllGetCollection($oIE):
! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1



! _IE_test_TagNameAllGetCollection: IsObj($oIE) = 1
! _IE_test_TagNameAllGetCollection: IsObj($oTags) = 1
! _IE_test_TagNameAllGetCollection: $oTag "Type" = DispHTMLElementCollection
! _IE_test_TagNameAllGetCollection: $iTagsCount = 19

! _IE_test_TagNameAllGetCollection: $iTag_index = 7
! _IE_test_TagNameAllGetCollection: $oTag "Type" = HTMLImg
! _IE_test_TagNameAllGetCollection: $oTag.tagname = IMG
! _IE_test_TagNameAllGetCollection: $oTag.id = AutoItImage
! _IE_test_TagNameAllGetCollection: $oTag "OuterHtml" = <img id="AutoItImage" alt="AutoIt Homepage Image" src="http://www.autoitscript.com/images/autoit_6_240x100.jpg">

! _IE_test_TagNameAllGetCollection: $iTag_index = 9
! _IE_test_TagNameAllGetCollection: $oTag "Type" = HTMLDivElement
! _IE_test_TagNameAllGetCollection: $oTag.tagname = DIV
! _IE_test_TagNameAllGetCollection: $oTag.id = line1
! _IE_test_TagNameAllGetCollection: $oTag "OuterHtml" = <div id="line1">This is a simple HTML page with text, links and images.</div>

! _IE_test_TagNameAllGetCollection: $iTag_index = 11
! _IE_test_TagNameAllGetCollection: $oTag "Type" = HTMLDivElement
! _IE_test_TagNameAllGetCollection: $oTag.tagname = DIV
! _IE_test_TagNameAllGetCollection: $oTag.id = line2
! _IE_test_TagNameAllGetCollection: $oTag "OuterHtml" = <div id="line2"><a href="http://www.autoitscript.com">AutoIt</a> is a wonderful automation scripting language.</div>

! _IE_test_TagNameAllGetCollection: $iTag_index = 14
! _IE_test_TagNameAllGetCollection: $oTag "Type" = HTMLDivElement
! _IE_test_TagNameAllGetCollection: $oTag.tagname = DIV
! _IE_test_TagNameAllGetCollection: $oTag.id = line3
! _IE_test_TagNameAllGetCollection: $oTag "OuterHtml" = <div id="line3">It is supported by a very active and supporting <a href="http://www.autoitscript.com/forum/">user forum</a>.</div>

! _IE_test_TagNameAllGetCollection: $iTag_index = 17
! _IE_test_TagNameAllGetCollection: $oTag "Type" = HTMLDivElement
! _IE_test_TagNameAllGetCollection: $oTag.tagname = DIV
! _IE_test_TagNameAllGetCollection: $oTag.id = IEAu3Data
! _IE_test_TagNameAllGetCollection: $oTag "OuterHtml" = <div id="IEAu3Data"></div>

END: TESTING: ............................................. _IE_test_Example_7_TagNameAllGetCollection()


START: TESTING: ............................................. _IE_test_Example_8_TagNameGetCollection()

TESTING ......................... _IE_test_TagNameGetCollection($oIE):
! _IE_test__VersionInfo($oIE):   "appcodename" =    Mozilla
! _IE_test__VersionInfo($oIE):   "appminorversion" =    0
! _IE_test__VersionInfo($oIE):   "appname" =        Microsoft Internet Explorer
! _IE_test__VersionInfo($oIE):   "appversion" =     5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)

! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(4) = 20130601      "Release Date(YYYYMMDD)"
! _IE_test__VersionInfo($oIE):   _IE_VersionInfo(5) = T3.0-1        "Display Version(E.g. V2.1 - 0)"

! _IE_test__VersionInfo($oIE):   @OSArch =      X64
! _IE_test__VersionInfo($oIE):   @OSLang =      0415
! _IE_test__VersionInfo($oIE):   @OSType =      WIN32_NT
! _IE_test__VersionInfo($oIE):   @OSVersion =       WIN_7
! _IE_test__VersionInfo($oIE):   @OSBuild =         7601
! _IE_test__VersionInfo($oIE):   @OSServicePack =   Service Pack 1



! _IE_test_TagNameGetCollection:    IsObj($oIE) = 1
! _IE_test_TagNameGetCollection:    $s_TagName = input
! _IE_test_TagNameGetCollection:    IsObj($oTags) = 1
! _IE_test_TagNameGetCollection:    $oTags "Type" = DispHTMLElementCollection
! _IE_test_TagNameGetCollection:    $iTagsCount = 16

! _IE_test_TagNameGetCollection:    $iTag_index = 0
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = hidden
! _IE_test_TagNameGetCollection:    $oTag.value = secret value
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="hiddenExample" type="hidden" value="secret value">

! _IE_test_TagNameGetCollection:    $iTag_index = 1
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = acpro_inp1
! _IE_test_TagNameGetCollection:    $oTag.type = text
! _IE_test_TagNameGetCollection:    $oTag.value = http://
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="textExample" id="acpro_inp1" type="text" size="20" maxlength="30" value="http://">

! _IE_test_TagNameGetCollection:    $iTag_index = 2
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = password
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="passwordExample" type="password" size="10">

! _IE_test_TagNameGetCollection:    $iTag_index = 3
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = file
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="fileExample" type="file">

! _IE_test_TagNameGetCollection:    $iTag_index = 4
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = image
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="imageExample" type="image" alt="AutoIt Homepage" src="http://www.autoitscript.com/images/autoit_6_240x100.jpg">

! _IE_test_TagNameGetCollection:    $iTag_index = 5
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = checkbox
! _IE_test_TagNameGetCollection:    $oTag.value = gameBasketball
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="checkboxG1Example" type="checkbox" value="gameBasketball">

! _IE_test_TagNameGetCollection:    $iTag_index = 6
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = checkbox
! _IE_test_TagNameGetCollection:    $oTag.value = gameFootball
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="checkboxG1Example" type="checkbox" value="gameFootball">

! _IE_test_TagNameGetCollection:    $iTag_index = 7
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = checkbox
! _IE_test_TagNameGetCollection:    $oTag.value = gameTennis
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="checkboxG2Example" type="checkbox" checked="" value="gameTennis">

! _IE_test_TagNameGetCollection:    $iTag_index = 8
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = checkbox
! _IE_test_TagNameGetCollection:    $oTag.value = gameBaseball
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="checkboxG2Example" type="checkbox" value="gameBaseball">

! _IE_test_TagNameGetCollection:    $iTag_index = 9
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = radio
! _IE_test_TagNameGetCollection:    $oTag.value = vehicleAirplane
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="radioExample" type="radio" value="vehicleAirplane">

! _IE_test_TagNameGetCollection:    $iTag_index = 10
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = radio
! _IE_test_TagNameGetCollection:    $oTag.value = vehicleTrain
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="radioExample" type="radio" checked="" value="vehicleTrain">

! _IE_test_TagNameGetCollection:    $iTag_index = 11
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = radio
! _IE_test_TagNameGetCollection:    $oTag.value = vehicleBoat
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="radioExample" type="radio" value="vehicleBoat">

! _IE_test_TagNameGetCollection:    $iTag_index = 12
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = radio
! _IE_test_TagNameGetCollection:    $oTag.value = vehicleCar
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="radioExample" type="radio" value="vehicleCar">

! _IE_test_TagNameGetCollection:    $iTag_index = 13
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = submit
! _IE_test_TagNameGetCollection:    $oTag.value = Submit
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="submitExample" type="submit" value="Submit">

! _IE_test_TagNameGetCollection:    $iTag_index = 14
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = reset
! _IE_test_TagNameGetCollection:    $oTag.value = Reset
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="resetExample" type="reset" value="Reset">

! _IE_test_TagNameGetCollection:    $iTag_index = 15
! _IE_test_TagNameGetCollection:    $oTag "Type" = HTMLInputElement
! _IE_test_TagNameGetCollection:    $oTag.tagname = INPUT
! _IE_test_TagNameGetCollection:    $oTag.id = 0
! _IE_test_TagNameGetCollection:    $oTag.type = hidden
! _IE_test_TagNameGetCollection:    $oTag.value = secret value
! _IE_test_TagNameGetCollection:    $oTag "OuterHtml" = <input name="hiddenExample" type="hidden" value="secret value">

END: TESTING: ............................................. _IE_test_Example_8_TagNameGetCollection()

+>02:29:47 AutoIt3.exe ended.rc:0
>Exit code: 0    Time: 18.532

Live long and prosper

//_

mlipok

IE_Tester.au3

Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok
I forgot to add what are the results.
And that will make it easier to understand the essence of the program.
 
EDIT 2013/09/13: I remove output (results) placed in this post , because it will be included only in the first post
Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
dmob

Seems promising... might be a good addition to the IE_Automation_Tester

Share this post


Link to post
Share on other sites
Valuater

Maybe you can get some hints from IE Builder

 

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
mLipok

my TODO list is short

_IE_test_LinkCollection
_IE_test_ImgCollection
_IE_test_FrameCollection
 
do you have any other proposal ?

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok
finally first opinion and proposals
thanks
 
ps.
Almost I had thoughts of suicide, ........ although it may without exaggeration, but the tension grew.

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok
My only regret is that the function:
 
_IE_Example ("Form")
 
It does not contain an example of two objects a Form.
It would be enough to add an additional object of type Form and regular input.
 
And the examples could be more pronounced for beginners.
 
Is it possible to change it somehow?
Probably you will direct me to the @ DaleHohm.
But his majesty, in the perspective of the little me, just intimidates me :)

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok

Seems promising... might be a good addition to the IE_Automation_Tester

 

talk something more about " IE_Automation_Tester "


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok

the new version is now available.

EDIT 2013/09/13: I remove output (results) placed in this post , because it will be included only in the first post

Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
Chimp

Hi milipok
I looked at your functions _ie_test_ * (I'm still using autoit v 3.3.8.1 at the moment but the test worked too), these functions should be called if you want to check for the presence of specific elements in a web page, eg if I want to whether in a web page are forms should I use _IE_test_FormCollection ($ oIE_Test) to see the outcome, (the output is detailed but looks a bit 'verbose').
One question, if you use the function _IETagNameAllGetCollection() wouldn't be easier to get a collection of all objects on the web page, and then you could work on that collection to extract all the various properties of the individual elements. What do you think?


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
mLipok
it depends on what you want to achieve
If you already know to use this technology, you're right
however, if a novice programmer want to know why he can not click on a specific item or can not enter text in the input field type,
well then I think it would be better to tell him that he used functions like this:
_IE_test_FormElementCollection($OIE)
 
and gave the answer score of Console.
 
The second thing I hope that this written script will not only get the specific data from the questioner, but he is a good course, showing a rapid and simple, cause and effect.
 
Note that the script practically every step, check whether an item is an object, and an additional matter what type it is.
 
I hope that the article is a good practice to write the code so that the testing itself.
 
I think that mostly lacked a novice (like me a few years ago) a good tool to test, but not the tool running next script.
I needed a tool acting within the script.
 
EDIT:
sorry for my poor English skills.
Learned the language, only one semester, the rest of life has taught me (and I say this seriously not kidding)
Besides
Two days ago, I was really sick I slept all day, and now I can not sleep (36 hours without even a small nap).
Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok

I looked at your functions _ie_test_ * (I'm still using autoit v 3.3.8.1 at the moment but the test worked too)

 

Strange

on AutoIt v3.3.8.1 I still have some errors

I must checkit

EDIT:

i use IE 10.0.9200.16660

Can you tell which version you are using?

Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
Valuater

 

my TODO list is short

_IE_test_LinkCollection
_IE_test_ImgCollection
_IE_test_FrameCollection
 
do you have any other proposal ?

 

 

As I suggested... IE Builder does all of these and the script is available to you. Do you take a look at it?

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
mLipok

yes

I even want to try this url: http://www.cs.princeton.edu/~kguinee/thesis.html

At the moment I have a few more ideas, so far considering only in the mind.
 
But I do not know if you noticed, but just those cited by your features have been added to my script.
 
 
I was also wondering on the concept similar to the one presented by @ PincoPanco in this thread:
 
 
But I think that I will not duplicate solutions, the above member, the more I think about cooperation in the realization of this idea.

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
Chimp

Strange

on AutoIt v3.3.8.1 I still have some errors

I must checkit

EDIT:

i use IE 10.0.9200.16660

Can you tell which version you are using?

 

i tested on IE v 8.0.6001.18702 - WinXP pro SP2


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
mLipok
I clean up my script, found some bug, and working on new feature.
I think these edit: took take me few days.
 
 
The isuue is because I read object.ID when there is no ID.
 
 
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "L:\TOOLs\Macro\IE_Tester.au3" /UserParams    
+>23:57:08 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.2.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
>Running AU3Check (3.3.9.5)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files (x86)\AutoIt3
+>23:57:08 AU3Check ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "L:\TOOLs\Macro\IE_Tester.au3"    
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
!> Starting in DebugMode..
Line: @error-@extended: Line syntax
0001: 0-0: #AutoIt3Wrapper_run_debug_mode=Y
0002: 0-0: #AutoIt3Wrapper_Au3Check_Parameters=-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7
0004: 0-0: #include-once
0005: 0-0: #include <IE.au3>
0012: 0-0: _IE_test_Example_3_FramesetCollection()
0089: 0-0:  Local $oIE = _IE_Example("frameset")
0090: 0-0:  _IELoadWait($oIE)
0092: 0-0:  ConsoleWrite(@CRLF)

0093: 0-0:  ConsoleWrite("START TESTING: ............................................. _IE_test_Example_3_FramesetCollection()" & @CRLF)
START TESTING: ............................................. _IE_test_Example_3_FramesetCollection()
0095: 0-0:  ConsoleWrite(@CRLF)

0096: 0-0:  ConsoleWrite("TESTING ......................... _IE_test_GetObjType($oIE):" & @CRLF)
TESTING ......................... _IE_test_GetObjType($oIE):
0097: 0-0:  _IE_test_GetObjType($oIE)
0286: 0-0:  Local $sType = String(ObjName($oIE))
0287: 0-0:  If $fReturn = False Then
0288: 0-0:      ConsoleWrite(@CRLF)

0289: 0-0:      ConsoleWrite("! _IE_test_GetObjType:" & @TAB & @TAB & "$sType = " & $sType & @CRLF)
! _IE_test_GetObjType:      $sType = IWebBrowser2
0290: 0-0:  Else
0293: 0-0: EndFunc   ;==>_IE_test_GetObjType
0099: 0-0:  ConsoleWrite(@CRLF)

0100: 0-0:  ConsoleWrite("TESTING ......................... _IE_test_FrameCollection($oIE):" & @CRLF)
TESTING ......................... _IE_test_FrameCollection($oIE):
0101: 0-0:  _IE_test_FrameCollection($oIE)
0205: 0-0:  Local $sOuterHtml = ""
0206: 0-0:  ConsoleWrite(@CRLF)

0207: 0-0:  ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "IsObj($oIE) = " & IsObj($oIE) & @CRLF)
! _IE_test_FrameCollection: IsObj($oIE) = 1
0208: 0-0:  Local $oFrames = _IEFrameGetCollection($oIE)
0209: 0-3:  Local $iNumFrames = @extended
0210: 0-3:  ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "IsObj($oFrames) = " & IsObj($oFrames) & "  $iNumFrames = " & $iNumFrames & @CRLF)
! _IE_test_FrameCollection: IsObj($oFrames) = 1  $iNumFrames = 3
0211: 0-0:  Local $oFrame
0213: 0-0:  For $iFrame_index = 0 To ($iNumFrames - 1)
0214: 0-0:      $oFrame = _IEFrameGetCollection($oIE, $iFrame_index)
0215: 0-3:      $sOuterHtml = _IEPropertyGet($oFrame, "Outerhtml")
0216: 0-0:      ConsoleWrite(@CRLF)

0217: 0-0:      ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "$iFrame_index = " & $iFrame_index & @CRLF)
! _IE_test_FrameCollection: $iFrame_index = 0
0218: 0-0:      ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "$oFrame "Type" = " & _IE_test_GetObjType($oFrame, True) & @CRLF)
0286: 0-0:  Local $sType = String(ObjName($oIE))
0287: 0-0:  If $fReturn = False Then
0291: 0-0:      Return $sType
! _IE_test_FrameCollection: $oFrame "Type" = HTMLWindow2
0219: 0-0:      ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "$oFrame "OuterHtml" = " & $sOuterHtml & @CRLF)
! _IE_test_FrameCollection: $oFrame "OuterHtml" = <body>$oFrameTop = _IEFrameGetObjByName($oIE, "Top")</body>
0220: 0-0:      ConsoleWrite("! _IE_test_FrameCollection:" & @TAB & "$oFrame.id = " & $oFrame.id & @CRLF)
L:\TOOLs\Macro\IE_Tester_DebugIt.au3 (731) : ==> The requested action with this object has failed.:
ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.id = ' & $oFrame.id & @CRLF)
ConsoleWrite('! _IE_test_FrameCollection:' & @TAB & '$oFrame.id = ' & $oFrame.id ^ ERROR
->23:57:12 AutoIt3.exe ended.rc:1
>Exit code: 1    Time: 3.638
Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
Chimp

. . . .

I was also wondering on the concept similar to the one presented by @ PincoPanco in this thread:
 
 
But I think that I will not duplicate solutions, the above member, the more I think about cooperation in the realization of this idea.

 

 

I'm glad you like my idea

feel free to "duplicate" as you like :)

no problems on my side.

thanks for asking

bye


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
mLipok

the new version is now available


Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites
mLipok
I have a new use for this script.
 
Suppose this is the case (I had them a few)
 
you have a task:
Automate support for the portal to which the client logs on Use of PKI Smart Cards.
So far, the solution needed to form a permanent stay of the client.
Now you can come to a client for a while. perform EXAMPLE # 3, download the necessary data and go to work for your business.
Edited by mlipok

Signature beginning:   Wondering who uses AutoIT and what it can be used for ?
* GHAPI UDF - modest begining - comunication with GitHub REST API *
ADO.au3 UDF     POP3.au3 UDF     XML.au3 UDF    How to use IE.au3  UDF with  AutoIt v3.3.14.x  for other useful stuff click the following button

Spoiler

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. 

My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API *

My contribution to others projects or UDF based on  others projects: * _sql.au3 UDF  * POP3.au3 UDF *  RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF SMTP Mailer UDF *

Useful links: * Forum Rules * Forum etiquette *  Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * 

Wiki: Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * 

IE Related:  * How to use IE.au3  UDF with  AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * 

I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions *  EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *

"Homo sum; humani nil a me alienum puto" - Publius Terentius Afer
"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming"
:naughty:  :ranting:, be  :) and       \\//_.

Anticipating Errors :  "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty."

Signature last update: 2018-03-17

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×