Parallel test/validation

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 8
Joined: Tue Oct 20, 2015 8:23 am

Parallel test/validation

Post by siti » Wed Oct 28, 2015 3:27 am


this is my GUI
Each job is independent.
Each job takes different time to complete.
I need to do a validation if each job is successful.
But I don't want to validate the task sequentially because it's not dependent anyway, and it may take hours to complete one.
Is there a way to do all the validation in parallel?
It is possible to constantly check the status of all task and validate whichever that finish first?

You do not have the required permissions to view the files attached to this post.

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

Re: Parallel test/validation

Post by odklizec » Wed Oct 28, 2015 8:45 am


I'm afraid, there is not enough info in your post to help you with this problem. Could you please answer these questions:

- are all jobs visible in that list at once or they appear in the list only after each job is finished?
- if jobs are available at once in the list (regardless of their progress status) how exactly you identify the individual job is finished?
- is the number of jobs in the list always the same or it could change?
- could you please post a Ranorex snapshot of the job list in question?

Generally speaking, I think you will have to use some kind of loop in which you should repeatedly test the "finish" status of each job in the list. Then you should jump out of the loop once all jobs are finished.
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