| || |
I am getting error with HasFocus ():-
*** Error: Internal error in agent - Child not found
I am doing this:-
[ ] BOOLEAN cEnabled = ContainerRoutingInformation.PlacePortOfDischarge.H asFocus ()
[+] if (cEnabled == False)
Print ("Test Case Fail !")
[+] // else
Print ("Test Case Pass !")
Some time it return false, but most of the time return error
It could be failing as the object is not rendered prior to the call being made. Maybe add a timing component or do an Exists() call prior to making the call to test focus.
Am assuming your declaration is stable.