cancel
Showing results for 
Search instead for 
Did you mean: 

Object Browser seeing the same object differently on VM

Highlighted
Occasional Contributor

Object Browser seeing the same object differently on VM

hey everyone,

 

hit on a weird issue I'm scratching my head on how to solve. I have an application that I'm running tests for that is in Powerbuilder. All requisite configurations are set as far as I can tell. Using the exact same project, TestComplete version, database, etc, if I look at a panel object on my local machine in object browser it is being correctly displayed as UIAObject("dw_template"). 

 

However, if I observe the exact same panel object on my VM, it instead is seen as Window("pbdw170", "", 2).

 

This is obviously throwing off my tests, and I'm ripping my hair out trying to find what could possibly be causing this discrepancy. Any thoughts/suggestions would be most welcome.

7 REPLIES 7
Highlighted
Community Hero

Re: Object Browser seeing the same object differently on VM

You need to install TestComplete on your VM and run the test from there.

Highlighted
Occasional Contributor

Re: Object Browser seeing the same object differently on VM

.... how else do you think I'm using object browser in my VM to examine the application there?

Highlighted
Community Hero

Re: Object Browser seeing the same object differently on VM

Other users get those sort of results when they try to use TestComplete to test something across a connection to a VM.

Also, be aware that this isn't a Stack Overflow forum. Please be polite to the volunteers and the staff who are trying to help you.
Highlighted
Occasional Contributor

Re: Object Browser seeing the same object differently on VM

Testcomplete has been installed on both machines, tests were running without issue as of two weeks ago, now they've suddenly hit this mapping issue.

The closest to testing through a connection to a VM this comes is the test suite is typically run via network suite.
Highlighted
Community Hero

Re: Object Browser seeing the same object differently on VM

What version of TestComplete is running on the machine where the failure is happening and when did you last update it?

 

When did your application under test last get updated on the machine where the failure is happening?

 

Highlighted
Occasional Contributor

Re: Object Browser seeing the same object differently on VM

Initially it was run on 14.60, but when the failure occurred I pushed the update to 14.70 hoping that might resolve the issue. Updated to a new service pack right before the test run (was attempting to get a regression run prior to a new release). Tried making a fresh install of the older version that worked previously only to experience the same issue. 

 

As far as I can tell, both the TestComplete version and the application version are identical between my local machine and the VM. I'm suspecting there must be something wonky going on with the projects, but doing comparisons at this point doesn't seem to yield any obvious differences.

I think I may have to restore an older version of either the .mds or the .pjs file and try to see if I'm getting the same functionality from there, or if there's something different that just isn't being flagged as 'different' by the version control.

Highlighted
Community Hero

Re: Object Browser seeing the same object differently on VM

Hi,

 

Try to compare settings for the Project Properties | Open Applications | MSAA on the local and remote machines.

If they match I would 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
================================
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors