Search found 11 matches

by iskrenpp
Tue Mar 11, 2014 9:29 pm
Forum: Automation Tools
Topic: Desperately trying to pass data from one iteration to next
Replies: 27
Views: 12860

Re: Desperately trying to pass data from one iteration to next

hi, I have been in your position and here is the solution that works for me in many different cases: I simply store the value that I need to reuse in a global parameter during run time and re-use when /where needed. 1. Create a global parameter - it does not matter if it has value or not. In some ca...
by iskrenpp
Fri Nov 22, 2013 5:54 am
Forum: Automation Discussions
Topic: Best practices
Replies: 3
Views: 3365

Re: Best practices

The Power of PopupWatcher class. I want to talk about the power of popup watcher class. As most Ranorex users should know, this is a very powerful option to create and control separate threads that constantly monitor in the background for event in question. The original idea of them is to handle une...
by iskrenpp
Fri Nov 22, 2013 5:43 am
Forum: Automation Discussions
Topic: Best practices
Replies: 3
Views: 3365

Re: Best practices

HI, honestly I have not dealt yet with updating the CSV at run-time and using the updated column. When I need to store something persistently ONLY during run-time I always use global parameters as they save constants only during run time. When new test run is initiated the global parameter start aga...
by iskrenpp
Fri Nov 01, 2013 8:56 pm
Forum: Automation Discussions
Topic: Best practices
Replies: 3
Views: 3365

Best practices

All, I have been using Ranorex for the past year and would like to share some of my best practices that resulted from that: - always use CSV files for data sources - reason: they provide flexibility in terms of getting updates outside of your project by someone that does not even have access to the ...
by iskrenpp
Thu Oct 17, 2013 4:44 am
Forum: How To …
Topic: Localized
Replies: 9
Views: 6114

Re: Localized

About localization - it is a very good practice to also check if localized text goes out of button text field size and gets cut-off. The way this is done is to find the pairs of attributes that are available for your case but the main idea is to find for example 'textHeight' and 'textWidth' and then...
by iskrenpp
Wed Oct 16, 2013 6:40 am
Forum: Mobile Testing
Topic: Creating an Emulator Device
Replies: 15
Views: 11615

Re: Creating an Emulator Device

Just had a 2-day Ranorex workshop today and the trainer explained that still Android mobile testing is not available but it will be soon - maybe few months
by iskrenpp
Wed Aug 29, 2012 9:59 pm
Forum: Automation API
Topic: Tutorial for variables in user code and repository
Replies: 8
Views: 12232

Re: Tutorial for variables in user code and repository

I think I got it. I was not aware that you can create User Code modules that are a stand alone unit. I thought that the only way user code can be written is in the user code file of a recording.

What are pros and cons of using recording module with user code in it versus a pure user code module?
by iskrenpp
Tue Aug 28, 2012 7:39 pm
Forum: Automation API
Topic: Tutorial for variables in user code and repository
Replies: 8
Views: 12232

Re: Tutorial for variables in user code and repository

I wish it was that easy. I have seen this tutorial many times but was never able to get this option appear. I have right-clicked on all possible locations within a user code module and there is no Insert module variable option that I can click. Any ideas? I still use the trial version bit I don't th...
by iskrenpp
Mon Aug 27, 2012 7:20 pm
Forum: Automation API
Topic: Tutorial for variables in user code and repository
Replies: 8
Views: 12232

Re: Tutorial for variables in user code and repository

Actually what I need to do is load a screenshot from external file location and then run a user code for each loaded screenshot. Probably it is very simple and is considered part of programming 101 but could you explain how to access an object of type Bitmap in a different user code module? My plan ...
by iskrenpp
Mon Aug 27, 2012 6:06 pm
Forum: Automation API
Topic: Tutorial for variables in user code and repository
Replies: 8
Views: 12232

Re: Tutorial for variables in user code and repository

Thank you for your guidance. I have used your pointers and have solved few of my problems.
Now I need to create a variable in user code and be able to bind it to external data source like simple data connector or spreadsheet.
by iskrenpp
Fri Aug 17, 2012 4:49 am
Forum: Automation API
Topic: Tutorial for variables in user code and repository
Replies: 8
Views: 12232

Tutorial for variables in user code and repository

Hi support team, I recently started learning Ranorex test studio and was able to achieve good results. The current problem that I cannot find enough information to overcome is how to create and use variables connected to Dataconnector Excel spreadsheet in user code which are actually part of a repo ...