> dropdown is standard dynamic pb dropdown
This confirms my guess about data-bound control.
Well, from what I see at the x1.png screenshot, TestComplete can access list items of the dropdown itself.
Can you check and post here the relevant screenshot if TestComplete can also access the content of the qlas30.panel object ? (Drop-down table from previous screen.png screenshot.)
Thank you for the screenshots.
Well, it looks like that TestComplete cannot access table internals, can it?
This is a bit unexpected. Can you talk to developers and ask them what do they think about this and can they help with exposing table content? Maybe, something like approach described here: https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/msaa/manually.htm... ?
The thing is that it's visible in three view when I check object spy on closed dropdown list, when I open it and use object spy again on opened dropdown like on previous screenshot, it seems to be differrent object, without children.
Yes, this is what I am talking about.
I see the current situation like this:
a) TestComplete has access to the drop-down internals and can get a list of its values;
b) When you open drop-down, it creates a new window (as a direct child of application's main window) that contains a table list of drop-down values. Let's call it Table;
c) TestComplete does not have access to the Table's internals. This is strange and a bit unexpected. My guess is that this is caused by the implementation of Table is populated with data from the datasource and maybe Development can do something/provide you with some info to make Table's internals to be accessible to TestComplete;
d) Meanwhile, you may explore the functionality of the drop-down itself for one of the possible workarounds:
-- Can you just type the value in the drop-down text field to select required list element without opening the drop-down?
-- Maybe some native method exists either on the Methods pane or within the NativeMSAA property that you can call to select the value?
-- Check if ListElement has some property that you can set to make this given list element to be selected in the drop-down (maybe even without been rendered on the screen).
From what I found, MSAA can not recognize dynamic powerbuilder dropdowns properly, you have to find workaround if you would like to test those dropdowns.
Minus for testcomplete :/
Consider direct question to Support via the https://support.smartbear.com/message/?prod=TestComplete form.
There are considerable chances that they will provide you with acceptable solution.
I will appreciate it if you update this thread with the result of your communication.