Forum Discussion

JackalNZZ's avatar
JackalNZZ
New Contributor
5 years ago

The object "Sys" does not exist

Hi,

 

I have developed a simple keyword test that is working except for one line. It is clicking a Yes button on a window dialog rather than the No button.

So I changed the test to click the No button. I had to map the No button in the NameMapping object and save the change.

When the test is rerun I keep getting the following

 

 

If I restore the original NameMapping object without the newly mapped No button everything goes back to working.

 

Now I know the process LabWare-prePROD exists because the immediate prior message is 

because of the below script code

Set p = Sys.WaitProcess(processName)
While not p.Exists
    Call Log.Message("Waiting for " + processName + " to start", "", pmNormal, logAttributes)
    Set p = Sys.WaitProcess(processName)
Wend
Call Log.Message(processName + " exists", "", pmNormal, logAttributes)

 

What would make the Sys object not found?

 

regards