Current environment:
Windows 10 Pro desktop with Ranorex Studio running with a VNC connection to another Windows 10 Pro desktop with Ranorex Remote Agent.
Ranorex version 8.1.0
Remote Agent version 3.0.3
Problem did not seem to exist in previous version Ranorex 8.0.1 with Agent 3.0.3.
Description:
Running a test remotely with the Ranorex remote agent fails.
Remote test is unable to find any /dom or /form.
For example, when Validating if /dom[@domain<'salesforce.com'] exists and the current domain name in Chrome is test.salesforce.com.
The test does not fail when the test suite is run locally, all objects can be found and validated.
Reinstallation of the Remote Agent has been attempted.
Reinstallation of the Chrome extension has been attempted.
Attempting to run Remote Agent with Windows Remote Desktop also does not work.
Tests run with Remote Agent can't find objects.
-
- Posts: 2
- Joined: Thu Apr 05, 2018 3:02 pm
Tests run with Remote Agent can't find objects.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Tests run with Remote Agent can't find objects.
Hi Brandon,
Try the following: add a new code module at the very start of your test with the following line and run it through the Ranorex Remote Agent.
This will create a Ranorex Snapshot of your entire machine showing us exactly what Ranorex is seeing at this point and time. In addition to this, run the same module through Ranorex Studio on the same machine to produce a good Snapshot to compare against. Once completed, please send these Ranorex Snapshots so we can further investigate.
I look forward to your response!
Cheers,
Ned
Try the following: add a new code module at the very start of your test with the following line and run it through the Ranorex Remote Agent.
Code: Select all
Report.Snapshot("/");
I look forward to your response!
Cheers,
Ned
-
- Posts: 2
- Joined: Thu Apr 05, 2018 3:02 pm
Re: Tests run with Remote Agent can't find objects.
Hey Ned,
I'm not quite sure how this worked but as I was pulling these snapshots I re-installed Ranorex on my local and remote machines and the test seems to be running fine on both now.
Thanks for your help!
I'm not quite sure how this worked but as I was pulling these snapshots I re-installed Ranorex on my local and remote machines and the test seems to be running fine on both now.
Thanks for your help!
Re: Tests run with Remote Agent can't find objects.
I get the same problem! My agent searching the elements ... and did\nt find nothing. I made a snapshots from two system, remote and my. Maybe there is some solution about this problem_
Re: Tests run with Remote Agent can't find objects.
Hi,
Please post the snapshot from both systems and the failing xpath. This should tell us more what's wrong.
Please post the snapshot from both systems and the failing xpath. This should tell us more what's wrong.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
-
- Posts: 4
- Joined: Thu Aug 12, 2021 9:27 am
Re: Tests run with Remote Agent can't find objects.
Any updates on the screenshot? I want to help. Provides special education attorney services in San Leandro