Page 1 of 1

How to start or invoke a test from module?

Posted: Fri Sep 01, 2017 9:43 pm
by kshekharkumar
Hi,

I was wondering if there is any way to invoke test(s) in TestSuite (can be current or any other test suite) from a code module.

Say a TestSuite T1 has tests TC1 TC2...

I have module M in a test in TestSuite T2. So I want to invoke TC1 and TC2..so on from module M.

Is this possible in Ranorex?
Is it alright to call tests in this way?

Please advise.
-Shekhar

Re: How to start or invoke a test from module?

Posted: Mon Sep 04, 2017 12:50 pm
by odklizec
Hi,

I don't think it's possible to start a test case from code. It's only possible to start recording/code module.

Anyway, why do you need to start the test case from test suite itself? I would suggest to configure a proper continuous integration system (like Jenkins). I just don't think it's a good idea to invoke a test case from code.