try
{
// exception is thrown somewhere here
}
catch (Exception ex)
{
string message = ex.ToString();
}_obj = _control.Element.FindChild(role, this.GetType().Name);
if( _obj == null )
{
Application.Sleep(500);
_obj = _control.Element.FindChild(role, this.GetType().Name);
}try
{
_obj = _control.Element.FindChild(role, this.GetType().Name);
}
catch (Ranorex.RanorexException)
{
Application.Sleep(500);
_obj = _control.Element.FindChild(role, this.GetType().Name);
}Ranorex.Element.EnableCaching = false;The 1st failure happens always(?) when i access a Exceed-Control
so far only with a Exceed-Control
It is a Windows Forms Control
Users browsing this forum: No registered users and 0 guests