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.
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.
> Is there a way to capture the properties and their state of an object
aqObject.GetProperties() might help...
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.
> 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.
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.
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.