cancel
Showing results for 
Search instead for 
Did you mean: 

test complete unable to recognize properties of a new tab

SOLVED
Highlighted
Occasional Contributor

test complete unable to recognize properties of a new tab

Hi,

 

I have a scenario in  my testing where clicking on a button opens up a new tab in the existing browser. While rcording the actions on the new tab, it automatically maps the objects of the new tab to that of the existing tab. So, running the test fails. 

 

I updated the object mapping for Tab Control to include the WndClass(Chrome_WidgetWin_1) as shown in the object browser, but that didnt help either. When I tried mapping the object(new tab) mannually, it just highlight the objects of the first tab. Although the window captions of both the tabs are different( one has window caption as MACHOPLIST-Google Chrome and another has MainMenu-Google Chrome

 

here is what test complete does when I try to view object properties of the second tab; I have to click OK object on the second tab but test comlplete automatically clicks on the first tab.The highlihted object in the figure is that of the first tab.

 

 

Capture.PNG

 

Capture1.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: test complete unable to recognize properties of a new tab

Hi,

 

Downgrading Chrome isn’t a simple task. It’s already discussed many times here. You can search for the discussions. I would recommend that you update to TestComplete 10.6. Only the latest product versions support newest browsers.

---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

9 REPLIES 9
Community Manager

Re: test complete unable to recognize properties of a new tab

Hi,

 

Can you check if a patch for your Chrome version is installed in TestComplete? You can find it here:

http://support.smartbear.com/downloads/testcomplete/chrome-patches/

 

If this doesn’t help, please contact our Support Team to investigate this: http://support.smartbear.com/product-list/

 

---------
Tanya Gorbunova
SmartBear Community Manager

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

Re: test complete unable to recognize properties of a new tab

I believe this was fixed in TC Version 10.60.

 

"

Web Testing

  • Fixed: If several tabs were open in Chrome, the Object Spy incorrectly highlighted elements on tabs other than the first one."

''-Praise the sun and Give Kudos.''
Highlighted
Occasional Contributor

Re: test complete unable to recognize properties of a new tab

Hi Tanya,

 

Thanks.

 

The test complete version I have is 10.50 and chrome version is 41. But I didnt see anything for Chrome v.41 in the link attached. I can try downgrading the existing chrome version to that of 40 but I am concerned about the existing tests that I created in 41 - they might not work. Please suggest.

Highlighted
Community Manager

Re: test complete unable to recognize properties of a new tab

Hi,

 

Downgrading Chrome isn’t a simple task. It’s already discussed many times here. You can search for the discussions. I would recommend that you update to TestComplete 10.6. Only the latest product versions support newest browsers.

---------
Tanya Gorbunova
SmartBear Community Manager

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

View solution in original post

Highlighted
Occasional Contributor

Re: test complete unable to recognize properties of a new tab

Hi Tanya, 

 

Updating to 10.60 resolved the issue for identifying new tab objects but the issue now is that the checkboxes are not recongnized now. It just takes the whole label in account and cant get down to the checkbox level. Is there a set up that is missing here? I have the Chrome extension installed.

checkbox.PNG

Highlighted
Community Manager

Re: test complete unable to recognize properties of a new tab

Hi,

 

I can catch checkboxes on my test page. Could you please post here the value of the outerHTML property of the highlighted object you show in the image?

---------
Tanya Gorbunova
SmartBear Community Manager

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

Re: test complete unable to recognize properties of a new tab

Hi,

outerHTML has the value as:

<label for="Ad Hoc CustomerID" class="checkLabel">Ad Hoc Customer</label>

Highlighted
Occasional Contributor

Re: test complete unable to recognize properties of a new tab

TestComplete 10.6 still unable to recognize my web objects ,specifically on recognizing objects within in many levels of shadow Dom
Highlighted
Community Hero

Re: test complete unable to recognize properties of a new tab

@AlanZhang 

You've already posted this question to a different thread where I've provided feedback already.  Please note that, prior to your comment, the last comment on this particular topic is over 4 years ago.

Preferrably, if you have a problem, you might want to start a new topic or reply to something more recent rather than resurrect an inactive topic like this.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors