cancel
Showing results for 
Search instead for 
Did you mean: 

How do I identify an iOS notification indicator?

Occasional Contributor

How do I identify an iOS notification indicator?

We have a Home button in our app that changes to display a small orange circle on the top right corner of it when there is a change. I thought this was just an attribute of the object that was being enabled/disabled. However, my dev says it should be in it's own hierarchy. After we both looked in TC, I don't see anything like it nested in my main Window the app runs in, where this Home button is also located. I also can't get it by itself on the object spy.

Is there a way to capture the properties and their state of an object and then compare the properties when the object is in another state? That way I could maybe figure out if this is just a property of the object?

Otherwise, any thoughts?

 

In the screen shot, you'll see the Button is what I'm focused on. The two labels and button comprise the entire control. When there is a change, I'm not noticing what attribute has changed to enable that orange indicator, and I'm not seeing any additional objects display in my object browser.


Thanks in advance.

6 REPLIES 6
Highlighted
Community Hero

Re: How do I identify an iOS notification indicator?

See how some of the items listed in Properties have a box to the right with ...  in it?  Those are drill-downs that you can open up with a click.  You may find your indicator's properties buried in one of those.  

Highlighted
Community Hero

Re: How do I identify an iOS notification indicator?

Hi,

 

> Is there a way to capture the properties and their state of an object

aqObject.GetProperties() might help...

https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqobject/getproperties.htm...

 

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/
================================
Highlighted
Occasional Contributor

Re: How do I identify an iOS notification indicator?

Thanks. I thought that the search function searched within those. I will open them up and see what I can find. My dev swears that the notification indicator is it's own control, and he might be right, but I'm going to keep looking. It is possible that TC is not identifying it.

Highlighted
Community Hero

Re: How do I identify an iOS notification indicator?

> It is possible that TC is not identifying it.

Sure, this is quite possible.

Here is the list of supported controls: https://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/ios.htm...

Talk to your developer and check if the control that he is using is supported.

 

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/
================================
Highlighted
Occasional Contributor

Re: How do I identify an iOS notification indicator?

Thanks. I did see this. He tells me it's not a control, but rather a "View". I didn't see a list of supported Views. Any idea if there is a list of them? From a few searches, I didn't see anything defined like the supported controls page.

Highlighted
Community Hero

Re: How do I identify an iOS notification indicator?

Hi,

 

I tried to search for documentation and found some, e.g. https://developer.apple.com/library/archive/documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/Cr... and https://developer.apple.com/documentation/uikit/uiview.

But I am not sure if this is relevant documentation and if the View is a UI control or just a class.

You may try to add the class that your developer uses to the Object Mapping of your project (as described in the referenced help article) and check if it makes TestComplete to recognize it. Otherwise I think it is reasonable to ask Support directly via the https://support.smartbear.com/message/?prod=TestComplete form.

 

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/
================================