Search found 14 matches

by log
Thu Mar 17, 2016 11:49 pm
Forum: General Questions
Topic: Current Iteration is still continuing even a step is failed
Replies: 12
Views: 2905

Re: Current Iteration is still continuing even a step is failed

Hi everyone, Thanks for the replies, Pavel and Lucian. Lucian is correct and Report.Failure() and Report.Log() do not throw RanorexExceptions and therefore, do not stop execution at that line. I also use the documented behaviour of the Report.Failure() method in my projects, so I see it as a feature...
by log
Wed Mar 16, 2016 12:43 am
Forum: General Questions
Topic: Printing Line Numbers from IDE?
Replies: 4
Views: 1522

Re: Printing Line Numbers from IDE?

Hi Fergal, I don't believe it's possible yet. Ranorex Studio is based on SharpDevelop, and I think this type of functionality would be inherited from SharpDevelop. I found this same question posted on the SharpDevelop forums ( http://community.sharpdevelop.net/forums/t/11196.aspx ), and it's a known...
by log
Mon Mar 14, 2016 12:27 am
Forum: General Questions
Topic: Current Iteration is still continuing even a step is failed
Replies: 12
Views: 2905

Re: Current Iteration is still continuing even a step is failed

Hi Vivek, Have you stepped through the code with the debugger to see which path is taken when the condition in the Try block fails? I'm not sure which condition you're referring to, as there are two checks for existence, and the Exists property returns a boolean value. On the other hand, Validate.Ex...
by log
Fri Mar 11, 2016 5:57 am
Forum: General Questions
Topic: Current Iteration is still continuing even a step is failed
Replies: 12
Views: 2905

Re: Current Iteration is still continuing even a step is failed

Hi Vivek, Okay, that's fine, I'll still try to help you without seeing the Ranorex solution. In the functions/subs that you have created in VB, have you used the overload of any of the methods in the Validate class where the last argument is a Boolean and you've passed it a False value? For example,...
by log
Fri Mar 11, 2016 4:03 am
Forum: General Questions
Topic: Current Iteration is still continuing even a step is failed
Replies: 12
Views: 2905

Re: Current Iteration is still continuing even a step is failed

Hi Vivek,

Would you be able to share a copy of your Ranorex solution?

Thanks,
Gabriel
by log
Fri Mar 11, 2016 12:21 am
Forum: General Questions
Topic: Current Iteration is still continuing even a step is failed
Replies: 12
Views: 2905

Re: Current Iteration is still continuing even a step is failed

Hi Vivek, In the recording module, it sounds you have enabled Continue On Fail for the step that fails. Is the text of the action in italics and is the sequence number is surrounded in [] brackets? The effect is that the subsequent actions in the recording will proceed even if that action fails. Dis...
by log
Fri Feb 05, 2016 1:57 am
Forum: How To …
Topic: How can I use my app methods for automation?
Replies: 11
Views: 2684

Re: How can I use my app methods for automation?

Hi Ivg,

Ah yes, my mistake, resolution of overloaded methods doesn't take the return type into account. Sorry!

With regards to invoking a Java method with no parameters and a return value, I hope the Support Team can come up with something.

Thanks,
Gabriel
by log
Thu Feb 04, 2016 3:59 am
Forum: How To …
Topic: How to use FindChildren to loop through a //div
Replies: 5
Views: 4436

Re: How to use FindChildren to loop through a //div

Just in case anyone is interested, the ToArray() for System.Collections.Generic.IList<T> is a Linq extension method (https://msdn.microsoft.com/library/bb298736%28v=vs.100%29.aspx), since IList<T> is a subclass of IEnumerable<T>. So, you need to include using System.Linq; System.Collections.Generic....
by log
Thu Feb 04, 2016 3:49 am
Forum: How To …
Topic: How can I use my app methods for automation?
Replies: 11
Views: 2684

Re: How can I use my app methods for automation?

Hi Ivg, Just thought I'd comment on a couple of things here. 1. Regarding invoking a method without parameters, but WITH a return value, you can use the second overload, public object InvokeMethod(string methodName, params object[] args); The params keyword is for a variable number of arguments, inc...
by log
Fri Dec 04, 2015 12:40 am
Forum: Bug Reports
Topic: Removing arguments in Argument Editor for recording module
Replies: 1
Views: 1937

Removing arguments in Argument Editor for recording module

Hi all, We have noticed some behaviour in the Argument Editor for a recording module that we believe to be a bug. This has been replicated on two different versions of Ranorex Studio, 5.4.0.24580 and 5.4.0.24580, both of which are using .NET runtime version 4.0.30319.18408. Consider the following Us...
by log
Wed Aug 12, 2015 6:03 am
Forum: Automation Tools
Topic: Instrumentation Wizard, Flash/Flex, and Location of mm.cfg
Replies: 1
Views: 2332

Instrumentation Wizard, Flash/Flex, and Location of mm.cfg

Hi, I installed Ranorex 5.4.0.24580 for the purposes of automating a Flex application today. After running the Instrumentation Wizard for Flash/Flex applications successfully, I was still greeted with the Ranorex Technology Limitation popup for Flash/Flex when I tried to use the Ranorex Spy with app...
by log
Thu Jun 04, 2015 4:04 am
Forum: Automation Discussions
Topic: Storing TFS-IDs in testcases to use TFS API
Replies: 3
Views: 3044

Re: Storing TFS-IDs in testcases to use TFS API

Hi Benjamin, It sounds like your TFSReporter class already has the ability to post test results for a TFS TestCase work item ID (that you extract from the Ranorex test case name) to a new test run in the TFS project, so that's a great start! Have you tried using the ITestCaseResult.CreateIteration()...
by log
Wed Jun 03, 2015 4:01 am
Forum: General Questions
Topic: Ranorex IDE Shortcuts
Replies: 2
Views: 1667

Re: Ranorex IDE Shortcuts

Hi Cliving, If you're looking for a shortcut to close an open document in the IDE, try Ctrl + F4. CloseFileShortcut.png As for a list of shortcuts in the IDE, since Ranorex is based on SharpDevelop, there might be some overlap between the shortcuts supported in Ranorex Studio and the ones supported ...
by log
Wed Jun 03, 2015 2:54 am
Forum: Automation Tools
Topic: Mix of DEBUG and RELEASE in configuration - How to solve?
Replies: 11
Views: 6158

Re: Mix of DEBUG and RELEASE in configuration - How to solve?

Hi, This is just a thought, but have you checked the Build Configuration settings in Ranorex Studio? - Open the Build menu - Select 'Edit configurations/platforms' Ref: 01-RanorexStudio-EditBuildConfigurationsMenu.png - Select the desired configuration in the 'Solution configuration' combo box (in t...