Ask a Question

Unable to select object

SOLVED
maumrm
Contributor

Unable to select object

I am trying to find an object that is a plus ("+") symbol on a web application to properly map it. However, the object spy does not find just the "+" symbol, it pulls a whole panel which also includes the text "Add New Floor". I am not finding a way to drill down to that "+" symbol. Attached are images of from the Object Browser. Any tips on how to map to such an object?

 

Thanks!

8 REPLIES 8
Marsha_R
Champion Level 3

Could you switch to the Advanced Properties and post that screenshot please?

prajakta
Occasional Contributor

Its working.

Thank you

Here is the advanced properties. 

 

Thanks for looking!

Marsha_R
Champion Level 3

See the ... buttons to the right of Parent and some of the other items?  You can click those and drill down.  Check those and see if you find your arrow button.

tristaanogre
Esteemed Contributor

Panel22 is a "row" type object, probably part of a larger table.  My guess is that the "+" symbol is some sort of control embedded in the row object, possibly not able to be mapped as it might be owner-drawn or some such thing.

It might be useful to see the Object Browser tree around that Panel22 object as well, see what shows up in the list of child objects.


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

Hi tristaanogre -

Here is the tree. I am not finding the "+" symbol anywhere I look. 

 

Thanks for you input.

tristaanogre
Esteemed Contributor

OK, then it's as I suspected.  The "+" is some sort of graphical object or icon that is not something that is "mappable".  You'll need to investigate further to find it and access it a different way.

Note that there is a property called "children" on that panel.  That will include any child objects, even ones that are not mappable.  I'd start there, looking for whether or not you can get to it.

Alternative solution: Keep in mind that your job as an automated tester is not necessarily to test whether or not a component the developers are using functions correctly... it's whether or not, once a user interacts with the component, that the softward does what it's supposed to do.  So, is there another way of selecting the "+" functionality without clicking that button?  A keystroke that would work instead?  Attempt to find an alternative way around.


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

Thanks Robert - I like your proposed alternative idea. I have not figured out a way yet to make that happen, but will spend some more time trying.

cancel
Showing results for 
Search instead for 
Did you mean: