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
Hi,
It might help if you post here a screenshot of your keyword test and indicate what line/operation throws the error.
I also assume that you followed the procedure (https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/add/from-gui.html, https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-to/update/wizard/settings.html) when you modified NameMapping.
You may also consider to create a Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.