Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9010745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:32:42+00:00 2026-06-16T02:32:42+00:00

I am running a test script in TestComplete v8. The object graph in memory

  • 0

I am running a test script in TestComplete v8. The object graph in memory gets out of date (as a dialog has appeared).

I run the following VBScript code

Sys.Process("iexplore").RefreshMappingInfo()

And I get the following error message…

Unable to find the object RefreshMappingInfo. See Additional Information for details.

The object with the specified attributes does not exist.

Possible causes of the error

This error relates to TC interpreting the method call as an attempt to find a control.

What is really odd.. If I connect to TC8 via COM and execute the same code, it works fine.
So in ruby:

require 'win32ole'
tc = WIN32OLE.connect("TestComplete.TestCompleteApplication.8")
integration = tc.integration
Sys = integration.GetObjectByName("Sys")
puts Sys.Process("iexplore").Page("http://localhost:50563/x.aspx") _
  .Form("form1").Panel("silverlightControlHost").Object(0).UIAObject("Popup").Exists
' This returns false

Sys.Process("iexplore").RefreshMappingInfo()
' No error raised

puts Sys.Process("iexplore").Page("http://localhost:50563/x.aspx") _
  .Form("form1").Panel("silverlightControlHost").Object(0).UIAObject("Popup").Exists
' returns true

Why doesn’t this work during a test?
How do I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:32:44+00:00Added an answer on June 16, 2026 at 2:32 am

    TestComplete has three object trees:

    1. The Sys tree which can be found in the Object Browser panel and
      contains all application objects.
    2. The NameMapping tree which contains all the mapping names.
    3. The Aliases tree which is used when tests are recorded and which
      can be flexibly modified by a tester.

    Objects in the Aliases tree reference objects in the NameMapping tree and objects in the later are referencing objects in the Sys tree. The RefreshMappingInfo method is used to refresh these references stored in objects of the NameMapping tree to objects in the Sys tree. So, the method exists only for objects from the NameMapping and Aliases trees.

    In your code, you work with an object in the Sys tree: Sys.Process(“iexplore”). You get an error since objects from the Sys tree does not have the RefreshMappingInfo method. You need either call the Refresh method or try working with an object from the NameMapping or Aliases tree. For example:

    • Sys.Process(“iexplore”).Refresh()
    • Aliases.IExplore.RefreshMappingInfo()
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running following test bash script: test.sh ======== pass=$1 if [ $pass -eq
I'm running the following test Java script from the Android HttpURLConnection docs : URL
I need to test a perl script in a remote server. I tried running
When running mvn test maven won't run all Test Classes. When I explicitly provide
When running py.test using a plugin that loads xmlrpclib the test run fails with:
We get the following error when running at test: ContextSwitchDeadlock was detected Message: The
I have a Test::More test script for a module we have made. When running
I'm running a Powershell test script from a C# application. The script can fail
My entropy value is around 130-180 while a test script is running and 150-180
I am running Selenium Server. I'm also launching an automated test script that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.