Search found 57 matches

by taralex
Tue Feb 14, 2012 4:54 pm
Forum: General Questions
Topic: Licensing question
Replies: 5
Views: 2936

Re: Licensing question

Yes, I have a valid subscription.
So are you saying that I can click Uninstall License, then change the computer name, reboot, and then click Install License again and it will work?
by taralex
Tue Feb 14, 2012 4:04 pm
Forum: General Questions
Topic: Licensing question
Replies: 5
Views: 2936

Licensing question

Hi, I've got a node-locked premium license, and now we're unifying our test machine names in the department so I changed the computer name. Immediately Ranorex stopped working. I changed the name back and it's fine now, but I was wondering if there was an easy way to change the machine name and keep...
by taralex
Wed Feb 08, 2012 8:51 pm
Forum: Bug Reports
Topic: Licensing server problem
Replies: 1
Views: 1911

Licensing server problem

We've been having technical problems, and our licensing server was unavailable for a while. I didn't know about that and was trying to run tests. I ended up seeing totally weird errors I never saw before, my scripts would just stop working for no reason. I spent almost a day trying to figure out wha...
by taralex
Wed Feb 08, 2012 8:33 pm
Forum: General Questions
Topic: Continuation of the topic about reports
Replies: 5
Views: 2647

Re: Continuation of the topic about reports

Oh, that what may be the problem! I've got a floating license and it may have happened that I tried using Ranorex on one machine while it was in use on another. that is what happened I guess, thanks, I almost scratched a hole in my head figuring out what's happening. I guess you should show some mes...
by taralex
Tue Feb 07, 2012 7:11 pm
Forum: General Questions
Topic: Continuation of the topic about reports
Replies: 5
Views: 2647

Re: Continuation of the topic about reports

It worked, thank you. This is probably another topic, but I noticed a strange behavior on a Windows7 machine. My application exits on calling TestReport.SaveReport(); there is no exception, it looks like Environment.Exit(); is called somewhere in the Ranorex code. I'm running it as Administrator and...
by taralex
Fri Feb 03, 2012 3:26 pm
Forum: Automation API
Topic: Take a screenshot outside of TestModule?
Replies: 2
Views: 2352

Re: Take a screenshot outside of TestModule?

In my case I let the users create their test case files and it's up them to break them down to TestModules or not. But I want to always make a screenshot if a TestCase returns failure. So I noticed if the user doesn't bother to open a TestModule and log some info there, my screenshot doesn't show up...
by taralex
Thu Feb 02, 2012 10:45 pm
Forum: Automation API
Topic: Take a screenshot outside of TestModule?
Replies: 2
Views: 2352

Take a screenshot outside of TestModule?

I'm doing the following: TestReport.StartTestSuite("TestSuite"); TestReport.StartTestCase("TestCase"); Report.Screenshot(); TestReport.EndTestCase(); TestReport.EndTestSuite(); The screenshot is saved with the report, but I don't see it on the report. Now if I do Report.Screenshot within a TestModul...
by taralex
Tue Jan 31, 2012 6:23 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

I moved to a new topic, I'll try to give more details there: http://www.ranorex.com/forum/continuati ... t3038.html
by taralex
Tue Jan 31, 2012 6:22 pm
Forum: General Questions
Topic: Continuation of the topic about reports
Replies: 5
Views: 2647

Continuation of the topic about reports

I'm going to start a new thread since I'm not really sure if the way I described the problem initially is correct. So I'll start from the beginning and try to give all the code and screenshots. So the post is gonna be long, I'm sorry. Here's the function I'm calling: public void RunTests(string[] ts...
by taralex
Mon Jan 30, 2012 11:31 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

Although... the simplified code that I showed above workes fine now, but I'm still having problems with my original code, which is a little bit more complicated. Does it matter if I'm calling StartTestSuite() and StartTestCase() from one assembly, and then I call StartTestModule() and EndTestModule(...
by taralex
Mon Jan 30, 2012 10:59 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

Bingo!
Now it worked as I expected! I was suspecting that there should be a way to remove the TestSuiteActivity from the stack, but couldn't find an EndTestSuite() method.

Thank you very much!
by taralex
Mon Jan 30, 2012 10:23 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

ok here's my code to illustrate what i'm trying to do: public void RunTests(bool success) { string filePath = Path.Combine(Application.StartupPath, "AutomatedTestsReport.xml"); if (File.Exists(filePath)) File.Delete(filePath); TestReport.Setup(ReportLevel.Info, filePath, true); TestReport.StyleSheet...
by taralex
Fri Jan 27, 2012 11:09 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

and Ciege, I tried both overwriting the report and putting it to a new folder each time - the result is the same..
by taralex
Fri Jan 27, 2012 11:07 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

Now I tried to use Report.Setup(...) instead of TestReport.Setup(...)
so the code like:
Report.Setup(...);
Report.Start();
...
Report.End();

works just fine. However, I'm shown an old type report, without the fancy drop-down lines, and I want those...
by taralex
Fri Jan 27, 2012 10:47 pm
Forum: General Questions
Topic: Finalize the report?
Replies: 12
Views: 3080

Re: Finalize the report?

indeed I was looking for something like that.

But I just tried it with the same result: only the first report is stored no matter how many times I re-run the function. To get the up-to-date report, I need to restart my exe...