Best way to run .exe's

Experiences, small talk, and other automation gossip.
jaredmatthews
Posts: 16
Joined: Fri Apr 18, 2014 1:06 pm

Best way to run .exe's

Post by jaredmatthews » Mon May 19, 2014 1:55 pm

Hi All,

This is a general question, I am looking for advice or suggestions as to how to automate our test projects. I have looked into and successfully run them as generic tests in Visual Studio with our TFS server. The problem there is I used a trial version of Ultimate. We only have Pro versions here which do not contain generic or coded UI tests.

Is there another easy/free option to schedule and run our tests suites daily without user interaction? I've already setup the test suites to email me results so im not so much concerned with reporting as i am just running the tests.

I am new to Ranorex and web testing so bare with my ignorance :)

Thanks,
Jared
Regards,
Jared

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

Re: Best way to run .exe's

Post by odklizec » Mon May 19, 2014 2:21 pm

Hi Jared,

A free solution could be for example integrating Ranorex with Jenkins CI (continuous integration) system. It may take some time to install and configure Jenkins, but once setup, it saves a lot of time and provides almost immediate feedback about the state of your tested applications.

See this blog post how to integrate Ranorex with Jenkins...
http://www.ranorex.com/blog/integrating ... on-process

Don't hesitate to ask in case of problems with Jenkins setup or Ranorex integration ;)
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

jaredmatthews
Posts: 16
Joined: Fri Apr 18, 2014 1:06 pm

Re: Best way to run .exe's

Post by jaredmatthews » Mon May 19, 2014 7:25 pm

Thanks Sir appreciate your time answering the question. I actually found a way to run them through unit tests now i dont need the Ultimate Version of Visual Studio.

Code: Select all

   public void TestMethod1()
        {
            Process.Start(@"C:Ranorex.exe");
        }
    }
I just added an email function to my Ranorex executable and added this unit test to my build process. I am golden now!
Regards,
Jared