Forum Discussion
zineo
14 years agoOccasional Contributor
As your suggestion, I have add on a coding on my KeywordTest. But there is a problem I facing that when it will get the results that "The object was not exist." when start running this function. Not even until Delay or LogMessage but just stop before it that seems like can't found the object to run this scripts. But if this will happen, is it means that this function is can't working for track the Object?
Scripts:
-------------
function Waiting_Convert()
{
btn = Sys.Process("iexplore", 2).Page("http://192.168.93.124:8082/subPartnerInvoiceConversion.do?does=convert*").Form("subPartnerInvoiceConversionForm").Table(0).Cell(0, 0).Table(0).Cell(0, 0).TextNode(0);
while(! btn.Enabled)
aqUtils.Delay(1000); // 1 sec delay
Log.Message("Delay 1 Round!")
}
I had attached with the error results print screen.
Scripts:
-------------
function Waiting_Convert()
{
btn = Sys.Process("iexplore", 2).Page("http://192.168.93.124:8082/subPartnerInvoiceConversion.do?does=convert*").Form("subPartnerInvoiceConversionForm").Table(0).Cell(0, 0).Table(0).Cell(0, 0).TextNode(0);
while(! btn.Enabled)
aqUtils.Delay(1000); // 1 sec delay
Log.Message("Delay 1 Round!")
}
I had attached with the error results print screen.
Related Content
- 3 years ago
- 11 years ago
Recent Discussions
- 11 hours ago