Ranorex Studio, Spy, Recorder, and Driver.
-
swmatisa
- Posts: 122
- Joined: Fri Aug 05, 2011 7:52 am
Post
by swmatisa » Fri Apr 27, 2012 11:48 am
WinXP SP3 (WindowsUpdate done)
Ranorex 3.2.3
*********************************
Hello,
I try to create an "optional action". I set Properties "Continue On Failed" to True and "
Use Logging" to False. But I see the folowing warning in the log:
Code: Select all
00:27.156 Warn User Jump to itemView Help(Optional Action) Failed to find item...
What must I do to remove this warning?
Thanks
SW
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Mon Apr 30, 2012 10:02 am
Hi,
It is unfortunately not possible to disable the whole logging mechanisms for a single action in a recording at the moment.
If the action fails you are still getting a notification.
You can create a new Test Case for this action/recording and there you can set the "Report Level" to "Error" as workaround.
Regards,
Markus
Ranorex Support Team
-
swmatisa
- Posts: 122
- Joined: Fri Aug 05, 2011 7:52 am
Post
by swmatisa » Tue May 01, 2012 9:03 am
Support Team wrote:You can create a new Test Case for this action/recording and there you can set the "Report Level" to "Error" as workaround.
Thanks for the answer, but this will multiply the number of TestCases.
It would be interesting to have "Real Optional Action", with for example a Boolean variable to "enable/disable" the action.
Best Regards
SW
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Tue May 01, 2012 11:53 am
Hi,
swmatisa wrote:It would be interesting to have "Real Optional Action", with for example a Boolean variable to "enable/disable" the action.
As Markus already said, currently there is no real option for this issue. I will add an issue to our internal TFS server. Then this feature will be discussed and maybe it is in one of the next versions.
Regards,
Peter
Ranorex Team
-
swmatisa
- Posts: 122
- Joined: Fri Aug 05, 2011 7:52 am
Post
by swmatisa » Wed May 02, 2012 6:52 am
swmatisa wrote:As Markus already said, currently there is no real option for this issue. I will add an issue to our internal TFS server. Then this feature will be discussed and maybe it is in one of the next versions.
OK. I hope we are not alone, because it will be very useful for us.
Thanks
SW
-
carsonw
- Posts: 178
- Joined: Tue Nov 08, 2011 10:01 pm
Post
by carsonw » Mon May 14, 2012 8:42 pm
swmatisa wrote:OK. I hope we are not alone, because it will be very useful for us.
You're not - we asked for the same thing in the API forum (I think you just asked for it a more effective way).
Carson.
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Wed May 16, 2012 4:01 pm
Hi guys,
This feature will be available in one of the next Ranorex versions.
Regards,
Peter
Ranorex Team
-
SanMan
- Posts: 210
- Joined: Tue Apr 13, 2010 9:59 am
Post
by SanMan » Tue Nov 05, 2013 7:51 am
2013/11/05 08:26:50.022 INFO Validation (Optional Action)
Validating AttributeEqual (Checked='False') on item
So there is no way I can get rid of these (optional Action) is my test report?
Validate.EnableReport = false; does not work
Pete
WorkAround: set Report.Log(ReportLevel.Info, "Validation"...) to Report.Log(ReportLevel.Info, "User"...)
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Thu Nov 07, 2013 1:23 pm
Hi,
SanMan wrote:So there is no way I can get rid of these (optional Action) is my test report?
Currently it is not possible to get rid of the optional action warning if you enable the seeting on a actions inside the action grid, expect you convert the action to user code and you add a try catch to your code with a report action inside the catch clause. But we have already scheduled a feature to give the user more choice of this action. It will be in one of the next Ranorex versions but I cannot tell you when this feature will be available.
Sample:
try
{
your actions.......
}
catch(Exception ex) { Report.Info("(Optional Action) " + ex.Message); }
Regards,
Peter
Ranorex Team
-
tgagel
- Posts: 33
- Joined: Tue Jun 04, 2013 7:50 pm
Post
by tgagel » Thu Feb 20, 2014 7:58 pm
Hello,
Are there any updates on when this feature will be available?
Thanks.
Todd
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Fri Feb 21, 2014 4:55 pm
Hello Todd,
Yes there is an update for this feature. It will be available in the Ranorex 5.0
Regards,
Markus (S)
-
agrimm
- Posts: 5
- Joined: Wed Jul 24, 2013 1:51 pm
- Location: Germany
Post
by agrimm » Thu Jul 17, 2014 2:49 pm
Hi,
is there an update avaliable in one of the 5.x Versions now, where you can disable the warning?
Thank you
-
Support Team
- Site Admin

- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Wed Jul 23, 2014 1:40 pm
Hi agrimm,
Yes this is possible in 5.0.
If the setting "Use Logging" set to false in the recorder action properties dialog no warning message will be shown in the report if "Continue on fail" is active.
Regards,
Bernhard
-
agrimm
- Posts: 5
- Joined: Wed Jul 24, 2013 1:51 pm
- Location: Germany
Post
by agrimm » Wed Jul 23, 2014 2:37 pm
Yep, very nice, worked perfectly.
Thank you