Search found 19 matches

by gridle
Tue Feb 16, 2021 9:19 am
Forum: Automation Tools
Topic: ranorex remote execution cancelled by user
Replies: 1
Views: 1439

ranorex remote execution cancelled by user

Hi, i faced with strange behavior last two weeks. It started to appear on ranorex 9.3 and happens on 9.4.1 too. So the problem is that we execute our tests during the night. And execution failed for some mystery reason time to time. There are no ranorex report after such fail. Ranorex agent log says...
by gridle
Fri Oct 16, 2020 8:12 am
Forum: Automation API
Topic: Disabe 'Click outside the boundaries' warning in code
Replies: 3
Views: 2924

Re: Disabe 'Click outside the boundaries' warning in code

odklizec wrote:
Mon Sep 28, 2020 12:44 pm

Code: Select all

spantagInfo.FindAdapter<SpanTag>().ClickWithoutBoundsCheck();
Worked for me, thanks!
by gridle
Wed Sep 30, 2020 8:43 am
Forum: Automation API
Topic: Disabe 'Click outside the boundaries' warning in code
Replies: 3
Views: 2924

Re: Disabe 'Click outside the boundaries' warning in code

Hi, thanks for the answer!

I will check this.
by gridle
Mon Sep 28, 2020 12:33 pm
Forum: Automation API
Topic: Disabe 'Click outside the boundaries' warning in code
Replies: 3
Views: 2924

Disabe 'Click outside the boundaries' warning in code

Hi,

I want to disable next warning:

Code: Select all

The mouse action was performed outside the boundaries of the assigned UI element.
(null)
I know it is possible to disable warning in action property in .rxrec file (Disable bounds warnings = True)
But how can I do the same for Mouse.Click() function?

Thanks!
by gridle
Mon Aug 03, 2020 3:28 pm
Forum: Automation Tools
Topic: Change Ranorex default port
Replies: 2
Views: 2383

Re: Change Ranorex default port

Hi, It should be possible to change the default port 8081 in config.toml file. Check this post where to find it: https://www.ranorex.com/forum/viewtopic.php?f=4&t=14328&p=55523#p55528 Hi, thx for the answer. This file changes port for the agent. But in this case to run tests on the agent you need t...
by gridle
Mon Aug 03, 2020 2:12 pm
Forum: Object Identification and Technologies
Topic: How to get ranorex report in uncompressed format and with html when we run the tests via Ranorex agent execution
Replies: 6
Views: 2593

Re: How to get ranorex report in uncompressed format and with html when we run the tests via Ranorex agent execution

But what I found is that ranorex agent when it is generating ranorex compressed report it is corrupting some times. When we run the tests multiple times using ranorex agent one or two times it works as expected. But other times it is executing all actions but at the end, report will be generated. W...
by gridle
Thu Jul 30, 2020 11:54 am
Forum: Automation Tools
Topic: Change Ranorex default port
Replies: 2
Views: 2383

Change Ranorex default port

Hi, i run my test cycles with remotely with ranorex agents. And sometimes ranorex stops execution on agent. From agent log I get next message: 2020-07-30 06:32:28.9050 Ranorex.Dex.Infrastructure.RanorexEventSource EventId:13 Background task 'Failed to resume test process via proxy. Killing process.....
by gridle
Thu Dec 05, 2019 1:18 pm
Forum: Object Identification and Technologies
Topic: Getting the xpath of an element knowing its partial automationid
Replies: 1
Views: 1693

Re: Getting the xpath of an element knowing its partial automationid

Hi, sure, it is possible. Ranorex Path can be used as regular expression. In you case you can use next rxPath: text[@automationid~’Phone[0-9]’] -> test will look for Text element with automationid Phone0, Phone1,...,Phone9 or you can use this: text[@automationid~’Phone’] -> test will look for Text e...
by gridle
Fri Oct 18, 2019 4:05 pm
Forum: Automation Tools
Topic: Get global parameter value in code (alternative way)
Replies: 6
Views: 3896

Re: Get global parameter value in code (alternative way)

your description looks correct. I attached a Ranorex Soluiton (with Ranorex version 9.1.2 ) that worked for me. Please try if this also doesn't work. GlobalParameterFromCommandLine.zip Regards, Bernhard Hi, thanks for reply. Your solution worked for me as well. I compared my solution to yours - and...
by gridle
Wed Oct 16, 2019 3:47 pm
Forum: Automation Tools
Topic: Get global parameter value in code (alternative way)
Replies: 6
Views: 3896

Re: Get global parameter value in code (alternative way)

Hi Stub, thanks for answer. Do you have multiple Test Suites? Nope, i have one Test Suite only that is why I don't specify it in command line arguments. I added /ts:Testsuite argument to command line arguments. And it didn't help (after some investigation)... So it still doesn't work. Any suggestions?
by gridle
Wed Oct 16, 2019 3:08 pm
Forum: Automation Tools
Topic: Get global parameter value in code (alternative way)
Replies: 6
Views: 3896

Get global parameter value in code (alternative way)

Hi, I created global parameter "VarName" for Test Suite. There is a code module in the current Test Suite. I created local variable (right click in code file->insert new module variable) "LocalVarName" inside this code module. During the test (code module) execution I try to use this variable. In *....
by gridle
Tue Jun 04, 2019 9:33 am
Forum: How To …
Topic: Getting 'Failed to instrument WPF process'
Replies: 10
Views: 2159

Re: Getting 'Failed to instrument WPF process'

Hi,
I solved my problem above with increasing of RAM on my VM.
Good luck!
by gridle
Mon May 27, 2019 10:02 am
Forum: How To …
Topic: Getting 'Failed to instrument WPF process'
Replies: 10
Views: 2159

Re: Getting 'Failed to instrument WPF process'

Hi, I am getting the same "Failed to instrument WPF process" message. It appears in the very beginning of the test when tests start WPF application. On screenshots I can see that app is loaded but test can't find elements of it and test fails. Usually i am getting this message if I execute bunch of ...
by gridle
Wed Oct 10, 2018 12:41 pm
Forum: Automation Tools
Topic: Get number of passed/failed test cases
Replies: 2
Views: 1845

Re: Get number of passed/failed test cases

odklizec wrote:
Wed Oct 10, 2018 9:28 am
But I'm sure it will work if you move this code to program.cs, just before 'return' line. Hope this helps?
Oh, thanks a lot! It works!
by gridle
Wed Oct 10, 2018 8:53 am
Forum: Automation Tools
Topic: Get number of passed/failed test cases
Replies: 2
Views: 1845

Get number of passed/failed test cases

Hi, i know discussions of similar questions were here before but solutions of it didn't help me. So i need to get number of passed and failed tests cases. I created code module and put it in TearDown module. Code: var testSuite = Ranorex.Core.Reporting.TestReport.CurrentTestSuiteActivity; var status...