cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing dropdowns within Powerbuilder DataWindow control.

Not applicable

Accessing dropdowns within Powerbuilder DataWindow control.

I am currently in the process of automating a legacy Powerbuilder application. I have added the "pbdw*" and "*"  window classes to the list of accepted MSAA windows, which gives me access to most of the controls in the DataWindow, but not the DropDown control or the ComboBox control.



The control is identified as DropDown or ComboBox,and has only one child ListItem. I donot see a SelectedItem value nor am able to get a list of all the child ListItems. Is there a solution  for this?



I have attached a screenshot of the Object browser window to show what I mean. 



Thanks in advance.






Syed Hasan
6 REPLIES 6
Not applicable

RE: Accessing dropdowns within Powerbuilder DataWindow control.


Hi Syed,



Maybe enabling the Tools | Options | Engines | General | Show hidden members option will help you find the target methods/properties to iterate through child items.



Is there anybody who is testing PowerBuilder apps? Have you faced a similar task? Feel free to share your solution with us.
Not applicable

RE: Accessing dropdowns within Powerbuilder DataWindow control.

I am facing same problem.DropDown or ComboBox child items are not accessible. Even I tried with enabling "Show hidden member"
Occasional Contributor

Re: RE: Accessing dropdowns within Powerbuilder DataWindow control.

Hi, I'm having exact same problem with Desktop based powerBuilder application

 

I dont have any clickitem or settext function exposed to edit value for comboboxes or dropdowns within datawindow.

 

Anybody has any solutions?

Contributor

Re: RE: Accessing dropdowns within Powerbuilder DataWindow control.

Hi, Just wondering if you ever got this issue figured out? Thanks

Community Manager

Re: RE: Accessing dropdowns within Powerbuilder DataWindow control.

Hi @russelld,

 

Very old thread....

 

I recommend that you create your own topic here and describe what you want to implement and what issues do you face. We will do our best to help you!

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: RE: Accessing dropdowns within Powerbuilder DataWindow control.

Hi russell,

 

I was able to handle ALL dropdowns and ComboBoxes through custom algorithm developed by using

Text Recognition + Pixel Mapping + Dropdown/ComboBoxes behavior adaptation.

 

It was a good 200+ lines of algorithm but ultimately i was able to succesfully automate PB 12.5+ applications with TestComplete. The only problem i faced was occasional non-detection of changes inside pbdw Dynamic data windows by TestComplete causing crashes at Testing Application end.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors