navigation with Keys()
I need to navigate backwards, in desktop this is comboBox.Keys("![Tab]")
I see it navigates to it. But I'm unable to click it or work on it:
AttributeError: 'NoneType' object has no attribute 'Click'
How can I make this object active?, it is missing name, So I need to navigate with Keys() or Click()
Solved! Go to Solution.
Can you share more of your code so we can see the context?
[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
It chooses a combobox, but since the fist focuspoint is missing a name, I need to press ![Tab][Enter], I see it marks the correct element, but when it presses enter, it gives dropdown of the 2nd line.
app = Aliases.ConfigurationApplication.HwndSource_MainWindow ComboBox = app.MainWindow.TabControl2.TabControlConfig.ItemsControl.ComboboxOperatorCardReader ComboBox = ComboBox.Keys("![Tab][Enter]") ComboBox.Click()
I do not get any errors in TC, but Accessibility Insight gives this complain:
Considering that we are in the Desktop section of Community, what IDE/language is your tested application created with?
And could you please describe the problem with more details as I am not sure that I understand what do you expect to get and what actually test script ends with?
> Accessibility Insight gives this complain
I think this is absolutely irrelevant to TestComplete.
P.S. Is combobox recognized by TestComplete? Can you see the content of combobox (list of items) in the Object Browser?
/Alex [Community Hero]
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
TC do not tell anything. the portion over was written in TC using python. The issue is that I navigate correctly to the correct combobox, but if I click it or press enter, the actions comes on the below combobox.
>> Accessibility Insight gives this complain
>I think this is absolutely irrelevant to TestComplete.
I just tells that the combobox has an inaccessible element due to missing names. I will ask the developer to add a name to the focus point. This will fix it.