Search found 14 matches

by Samuel
Thu Dec 19, 2013 3:11 pm
Forum: Automation API
Topic: CreateAdapters for ListItem
Replies: 4
Views: 5052

Re: CreateAdapters for ListItem

@vadim: Thank you :!: I encountered the exact same problem and was able to solve it with vadims workaround. Accessing ComboBoxes is indeed a bit tricky. It seems the list items that are inside the combobox can not be found by Ranorex Spy unless the ComboBox has been dropped down at least once (after...
by Samuel
Thu Dec 19, 2013 2:13 pm
Forum: Automation Tools
Topic: How to access multiple Excel files from UserCode Module
Replies: 5
Views: 6380

Re: How to access multiple Excel files from UserCode Module

I´ve now also tried to use the code inside the user code of a recorded module, but unfortunately got the same problem. However I finally managed to get the ExcelDataConnector working. So if anyone else is searching for another example of how to access any kind of excel file from within user code her...
by Samuel
Tue Dec 17, 2013 5:48 pm
Forum: Automation Tools
Topic: How to access multiple Excel files from UserCode Module
Replies: 5
Views: 6380

Re: How to access multiple Excel files from UserCode Module

Thank you for your answer. When I try to do this, then MyDataCache.Load(); throws an exception because the object reference is not set on a object instance (MyDataCache is null after using the get method). It seems the data source that could be accessed like this has to be set for the TestCase in wh...
by Samuel
Tue Dec 17, 2013 3:15 pm
Forum: General Questions
Topic: PopupWatcher usage and reusability
Replies: 2
Views: 1869

Re: PopupWatcher usage and reusability

Sorry for my slow reply. I kind of gave up on the popup watcher for now, because I encountered the additional problem, that even if I have a watcher that works while the Module is executed by its own, it fails once the module is used in a test case (even if the watcher is defined in the UserCode Ini...
by Samuel
Tue Dec 17, 2013 1:42 pm
Forum: Automation Tools
Topic: How to access multiple Excel files from UserCode Module
Replies: 5
Views: 6380

How to access multiple Excel files from UserCode Module

I know a lot has already been written about accessing Excel files, but I´ve been trying and reading the whole day until now and still can´t seem to get it right. What I´m trying to do is access data that I´ve specified inside Excel (xlsx) files from inside a user code module (I´m running Ranorex 4.1...
by Samuel
Fri Dec 06, 2013 10:53 am
Forum: Automation Tools
Topic: Suppress warnings for variable binding
Replies: 10
Views: 4728

Re: Suppress warnings for variable binding

It´s good, that those warnings can be disabled, however I want to note, that there´s still room for impovement. For example: I have User Code modules that use multiple variables. Inside those modules the bound variables are used to define certain behaviours of the module itself. Usually some variabl...
by Samuel
Thu Dec 05, 2013 5:07 pm
Forum: General Questions
Topic: PopupWatcher usage and reusability
Replies: 2
Views: 1869

PopupWatcher usage and reusability

Ad described here it´s possible since Ranorex Version 4 to use the PopupWatcher Class for handling unexpected Popups. However, the example only explains a few basics that might be enough for coders that are more skilled then I am. I couldn´t get it working right, so here are a few questions. 1) Once...
by Samuel
Thu Dec 05, 2013 9:49 am
Forum: Automation Discussions
Topic: How to expose properties of WPF UI-Elements programatically
Replies: 1
Views: 6024

How to expose properties of WPF UI-Elements programatically

Hi all, I would like to get a better understanding on how difficult it is for a programmer to expose properties of WPF UI-Elements which are not exposed by default. This can happen with custom controls that aren´t just derived from common controls, but have unique properties built into them. I notic...
by Samuel
Thu Dec 05, 2013 9:14 am
Forum: Bug Reports
Topic: Merge Items To New User Code Item destroys code
Replies: 2
Views: 1807

Re: Merge Items To New User Code Item destroys code

After deleting the comments everything indeed works again as expected.
Thank you verry much for providing a solution!
by Samuel
Tue Dec 03, 2013 4:50 pm
Forum: Bug Reports
Topic: Merge Items To New User Code Item destroys code
Replies: 2
Views: 1807

Merge Items To New User Code Item destroys code

I have a problem when trying to merge items to a new user code module. Nothing gets added to the UserCode.cs, and the test cases that should be merged get partially deleted inside the auto generated .cs file leading to a code that is unable to compile. In order to show how the code exactly looks lik...
by Samuel
Thu Nov 21, 2013 8:40 am
Forum: Object Identification and Technologies
Topic: White or black application window when using Spy
Replies: 2
Views: 1870

Re: White or black application window when using Spy

I was hoping this particular problem was WPF related and already known, in order to pinpoint what criteria have to be met to avoid it. In case I want to run tests in parallel on different VMs it would be bad if all screenshots inside the report are like this, or if image based tests fail. Anyways, I...
by Samuel
Tue Nov 19, 2013 4:17 pm
Forum: General Questions
Topic: Test -recording or -execution by customer for bug tracking
Replies: 2
Views: 1711

Re: Test -recording or -execution by customer for bug tracking

Thank you for your reply. PSR is indeed a neat and easy to use tool especially for minor bugs or problems related to operating errors. Being able to get insight into all the exposed properties of an application however, would have been a great benefit for the realy difficult problems and those hard ...
by Samuel
Tue Nov 19, 2013 3:16 pm
Forum: Object Identification and Technologies
Topic: White or black application window when using Spy
Replies: 2
Views: 1870

White or black application window when using Spy

I have the strange problem that all controls inside the application window diappear when I try to locate them using Ranorex Spy (the same happens with Spy++ .. the only difference is that with Spy++ the background seems to always become white while with Ranorex Spy it sometimes becomes black :shock:...
by Samuel
Tue Nov 12, 2013 11:42 am
Forum: General Questions
Topic: Test -recording or -execution by customer for bug tracking
Replies: 2
Views: 1711

Test -recording or -execution by customer for bug tracking

Hello, I was wondering, if there are possibilities to embed Ranorex functionality in products, in order to help the developers to analyse bugs found by customers. Something that would allow the customer to record the steps he performed and send us the recording to give us insight into what the user ...