Search found 8 matches

by cdmartinus
Wed Jan 29, 2014 11:35 am
Forum: Automation Tools
Topic: Replace items in repository for identical website
Replies: 2
Views: 2057

Replace items in repository for identical website

Hi all, I have created a series of tests for the live version of a particular site, however I also want to run them on both the UAT and SYS versions of the site that we use for testing however the web addresses for all 3 sites are slightly different, with the additon of 'sys' or 'uat' to the web add...
by cdmartinus
Wed Jan 29, 2014 11:30 am
Forum: Automation Tools
Topic: Calculate time between steps in a recording
Replies: 17
Views: 6979

Re: Calculate time between steps in a recording

I tried your solution and it worked perfectly. I've now got all the time taken values outputting neatly to a text file, which means a lot less work for me when I have to run it 6 times a day!
by cdmartinus
Tue Jan 28, 2014 12:43 pm
Forum: Automation Tools
Topic: Calculate time between steps in a recording
Replies: 17
Views: 6979

Calculate time between steps in a recording

Hi all, I am currently running some tests on a website and need to get the system to calculate the time taken between certain test steps and add them to an accumulating text file. At the moment, I'm just waiting for the test to complete and then manually working out the differences using the report....
by cdmartinus
Wed Jul 17, 2013 12:03 pm
Forum: Automation API
Topic: Get Ranorex to output a text file with pass/fail
Replies: 4
Views: 3681

Re: Get Ranorex to output a text file with pass/fail

That's perfect, problem solved. Thanks!!! public static void Output() { string result = ""; ITestCase iCase = TestSuite.Current.GetTestCase("AddUser"); // The name of your Test Case if(iCase.Status == Ranorex.Core.Reporting.ActivityStatus.Failed){ result = "Failed"; } if(iCase.Status == Ranorex.Core...
by cdmartinus
Mon Jul 15, 2013 12:19 pm
Forum: Automation API
Topic: Get Ranorex to output a text file with pass/fail
Replies: 4
Views: 3681

Re: Get Ranorex to output a text file with pass/fail

Thanks for the response!

I've now managed to get it to create a output a file with any text I want, including the data stored in a string variable.

However I'm struggling to store the pass/fail result of my test in a string that I can output.
by cdmartinus
Wed Jul 10, 2013 2:47 pm
Forum: Automation API
Topic: Get Ranorex to output a text file with pass/fail
Replies: 4
Views: 3681

Get Ranorex to output a text file with pass/fail

Hi,

I am trying to get Ranorex to output a simple text file with pass or fail on the first line but I can't work out how to output the text file or store the test result and print it to a line in the text file.

Thanks
by cdmartinus
Fri Jul 05, 2013 10:23 am
Forum: Automation Tools
Topic: Output test result (pass/fail) and a number to text file
Replies: 1
Views: 2235

Output test result (pass/fail) and a number to text file

Hi,

I am trying to get Ranorex to output the result of a test (pass or fail) along with a variable that will be a number (e.g. 49) to a simple text file, each on a separate line.

I think Ranorex is a great tool but I'm quite new to it so any help would be appreciated.

Thanks!!
by cdmartinus
Wed Jul 03, 2013 11:39 am
Forum: Automation Discussions
Topic: Integrate Ranorex with QA Complete
Replies: 1
Views: 2693

Integrate Ranorex with QA Complete

Hi, I am looking for a way to allow Ranorex to send data to QA Complete that will mark completed automated tests as pass or fail. I know that this would require me to call the QA Complete API from the user code portion of Ranorex but other than that I don't know how to go about doing it. QA Complete...