Forum Discussion
vadi wrote:
call aqObject.CompareProperty(picMailAddressTip.Exists,cmpEqual,"-1",True,lmError)
This was working till last week. Now im getting the error
Wrong number of arguments or invalid property assignment: 'Sys.Process(...).WinFormsObject(...).Exists'
My guess:
"picMailAddressTip" is a variable to which you're assigning a WinFormsObject... however, that WinFormsObject does not Exist at the time of execution (possibly a timing delay).
I would replace your "WinFormsObject" to "WaitWinFormsObject" to properly account for the timing delay.
Thanks guys for your prompt response.
Tried with "True" as well as WaitWinFormObjects. Then I analyzed what is the change happened in the environment before the sucessful run and this failure.
Found that Windows 10 pro Insider preview update, reverted the update and started working again.