Ask a Question

Not able to call page object

Regular Contributor

Not able to call page object

Hi there,


I am getting "You are trying to call the "page" method or property of the following name mapping object: Name mapping item: browser" when I run this code


The name mapped item browser is any item that the ObjectType is Browser, this code was working perfectly before, but it started complaining just recently, what is more odd is this line of code only fail on a specific machine, I ran the exact same code on other machines, they all worked fine.



Does anyone have any idea what is wrong here?


Thanks in advance

Champion Level 3

What is the difference between the machine where the test fails and the ones where it runs?


Are the TestComplete versions different?

Are the browser versions different?

Are the app under test versions different?

Do they differ in any other updates?



Champion Level 3



As the browser object is mapped to match any browser, likewise the page object, the most probable reason for this error is that some windowless browser process exists in your system. Quite often this happens with Internet Explorer.

So I would close all browsers on the problematic machine and then check with Task Manager if any browser process remained in the memory.


  /Alex [Community Champion]
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
SmartBear Alumni (Retired)

Thank you, Community!


@whuang does the suggestions help? If not, please provide more details.

Sonya Mihaljova
Community and Education Specialist

Showing results for 
Search instead for 
Did you mean: