Search found 143 matches

by HansSchl
Tue Mar 26, 2024 8:36 am
Forum: General Questions
Topic: Could not load file or assembly Ranorex.Core
Replies: 1
Views: 92

[solved] Could not load file or assembly Ranorex.Core

I figured it out. Please don't laugh...
I had completely forgotten about my huge user code library. Of course I must recompile it under the latest Ranorex version. Now I can run the test in Rx Studio.
by HansSchl
Mon Mar 25, 2024 12:24 pm
Forum: General Questions
Topic: Could not load file or assembly Ranorex.Core
Replies: 1
Views: 92

Could not load file or assembly Ranorex.Core

Hi, when I'm trying to run a test in Rx Studio, the test fails within moments, and the log shows this error message: "Could not load file or assembly 'Ranorex.Core, Version=10.5.4.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The system cannot find the file specifi...
by HansSchl
Fri Apr 28, 2023 9:46 am
Forum: How To …
Topic: Invisible window not found
Replies: 4
Views: 9654

Re: Invisible window not found

Thank you for your help @Stub. After a lengthy fight against hardware problems on the test system I can confirm that it works.

Best
Hans
by HansSchl
Fri Apr 28, 2023 9:44 am
Forum: Bug Reports
Topic: Invisible controls missing from v10.2.1
Replies: 15
Views: 9724

Re: Invisible controls missing from v10.2.1

Thanks, I found it. It is not on the menu, you have to click this button:
2023-04-28_10h43_55.png
by HansSchl
Tue Apr 11, 2023 10:41 am
Forum: How To …
Topic: Invisible window not found
Replies: 4
Views: 9654

Re: Invisible window not found

What a long thread. I asked over there where to find this option.
by HansSchl
Tue Apr 11, 2023 10:36 am
Forum: Bug Reports
Topic: Invisible controls missing from v10.2.1
Replies: 15
Views: 9724

Re: Invisible controls missing from v10.2.1

@stub, can you please share where you found this option? I clicked through all settings which I could find, and searched the documentation, to with no avail.

Thanks
Hans
by HansSchl
Thu Apr 06, 2023 9:40 am
Forum: How To …
Topic: Invisible window not found
Replies: 4
Views: 9654

Invisible window not found

Hi, I recently upgraded Ranorex from 10.1.3 to 10.5.4. Since then, a number of tests started to fail. One of the symptoms of failure is that Ranorex doesn't find invisible windows. Let me explain what I mean. The AUT is a non-managed C++ application, using MFC. Its GUI is flexible and is sometimes m...
by HansSchl
Wed Apr 05, 2023 7:59 am
Forum: How To …
Topic: User code: RepoItemInfo.CreateAdapter's timeout
Replies: 0
Views: 6959

User code: RepoItemInfo.CreateAdapter's timeout

Hi, I wrote user code in C# which wait for a progress dialog to pop up and then watches its progress bar until the dialog closes, and throws an exception if the progress doesn't change over a period of time. The first few lines of this function are as follows: public static bool WatchProgress(RepoIt...
by HansSchl
Mon Mar 06, 2023 7:14 am
Forum: General Questions
Topic: User code: Finding a sibling element
Replies: 2
Views: 450

Re: User code: Finding a sibling element

Hi Don, thank you for your reply. Let me give you some background. The control I want to access is a home-grown list control which has some accessibility support, but is far from implementing every function. I want to access the row $Row, which is addresses as 'row[@childindex=$Row]'. I do this in u...
by HansSchl
Fri Mar 03, 2023 12:24 pm
Forum: General Questions
Topic: User code: Finding a sibling element
Replies: 2
Views: 450

User code: Finding a sibling element

Hi, I am writing a user code method which receives 'RepoItemInfo item' in its parameter list. The code needs to access a sibling of this item, i.e. an item which has the same parent. The item passed into the function has this RxPath (I replaced irrelevant information by "..."): /.../table[@accessibl...
by HansSchl
Mon Jan 23, 2023 4:51 pm
Forum: General Questions
Topic: Successful test, error level -1
Replies: 7
Views: 592

Re: Successful test, error level -1

Will do that, and then wait to see when the problem shows up again :-) Thanks!
by HansSchl
Mon Jan 23, 2023 3:35 pm
Forum: General Questions
Topic: Successful test, error level -1
Replies: 7
Views: 592

Re: Successful test, error level -1

There's lot of user code involved, and some of it has try-catch blocks, but I see no indication that any exception was thrown during test execution.
by HansSchl
Mon Jan 23, 2023 3:32 pm
Forum: General Questions
Topic: Successful test, error level -1
Replies: 7
Views: 592

Re: Successful test, error level -1

@IvanF, thanks for your reply. I think I don't explicitly catch exceptions, but I'll recheck that. I am passing the following command line options to the test: -agent:... -testrail -truser=... -trpass=... -trvideo -trrunname=... -zrf=... (I don't remember why -agent requires a colon and the others w...
by HansSchl
Fri Jan 20, 2023 4:54 pm
Forum: General Questions
Topic: Successful test, error level -1
Replies: 7
Views: 592

Re: Successful test, error level -1

Hi @IvanF, yes "Continue on Error" may be enabled on some actions. What else could be "advanced error handling"?
If an error occurred which is ignored due to "continue on error", wouldn't there be a warning in the protocol?
by HansSchl
Fri Jan 13, 2023 9:02 am
Forum: Bug Reports
Topic: Report accuses test failure and all were successful.
Replies: 1
Views: 1695

Re: Report accuses test failure and all were successful.

I've seen this effect now and then in the past but have no explanation. See my post https://www.ranorex.info/successful-tes ... 20244.html. It hasn't happened for a long time, probably since I upgraded from Ranorex 9.5 to 10.1.