cancel
Showing results for 
Search instead for 
Did you mean: 

Objects not recognized on screen

SOLVED
Occasional Contributor

Objects not recognized on screen

I have a keyword test which launches an application, logs a user in, then closes the application over and over again using an Excel spreadsheet as a data driven test.  We recently upgraded the application I'm logging into and now my script doesn't recognize the login object nor any of the other objects on the login screen (the X to close it, a system dropdown, the user id field, the password field and two buttons, a Login and Cancel.  When I execute the Map New Object functionality it only recognizes the whole login screen as the object.  I've tried to pictorially document this in the attached Word document.  I'm using the version 12.50.4142.7 x64 of TestComplete.

8 REPLIES
Community Hero

Re: Objects not recognized on screen

It looks like the application is kind of embedding another application... Like some sort of frame or something.  I'm nor sure that TC is going to be able to recognize those components.   Anyone else have ideas?


Robert Martin
[Community Expert Group]
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
Extensions available
Community Hero

Re: Objects not recognized on screen

We recently upgraded the application I'm logging into

What got changed in the upgrade?

 

You can try recording a keyword test with the same steps as your test and see if TC can read it that way.  

 

Also make sure that you don't have this section mapped twice.  

Occasional Contributor

Re: Objects not recognized on screen

Regarding what got changed in the upgrade? - I'm not a developer, I'm a QA person.  But as far as I can tell, this was a major upgrade.  We went from V15 to V18 and I'm guessing nearly everything changed.

 

Regarding re-recording the test - I've done that.  That's how I know it is only recognizing this as one object.  I cannot select the other objects as I'm recording.

 

Regarding mapping twice - I have validated this as well.  It is only mapped once and still it is not recognizing the other objects.

 

I think I'm going to have to put in a ticket with SmartBear and see if I can get on the phone with someone who can see it in action and help me.

Community Hero

Re: Objects not recognized on screen

Hi,

 

> We recently upgraded the application

What is this application? Is Native, Web, Mobile or Mobile Hybrid?

If it's all but web then was it prepared as per TestComplete requirements?

If it is web then what browser do you use to work with it? Maybe a patch from https://support.smartbear.com/downloads/testcomplete/firefox-patches/ or https://support.smartbear.com/downloads/testcomplete/chrome-patches/ is needed?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Community Hero

Re: Objects not recognized on screen


@ScottVaughn1962 wrote:

Regarding what got changed in the upgrade? - I'm not a developer, I'm a QA person.  But as far as I can tell, this was a major upgrade.  We went from V15 to V18 and I'm guessing nearly everything changed.

 


So am I... QA, testers, software validator, test engineer, etc... I don't develop the applications that I test.... howevre, as a software tester, it's my job to know what changed... it's how I know what areas to test for regression, it's how I know what to do in the way of testing new functionality, it's how I know what test cases to write and execute... 

So, I think it would be a good idea for you to go have a chat with the developers.  When you open that ticket to SmartBear, they are going to want to know the same thing... what was in version 15 that was changed so radically in version 18.  Did components change?  Did the platform that was used for developing the software change? Did the architecture change?  If so, on any of these, how?  TestComplete supports certain versions of components, platforms, etc, and different architectures require different ways of preparing the application to be able to recognize controls.  Once we know the details of the changes, we can make suggestions as to how to, potentially, get around those problems.


Robert Martin
[Community Expert Group]
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
Extensions available
Community Hero

Re: Objects not recognized on screen

What @tristaanogre said x100.  And additionally, guessing at what changed is inefficient testing.

Occasional Contributor

Re: Objects not recognized on screen

I upgrade TC to 12.60 and everything is working as expected.

Highlighted
Community Hero

Re: Objects not recognized on screen

That would make sense, especially if platform, components, etc., changed. A newer version of TestComplete would potentially include those additional support.

Robert Martin
[Community Expert Group]
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
Extensions available
2018 NEWS
Top Kudoed Authors