Avoiding Delays
Posted: Thu Sep 18, 2014 10:24 am
Hi,
What I am trying to do is wait for the footer to appear, and then check that the innertext contains a specific string, are there anyways of not adding delays as I have done and have something more robust, I appreciate your help. Also I am getting the error:
"Failed to instrument Java process", as shown below did you find a workaround for this problem ?
TdTag footerInfo = "/dom[1]//td[#'footerInfo']";
Delay.Milliseconds(200);
Validate.Exists(footerInfo);
Delay.Milliseconds(500);
if(footerInfo.InnerText.Contains("SRDS"))
{
Report.Info(footerInfo.InnerText);
}
===================
Ranorex 5.1
Windows 7 (VM)
Java 1.6.0_26
Intermittent Ranorex warnings on new Java windows/forms:
"Failed to instrument Java process. Please make sure you have enough privileges to access the process.
(This message is only shown once per report.)"
What I am trying to do is wait for the footer to appear, and then check that the innertext contains a specific string, are there anyways of not adding delays as I have done and have something more robust, I appreciate your help. Also I am getting the error:
"Failed to instrument Java process", as shown below did you find a workaround for this problem ?
TdTag footerInfo = "/dom[1]//td[#'footerInfo']";
Delay.Milliseconds(200);
Validate.Exists(footerInfo);
Delay.Milliseconds(500);
if(footerInfo.InnerText.Contains("SRDS"))
{
Report.Info(footerInfo.InnerText);
}
===================
Ranorex 5.1
Windows 7 (VM)
Java 1.6.0_26
Intermittent Ranorex warnings on new Java windows/forms:
"Failed to instrument Java process. Please make sure you have enough privileges to access the process.
(This message is only shown once per report.)"