Invoke of call method error occurs when I try to execute a script function.
I have a statement 3 labels whose property is provided below:
function Test()
{
Aliases.Device. TextView("text1").ControlText()
Aliases.Device. TextView("text2").ControlText()
Aliases.Device. TextView("text3").ControlText()
}
When I execute this function , some times it throw error in the first line of function , i.e Aliases.Device. TextView("text1").ControlText() and when I try to run next time , it throw error in the second line and error in the first line will be in resolved mode. Like wise in the third iteration as well The error triggered every time will be 'Invoke of call method '.and Finally in the fourth iteration all the three error will be resolved and the function will run smoothly.
So please help me to resolve this particular issue . Is there any option other than Control Text ?