Search found 12 matches

by gnm_fheinrich
Wed Aug 07, 2013 10:03 am
Forum: Automation API
Topic: How to validate two elements at a time?
Replies: 2
Views: 2201

How to validate two elements at a time?

Hi! In my TestSuite I validate elements. I want to know if an error-element ist found or if a success-element is found. The negative is that i need to check one item before i can check the other item... So if i start checking if there is an error and there is no error: I wait e.g. 30 seconds. But in...
by gnm_fheinrich
Wed Aug 07, 2013 7:11 am
Forum: Automation API
Topic: Start another Testsuite with a parameter from another suite
Replies: 4
Views: 1829

Re: Start another Testsuite with a parameter from another suite

Isnt it possible to deliver startarguments or parameters to the process that i start? So i can use these arguments or parameters in the process (the ranorex testsuite that is started)?
by gnm_fheinrich
Mon Aug 05, 2013 9:35 am
Forum: Automation API
Topic: Start another Testsuite with a parameter from another suite
Replies: 4
Views: 1829

Start another Testsuite with a parameter from another suite

Hi!

I have a Ranorex-Testsuite that generates a string...

Now I want to take that string and use it in an independent testsuite. It hast to be two very independent Testsuites!

How can I do that?
by gnm_fheinrich
Fri Aug 02, 2013 8:08 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

No, it doesnt work on both machines.... Its always the problem with starting the software...
by gnm_fheinrich
Wed Jul 31, 2013 8:20 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

namespace ConsoleApplication2 { class Program { [STAThread] static int Main(string[] args) { int error = 0; try { Host.Local.RunApplication(@"C:\Program Files\ScrapeBox Proxy\scrapebox.exe"); Ranorex.Delay.Seconds(30); } catch (RanorexException e) { Console.WriteLine(e.ToString()); error = -1; } re...
by gnm_fheinrich
Tue Jul 30, 2013 11:12 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

I will try this soon and let you know!
by gnm_fheinrich
Fri Jul 26, 2013 7:36 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

Thanks for your answer. Unfortunately none of the three ways worked... It seems Ranorex is kind of blocking my Application, because the test case for starting the application completes successfully and if there is further code that i want to execute by ranorex, the application doesnt start :/ What d...
by gnm_fheinrich
Wed Jul 24, 2013 7:51 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

Well i tried out some things and now i have the following situation: My Software which I start in Testcase 1 starts perfectly if there is no code executing while its starting. The thing is that the Ranorex report comes before the Program starts: RUN TESTSUITE --> Console shows "Testcase 1 completed ...
by gnm_fheinrich
Mon Jul 22, 2013 8:26 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

Im running Ranorex 4.0.5.

Your sample is working... the only difference to my own project is that i open another program (not calc.exe)...

And if i uncheck the second testcase OR commenting out the delay, my program starts...
by gnm_fheinrich
Mon Jul 15, 2013 9:17 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Re: Application does not open if any other modules after it...

Testsuite --------TestCase1 ----------------Host.Local.RunApplication(...) // Running the Windows-Application --------TestCase2 ----------------ANY CODE THAT DOES SOMETHING (for example a Delay or so) That is my very simple program. Running only TestCase1 by unchecking the second Testcase and run th...
by gnm_fheinrich
Thu Jul 11, 2013 11:00 am
Forum: Automation API
Topic: Application does not open if any other modules after it...
Replies: 14
Views: 6761

Application does not open if any other modules after it...

Hi! I got pretty familiar with ranorex in the last weeks but now i have a problem that i cant resolve... I wanted to create a new test suite to start an application and check for updates.... So I recorded the module for opening the software. Tested: Works! Then I created a new test case under the fi...