cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to retrieve selected DropDown value

Contributor

Not able to retrieve selected DropDown value

Hi,

In my windows desktop application, I have many drop downs. TestComplete identifies them as Object Type 'DropDown'. Hence I am not abe to use any methods or properties like wText, Text, SelectedItem, ClickItem,... This Object does not return any methods or properties.

From Project > Object Mapping, I tried to add a New Class by selecting this Object from screen, but it cannot be done as it does not belong to ListBox or ComboBox or ListView.

I've looked at previous threads and help files and have tried all those suggestions, but am not able to get it done.

Any suggestions or help will be much appreciated.

These are some settings screens in my application, so the dropdown values are previously selected. When I go to that screen, I just need to read whatever value has been set in that particular drop down field, so as to validate that the rigt value has been set. This is a Power Builder application and I am creating Keyword Tests and scripts using VBScript.

Thanks

Deepa

4 REPLIES 4
Community Hero

Re: Not able to retrieve selected DropDown value

Has all the application prep been done properly?

 

https://support.smartbear.com/viewarticle/70892/

 

It sounds like a little prep work is required to make PB applications and TC play nice together ...

Contributor

Re: Not able to retrieve selected DropDown value

Thanks for your suggestion!

I have done the part of configuring TestComplete Project by adding pbdw* to the MSAA's list of accepted windows.

I will have to try and see if configuring PB Application makes a difference. Going to talk to development about it.

 

Deepa.

 

 

Occasional Visitor

Re: Not able to retrieve selected DropDown value

Hi  Deepa,

 

Did the issue you posted here got resolved ? We face similar issue when we try to get values from drop-down in one of the powerbuilder applications we are trying to automate using Test Complete.

Any information on this would be really helpful.

 

 

Thanks and Regards,

Raghu Bakthan

Occasional Contributor

Re: Not able to retrieve selected DropDown value

Hey, have you solved the issue? We are facing similiar issue... :/ 

New Here?
Join us and watch the welcome video:
Join the September Hub-bub to show off, learn and win