Search found 192 matches

by ahoisl
Thu May 14, 2020 1:19 pm
Forum: General Questions
Topic: What does the regular expression mean?.
Replies: 1
Views: 1069

Re: What does the regular expression mean?.

Are you sure you copied the RanoreXPath correctly? Usually, Ranorex only adds backslashes in regular expressions to signal a white spaces. I.e. "Ranorex Studio" will be the regex "Ranorex\ Studio". And in newer versions it also uses the StartsWith '>' operator rather than regular expressions. Regard...
by ahoisl
Tue Apr 21, 2020 4:55 pm
Forum: Bug Reports
Topic: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar
Replies: 16
Views: 5156

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

As we are all working from home now, we could not test on the system we used to test this before (via RDP could be different), but I tested on my local machine (with current updates) and the issue seems to be gone :-)

Regards,
Alex
Ranorex Team
by ahoisl
Thu Apr 16, 2020 12:57 pm
Forum: Automation Tools
Topic: Upgraded to 9.3 and not able to see context menus
Replies: 10
Views: 1471

Re: Upgraded to 9.3 and not able to see context menus

If you have the experimental OmniSharp feature disabled, Studio code completion and code editor features should work like they used to before 9.3.0. The OmniSharp feature was primarily designed to target newer C# features, but it does not have all features implemented, yet. What you mean is the smal...
by ahoisl
Tue Apr 14, 2020 8:29 am
Forum: Automation Tools
Topic: Upgraded to 9.3 and not able to see context menus
Replies: 10
Views: 1471

Re: Upgraded to 9.3 and not able to see context menus

Make sure to keep the "Use OmniSharp backend" settings disabled, please. It's an experimental feature, so turn it off only if you are ok with running into some glitches :wink:

Regards,
Alex
Ranorex Team
by ahoisl
Thu Apr 09, 2020 11:39 pm
Forum: Automation Tools
Topic: Upgraded to 9.3 and not able to see context menus
Replies: 10
Views: 1471

Re: Upgraded to 9.3 and not able to see context menus

Could it be that the experimental Roslyn/OmniSharp feature is enabled? If so, try switching it off.
Capture.PNG
Regards,
Alex
Ranorex Team
by ahoisl
Sat Mar 21, 2020 10:37 pm
Forum: Object Identification and Technologies
Topic: Help with finding folder/object in start menu.
Replies: 4
Views: 2273

Re: Help with finding folder/object in start menu.

This is most probably a security problem caused by Windows UAC. You probably need UI Access rights. You have 3 choices to get that security privilege: Run the test using the TestSuiteRunner Run the test using a command line and invoke using the Ranorex.UiaLauncher.exe Uncomment the following lines i...
by ahoisl
Tue Feb 18, 2020 8:43 am
Forum: Automation API
Topic: Thread safety
Replies: 6
Views: 2626

Re: Thread safety

@ahoisl Thanks for the information. Obviously I stay clear of UI interactions, and it wouldn't occur to me to press 2 buttons in parallel. My goal would be mostly mass validation, and dealing with long loading optional items. Even for validations, make sure to not spawn too many threads. As I wrote...
by ahoisl
Mon Feb 17, 2020 12:56 pm
Forum: Automation API
Topic: Thread safety
Replies: 6
Views: 2626

Re: Thread safety

Some things to add regarding concurrency and the Ranorex API: Make sure that all threads are using STA (Single Threaded Apartment) model. This is needed for some technologies Do not spawn too many threads interacting with UI elements at the same time. Even though the Ranorex API is thread-safe and a...
by ahoisl
Fri Feb 07, 2020 8:26 am
Forum: Bug Reports
Topic: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar
Replies: 16
Views: 5156

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

We just got an update from Microsoft: This fix is scheduled for release to Win10 1809 and 1903 builds in the 2020.03.C and D Cumulative updates ( 3rd and 4th week of March ) respectively. So it will take some time, but eventually a fix should ship with Windows updates. We still need to test those fi...
by ahoisl
Fri Jan 31, 2020 8:57 am
Forum: Object Identification and Technologies
Topic: Close button can not be foud after Windows 10 Update
Replies: 9
Views: 2589

Re: Close button can not be foud after Windows 10 Update

I think this is the same issue as reported here, you'll also find a workaround: https://www.ranorex.com/forum/viewtopic.php?f=9&t=13688&p=55850&hilit=1809#p55850 We reported this issue to Microsoft already more than a year ago. They already have implemented a fix and said that they will ship it with...
by ahoisl
Thu Oct 24, 2019 7:57 am
Forum: Bug Reports
Topic: [9.2] Rxlog data file being set to 0kb once test ends
Replies: 7
Views: 2086

Re: [9.2] Rxlog data file being set to 0kb once test ends

As our support team already explained, this should happen only if you log to the Report outside of a test suite, e.g. in the Program.cs file after this line error = TestSuiteRunner.Run(typeof(Program), Environment.CommandLine); There is a workaround by calling Report.End() at the very end of the exe...
by ahoisl
Mon Sep 02, 2019 10:11 am
Forum: General Questions
Topic: Loging performance
Replies: 4
Views: 1683

Re: Loging performance

When "Tracing screenshots" setting is set to on (foreground), screenshot is silently taken for every little debug message that is logged. Why? The screenshot is not even displayed in report. It affects performance - every log message takes about 30 - 50 ms. When screenshots are off, every log messa...
by ahoisl
Tue Aug 27, 2019 9:55 pm
Forum: Bug Reports
Topic: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar
Replies: 16
Views: 5156

Re: After updating windows 10, Ranorex Spy now fails to correctly highlight the buttons in a Windows titlebar

A similar problem when using two monitors, "Ranorex Spy" can't track window control buttons (minimize, maximize and close), because they have attribute visible = false. This is exactly the issue described in this thread, see the workaround I posted above to overcome it for now. Unfortunately, until...
by ahoisl
Fri Aug 02, 2019 10:05 am
Forum: Automation API
Topic: Code C# Sql Server
Replies: 1
Views: 2659

Re: Code C# Sql Server

The execution throws an exception, because you throw exceptions in your code - it's simple as that. Remove the exceptions and they will no longer be thrown :D return ""; throw new Ranorex.RanorexException("ConnectionString is empty"); Not sure if this is try-out code, but your throw statement will n...
by ahoisl
Fri Jul 19, 2019 9:03 am
Forum: Bug Reports
Topic: Ctrl - Tab
Replies: 6
Views: 2627

Re: Ctrl - Tab

No, I have not considered this an annoyance, yet :D Probably, because I use my mouse wheel to close tabs, i.e. by clicking the mouse wheel button on a tab header you can also close non-open tabs. Adding an 'X' to every view is more like a feature request and might not be that easy, so please file a ...