Hi Everybody!
I'm new in AutoIt. After some introductory simple tests I tried a "real" problem. Unfortunately, I ran in problems from the first. When I try to scrap some data from the site http://www.burcoinc.com/products/online_catalog/ selecting the control box Year, Make or Model is not working! The code line with problems are the last two::
#include<IE.au3>
Global $oIE=_IECreate("http://www.burcoinc.com/products/online_catalog/")
Local $oForm = _IEGetObjByID($oIE, "ReportViewer1_ctl00_ctl03_ddValue")
_IEFormElementOptionselect($oForm, 8, 1, "byIndex")
the error lines are:
IE.au3 V2.4-0 Warning from function _IEGetObjById, $_IEStatus_NoMatch (ReportViewer1_ctl00_ctl03_ddValue)
--> IE.au3 V2.4-0 Error from function _IEFormElementOptionselect, $_IEStatus_InvalidDataType
The control name is from the page's source code, (checked both from IE and Chrome). Also tried with AU3Info but in this page it selects only the frame around the controls, not the controls. What is happening?
I can't find a solution, could anybody help me? Thank you in advance.
Laszlo
I'm new in AutoIt. After some introductory simple tests I tried a "real" problem. Unfortunately, I ran in problems from the first. When I try to scrap some data from the site http://www.burcoinc.com/products/online_catalog/ selecting the control box Year, Make or Model is not working! The code line with problems are the last two::
#include<IE.au3>
Global $oIE=_IECreate("http://www.burcoinc.com/products/online_catalog/")
Local $oForm = _IEGetObjByID($oIE, "ReportViewer1_ctl00_ctl03_ddValue")
_IEFormElementOptionselect($oForm, 8, 1, "byIndex")
the error lines are:
IE.au3 V2.4-0 Warning from function _IEGetObjById, $_IEStatus_NoMatch (ReportViewer1_ctl00_ctl03_ddValue)
--> IE.au3 V2.4-0 Error from function _IEFormElementOptionselect, $_IEStatus_InvalidDataType
The control name is from the page's source code, (checked both from IE and Chrome). Also tried with AU3Info but in this page it selects only the frame around the controls, not the controls. What is happening?
I can't find a solution, could anybody help me? Thank you in advance.
Laszlo