cancel
Showing results for 
Search instead for 
Did you mean: 

The object "Sys" does not exist

SOLVED
Highlighted
New Contributor

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

 

JackalNZZ_0-1600728846844.png

 

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 

JackalNZZ_1-1600729165140.png

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: The object "Sys" does not exist

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/...https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-...) when you modified NameMapping.

You may also consider to create a Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
Highlighted
Community Manager

Re: The object "Sys" does not exist

Thank you for posting your question @JackalNZZ !

I can recommend taking the following learning course that is specifically designed to help deal with the object not found errors - https://academy.smartbear.com/store/727583-testcomplete-handling-the-object-not-found-errors 

 

In the meantime, let's see if the Community has ideas!

Any thoughts @Wamboo @Reshail @tristaanogre @BenoitB ?

 

 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
New Contributor

Re: The object "Sys" does not exist

Thank you for your reply. Unfortunately it does not address the question.

 

I know how to handle object missing errors, that's fairly trivial.

 

The problem is I get a Sys object missing when I map a simple button object and add it to the NameMapping object and I want to know why.

Highlighted
Community Hero

Re: The object "Sys" does not exist

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/...https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/how-...) when you modified NameMapping.

You may also consider to create a Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors