cancel
Showing results for 
Search instead for 
Did you mean: 

DropDown object don't have ClickItem method.

SOLVED
Occasional Contributor

Re: DropDown object don't have ClickItem method.

I added wndClass as you suggested, but nothing changed. Here you have the screen how my msaa list looks like.

Best regards Smiley Happy 

Community Hero

Re: DropDown object don't have ClickItem method.

Hi,

 

> dropdown is standard dynamic pb dropdown

This confirms my guess about data-bound control. Smiley Happy

 

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.)

 

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

Re: DropDown object don't have ClickItem method.

Here you have the screens: 

Community Hero

Re: DropDown object don't have ClickItem method.

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... ?

 

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

Re: DropDown object don't have ClickItem method.

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.

Community Hero

Re: DropDown object don't have ClickItem method.

Hi,
 
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).

 

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

Re: DropDown object don't have ClickItem method.

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

Community Hero

Re: DropDown object don't have ClickItem method.

Hi,

 

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.

 

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/
================================
New Here?
Join us and watch the welcome video:
Join the September Hub-bub to show off, learn and win