Running Automation Test on virtual Machines.

Best practices, code snippets for common functionality, examples, and guidelines.
Danscorpio13
Posts: 21
Joined: Wed Nov 04, 2015 11:12 am

Running Automation Test on virtual Machines.

Post by Danscorpio13 » Thu Mar 17, 2016 12:56 pm

Hi All

I'm new to automation testing and seeking your help to run desktop Application test on Virtual Machines.
I like to know the best practice to automate the process of Installing our desktop applications on virtual machines run the test and set-up clear down process.
Basically an the entire end to end process of automation but in a high level.
I really appreciate if you could share as much knowledge as possible in this area.

Many Thanks

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

Re: Running Automation Test on virtual Machines.

Post by odklizec » Thu Mar 17, 2016 1:19 pm

Hi,

What you are looking for is some kind of continuous integration process. Basically, you need to setup a continuous integration infrastructure, which builds AUT and your Ranorex tests, distribute executables to VMs of your choice, run tests and then perform cleanup (ideally restore VM state using VM snapshot).

Unfortunately, there is no end-to-end guide how to setup entire process and all required tools. However, there are some pretty good Ranorex integration tutorials describing how to integrate Ranorex with existing CI infrastructures. I would suggest to start with this blog article...
http://www.ranorex.com/blog/integrate-r ... n-process/
At the end of this article you can find some links to toolset-specific tutorials, describing Ranorex integration with most common CI tools. Hope this helps?
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

Danscorpio13
Posts: 21
Joined: Wed Nov 04, 2015 11:12 am

Re: Running Automation Test on virtual Machines.

Post by Danscorpio13 » Thu Mar 17, 2016 2:24 pm

Yes that's right odklizec , as you advised I will first go through this link and try my best .
Thank you .