Tests run with Remote Agent can't find objects.

Bug reports.
brandon.sim
Posts: 2
Joined: Thu Apr 05, 2018 3:02 pm

Tests run with Remote Agent can't find objects.

Post by brandon.sim » Thu Apr 05, 2018 5:00 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
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.

Post by Support Team » Tue Apr 10, 2018 9:29 pm

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.

Code: Select all

Report.Snapshot("/");
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

brandon.sim
Posts: 2
Joined: Thu Apr 05, 2018 3:02 pm

Re: Tests run with Remote Agent can't find objects.

Post by brandon.sim » Thu Apr 12, 2018 8:31 pm

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!

Alex83
Posts: 3
Joined: Tue Jun 08, 2021 6:29 am
Location: Sweden

Re: Tests run with Remote Agent can't find objects.

Post by Alex83 » Tue Feb 15, 2022 4:20 pm

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_

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Tests run with Remote Agent can't find objects.

Post by odklizec » Thu Feb 17, 2022 8:52 am

Hi,

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 Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

pDSFEWR231
Posts: 4
Joined: Thu Aug 12, 2021 9:27 am

Re: Tests run with Remote Agent can't find objects.

Post by pDSFEWR231 » Wed Feb 23, 2022 10:21 pm

Any updates on the screenshot? I want to help. Provides special education attorney services in San Leandro