Search found 10 matches
- Thu Aug 17, 2017 11:04 pm
- Forum: How To …
- Topic: Stop running module on condition
- Replies: 15
- Views: 7163
Re: Stop running module on condition
However, since Ranorex 7.1, it's possible to run a testcase/smartfolder, based of a condition defined in a properties of given testcase/smartfolder! So there is no need to do it from code (in most cases) anymore! So I would suggest you to investigate this way... https://www.ranorex.com/blog/how-to-...
- Thu Aug 10, 2017 11:39 pm
- Forum: How To …
- Topic: Stop running module on condition
- Replies: 15
- Views: 7163
Re: Stop running module on condition
@odklizec regarding this: If you want to check something before execution of a module, I would personally do it via a separate code module, placed before the module in question. Then based of the condition in code module, disable the following module so it does not get executed at all. how do you do...
- Mon May 22, 2017 7:11 pm
- Forum: How To …
- Topic: dynamic data connector filename at runtime
- Replies: 9
- Views: 3070
Re: dynamic data connector filename at runtime
Ok so first of all as someone who enjoys making all things bend to his will, this is a bad idea. The Ranorex API especially the less documented portions change fairly regularly as new and more robust features are added. The maintenance on your framework will eventually impede your ability to get wo...
- Fri May 19, 2017 10:06 pm
- Forum: Object Identification and Technologies
- Topic: element may exist, if it does use it
- Replies: 2
- Views: 1824
Re: element may exist, if it does use it
Oh the joy of "Off by one" errors.
I was filtering on the wrong UI element
Now that I'm doing that correctly it's all working
(now to tackle that in some frames there are two tables separated by a 3 branch element tree, but the user needs to access both equally...)
I was filtering on the wrong UI element
Now that I'm doing that correctly it's all working
(now to tackle that in some frames there are two tables separated by a 3 branch element tree, but the user needs to access both equally...)
- Fri May 19, 2017 9:06 pm
- Forum: Object Identification and Technologies
- Topic: element may exist, if it does use it
- Replies: 2
- Views: 1824
element may exist, if it does use it
I'm sure there's an answer to this somewhere, but after searching for an hour I haven't found it (and feel like I'm running in circles). In a nutshell I have a ranoreXpath that *may* have an element in it (it also may not). If the element is in the path && matches a particular criteria then I want t...
- Thu May 18, 2017 10:06 pm
- Forum: How To …
- Topic: dynamic data connector filename at runtime
- Replies: 9
- Views: 3070
Re: dynamic data connector filename at runtime
It's a keyword driven overlay. We have a large staff of competent (but non programmer) people that write specs for new features and/or fixes for existing features. We want to give them a way to (basically) write a batch file that will be interpreted by Ranorex and executed. The end goal is empowerin...
- Wed May 17, 2017 12:39 am
- Forum: Automation Tools
- Topic: Using references in repository for common UI elements
- Replies: 3
- Views: 1851
Re: Using references in repository for common UI elements
I tried that, and while it (mostly) worked it imposed quite a long delay as the engine searched the UI tree.
Our workspace is constantly tearing down and bringing up new UI elements, so the ability of the repository to cache the ranoreXpath is constrained.
Our workspace is constantly tearing down and bringing up new UI elements, so the ability of the repository to cache the ranoreXpath is constrained.
- Mon May 15, 2017 10:09 pm
- Forum: How To …
- Topic: dynamic data connector filename at runtime
- Replies: 9
- Views: 3070
Re: dynamic data connector filename at runtime
We are making a macro language that can be scripted and passed in as a data connector and we simply parse the line coming in and call our automation methods for testing. This lets Ranorex deal with filehandles, looping, and all that for us. It's purpose is to allow our support analysts to make scrip...
- Mon May 15, 2017 9:48 pm
- Forum: Automation Tools
- Topic: Using references in repository for common UI elements
- Replies: 3
- Views: 1851
Using references in repository for common UI elements
Hi, I was curious if it's possible to use references in the element repository. E.g. I have several different form elements in a UI that all have a scrollbar. My repository looks like: rootedFolderCommon.rootedFolderFoo.scrollbar.elements rootedFolderCommon.rootedFolderBar.scrollbar.elements where e...
- Thu May 11, 2017 11:50 pm
- Forum: How To …
- Topic: dynamic data connector filename at runtime
- Replies: 9
- Views: 3070
dynamic data connector filename at runtime
Hi, I'm on version 6.2.1. Trying to figure out a method to dynamically assign the filename for the data connector sourcefile (a csv file) as a command line argument. The closest I found was a post from 2011 that doesn't actually appear to work now, though that could just be my not following correctl...