Search found 17 matches

by jack_r_daniels
Thu Apr 15, 2010 6:16 pm
Forum: General Questions
Topic: Infragistics UltraDayView control
Replies: 3
Views: 3777

Re: Infragistics UltraDayView control

Thanks for your response Peter... I see what you mean now. If I place focus on the appointment in the grid, then do the instant tracking in the Spy it works. Oddly enough the manual tracking still doesn't see it, only the instant tracking. And even though the instant tracking sees it, the Detail > L...
by jack_r_daniels
Wed Apr 14, 2010 10:14 pm
Forum: General Questions
Topic: Infragistics UltraDayView control
Replies: 3
Views: 3777

Infragistics UltraDayView control

Hi Support and all... The application I'm trying to test uses Infragistics controls. One of the controls is an Infragistics UltraDayView control I'm wondering if anyone has had experience automating such a control, and if there are any known limitations. The spy recognizes the entire control as a Ta...
by jack_r_daniels
Tue Apr 06, 2010 3:29 pm
Forum: How To …
Topic: How to check if a control exists without an exception thrown
Replies: 4
Views: 17654

Re: How to check if a control exists without an exception thrown

Thanks Marianne... I opted to go with your suggestion. I initially tried that approach but it kept failing. To share a lesson learned, here are some details... to call the Host.Local.TryFindSingle you have to pass an RxPath. I don;t want to hard code the path in call. so, I initially used repo.objec...
by jack_r_daniels
Mon Apr 05, 2010 11:04 pm
Forum: How To …
Topic: How to check if a control exists without an exception thrown
Replies: 4
Views: 17654

How to check if a control exists without an exception thrown

Hi all...

I have a UI control that might exist or might not... if it does exist, I want to be able to click it. And if it does not exist, I want to be able to click on a different control.

How can I check if the control exists or not without an exception being thrown? Thanks.

Jack.
by jack_r_daniels
Wed Mar 17, 2010 3:06 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

OK... Understood. I have one more piece of feedback about automating Infragistics combobox controls... When I use the Recorder to record clicking the open button of the infragistics combobox and then selecting an item in the list, the recorded actions are partially wrong. In other words, the recorde...
by jack_r_daniels
Tue Mar 16, 2010 11:08 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

Thank you for your response Alex. That workaround did the trick... I'll be sure to use this approach from now on, and share it with the rest of the team. Just wondering though; any reason why the call to set the dropdownvisible attribute fails, and throws the below exception? is that also a limitati...
by jack_r_daniels
Mon Mar 15, 2010 8:47 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

It would appear that the problem is limited to Infragistics controls... we have some regular windows combobox controls in our app and some that are infragistics. Those that are not infragistics comboboxes work just fine. Only infragistics controls fail. Maybe I should be posting this on the Bug Repo...
by jack_r_daniels
Mon Mar 15, 2010 5:23 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

Cieg / Support... Below are the coordinates for the combobox, the open button and the list item... as you said, it is returning 0,0 I wonder if this is a bug, and what feedback Ranorex Support has... Thanks. HDComboBox Screen Location: {X=539,Y=289} HDComboBox location: {X=0,Y=0} HDComboOpenButton S...
by jack_r_daniels
Mon Mar 15, 2010 3:46 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

Hi Ciege I'm on Ranorex version 2.2.2.7850 and as you said it is clicking on 0,0 (top left) of the window. Perhaps the bug you are refering to is back. I wonder if you'd have some time to try this latest ranorex build against your app to see if ranorex will also try to click on 0,0 I'll also try to ...
by jack_r_daniels
Fri Mar 12, 2010 10:43 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Re: Selecting an item in a ComboBox control

Hi ciege Thanks for posting that function... I had already tried the approach you are using, and it didn't work for me... Clicking the Open button of the combobox works, but then clicking on the drop down list item fails... no error is thrown, but a random location on the screen seems to be clicked....
by jack_r_daniels
Fri Mar 12, 2010 4:55 pm
Forum: General Questions
Topic: Selecting an item in a ComboBox control
Replies: 12
Views: 10225

Selecting an item in a ComboBox control

Hi all... We are using Infragistics controls, and I'm trying to select an item from a ComboBox control using the item text. According to the samples provided with Ranorex, we should be able to set the DropDownVisible attribute to true for the control, and then use the SelectedItemText attribute to s...
by jack_r_daniels
Wed Feb 24, 2010 6:45 pm
Forum: General Questions
Topic: Dynamically determining position of column in a grid
Replies: 6
Views: 3941

Re: Dynamically determining position of column in a grid

That worked perfectly! What other hidden features are there?
Sorry for not sounding grateful (I am certainly grateful) but I wish this was better documented...

Jack
by jack_r_daniels
Wed Feb 24, 2010 6:36 pm
Forum: General Questions
Topic: Dynamically determining position of column in a grid
Replies: 6
Views: 3941

Re: Dynamically determining position of column in a grid

Thanks for getting back to me about this... my first attempt was to use the Cell.ColumnIndex property, however it was always returning 0. So, I used the Cell.Element.ChildINdex but because the first item there is the ColumnHeader I had to adjust the return value by subtracting 1. Thanks for letting ...
by jack_r_daniels
Tue Feb 16, 2010 9:35 pm
Forum: General Questions
Topic: Can we subscribe to events fired by application under test?
Replies: 3
Views: 2067

Re: Can we subscribe to events fired by application under test?

Hi Ciege Let's say that I take your suggested approach of waiting for some text somewhere to change... If there is a "working" text somewhere in the AUT have Ranorex wait until that text is gone. How do i got about doing that? Do I check the status in a loop with a small delay period? Or, is there s...
by jack_r_daniels
Tue Feb 16, 2010 8:30 pm
Forum: General Questions
Topic: Can we subscribe to events fired by application under test?
Replies: 3
Views: 2067

Can we subscribe to events fired by application under test?

I'm wondering if there is a way for Ranorex to subscribe and react to events being fired by the application under test (without interfering with the normal functions of the app). For example, let's say I want to click on a button that will refresh a grid/table, or I want to open a form. I don't want...