Search found 4 matches

by a30008
Mon Jun 29, 2009 4:41 am
Forum: Automation API
Topic: How to get the text from inapplicable ComboBox?
Replies: 3
Views: 3013

Re: How to get the text from inapplicable ComboBox?

Hello Christian, Yes, the combobox what we are using is different from System.Windows.Forms.ComboBox. The combobox is derivate from System.Windows.Controls.ComboBox, and plus several Interfaces. using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using AcpB...
by a30008
Mon Jun 29, 2009 4:31 am
Forum: General Questions
Topic: Why I cann't convert Combobox adapter to Control adapter?
Replies: 2
Views: 2406

Why I cann't convert Combobox adapter to Control adapter?

Hello, I want to convert Combobox adapter to Control adapter using following code: Ranorex.ComboBox combobox = CPS.FindSingle<Ranorex.ComboBox>(ComboBox_xpath); Ranorex.Control Control_combobox = combobox.Element.As<Ranorex.Control>(); But when I compile, ranorex tell me that "The type or namespace ...
by a30008
Wed Jun 24, 2009 7:37 am
Forum: Automation API
Topic: How to get the text from inapplicable ComboBox?
Replies: 3
Views: 3013

How to get the text from inapplicable ComboBox?

I want to get current value(Text or SelectedItemText) of a ComboBox even if it is inapplicable(gray out),but it seems that Renorex can't get the current value(Text or SelectedItemText) of a ComboBox when it is inapplicable(gray out).Could anyone help me? BTW, the application under test is based on ....