unable to cast
Posted: Mon Aug 01, 2011 7:32 am
Hi,
I want to identify the tree item ,
The rx path for the tree item is
/form[@processname='EXCEL']/element[@class='EXCEL2' and @instance='2']/container[@caption='eGlue System Data Objects']/element/element/container/element/element/element/element/container/element/element/tree/treeitem[1]/button[@automationid='Expander']
I am getting the message like this
Unable to cast object of type 'Ranorex.Libs.WinForms.InvokeResult' to type 'Ranorex.Libs.WinForms.ControlProxy'.
if this message is not thrown ...it doesnt identify the control.Pls help me to solve this...Very urgent..
Thanks,
sonali.
I want to identify the tree item ,
The rx path for the tree item is
/form[@processname='EXCEL']/element[@class='EXCEL2' and @instance='2']/container[@caption='eGlue System Data Objects']/element/element/container/element/element/element/element/container/element/element/tree/treeitem[1]/button[@automationid='Expander']
I am getting the message like this
Unable to cast object of type 'Ranorex.Libs.WinForms.InvokeResult' to type 'Ranorex.Libs.WinForms.ControlProxy'.
if this message is not thrown ...it doesnt identify the control.Pls help me to solve this...Very urgent..
Thanks,
sonali.