How to test over several hosts

Best practices, code snippets for common functionality, examples, and guidelines.
Fee
Posts: 1
Joined: Wed Oct 20, 2021 12:15 pm

How to test over several hosts

Post by Fee » Wed Oct 20, 2021 12:24 pm

Hallo,

I have a scenario where tests have to be executed on different hosts.
Host A (VM) contains a client software which connects to a server-software running on host B (VM). Both hosts are not reachable by the agent so the agent has to be copied there.

The test is the following:
  • On host A, start the client, create a message and click send.
  • On host B, start the server-administration interface,[ look for the new message and click accept
  • On host A, get notification that message was accepted

What the best practice to achieve something like this? Create independent tests for both machines with "wait-for"-actions? Is there a possibility how combine those test-results into a single report?

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

Re: How to test over several hosts

Post by odklizec » Thu Oct 21, 2021 8:38 am

Hi,

Using WaitFor and multiple tests, is the probably the only way how to achieve what you want. Unfortunately, there is no option to merge multiple reports from different sources into one.
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