Search found 9 matches
- Fri Jun 06, 2014 1:05 pm
- Forum: Automation API
- Topic: Testcase failed but in Report it was Success?
- Replies: 1
- Views: 2212
Testcase failed but in Report it was Success?
Hi, I have four testcases and two of them shall obviously fail: [TestMethod] public void RanorexReporting1() { Assert.IsTrue(false); } [TestMethod] public void RanorexReporting2() { Assert.IsTrue(true); } [TestMethod] public void RanorexReporting3() { Assert.IsTrue(false); } [TestMethod] public void...
- Thu Jun 05, 2014 9:25 pm
- Forum: Automation Discussions
- Topic: Add Coded UI tests to a Ranorex test suite
- Replies: 0
- Views: 2664
Add Coded UI tests to a Ranorex test suite
Hi, I currently encountered the problem that I can only get first coded UI test logged by the Ranorex report. It seems this is a restriction if using VS and Ranorex API only(without Ranorex Studio) as discussed here. http://www.ranorex.com/forum/only-first-test-case-in-test-report-t4521.html As I ha...
- Wed May 28, 2014 8:46 am
- Forum: Automation API
- Topic: Coding with the reporting API
- Replies: 5
- Views: 2515
Re: Coding with the reporting API
Hi Robert, thank you again for your answer! I see what you mean. The problem for our case is that we have thousand testcases, and if we have to add message for each testcase it would be quite time consuming. What I would like to have is that whether is there a way that Ranorex report could log each ...
- Mon May 26, 2014 9:53 am
- Forum: Automation API
- Topic: Coding with the reporting API
- Replies: 5
- Views: 2515
Re: Coding with the reporting API
Hi Robert, thanks for your reply! Yes, i did have read the post and it shows the basic routine how to get a report with VS. But I have not found the guide how to log only the Test Method and the result of the execution into the report. This is in fact what i really want. Thanks! Kind regards, Boby
- Thu May 22, 2014 7:43 am
- Forum: Automation API
- Topic: Coding with the reporting API
- Replies: 5
- Views: 2515
Coding with the reporting API
Hi, is there any tutorial on how to use the reporting API (without using the Ranorex Studio, e.g. with VS)? I have searched quite a lot of this forum as well as the user guide, but could not figure out how to achieve it step by step. I have the following code, for example: [ClassInitialize] public s...
- Tue Apr 15, 2014 2:01 pm
- Forum: Automation API
- Topic: How to get only the partially visible text?
- Replies: 5
- Views: 2846
Re: How to get only the partially visible text?
Hi Zoltan,
by the way, how would you "compute the string's width in pixels from Ranorex" ? Have you any code example?
Thank you!
Best regards,
Bo
by the way, how would you "compute the string's width in pixels from Ranorex" ? Have you any code example?
Thank you!
Best regards,
Bo
- Tue Apr 15, 2014 1:48 pm
- Forum: Automation API
- Topic: How to get only the partially visible text?
- Replies: 5
- Views: 2846
Re: How to get only the partially visible text?
Hi Zoltan,
your solution looks quite well and I will try it. As there's no native support from Ranorex for this issue, I think your proposal could be a solution for it. Thank you!
Kind regards,
Bo
your solution looks quite well and I will try it. As there's no native support from Ranorex for this issue, I think your proposal could be a solution for it. Thank you!
Kind regards,
Bo
- Tue Apr 15, 2014 8:38 am
- Forum: Automation API
- Topic: How to get only the partially visible text?
- Replies: 5
- Views: 2846
Re: How to get only the partially visible text?
Hi, thanks for your reply. We intend to detect whether the text on a UI control is cut or not. Sometimes we have the problem that some text on our UI, e.g. button, label, etc., are partially visible, because the width of the UI element is not enough. It's not necessary an Excel cell, and the Excel e...
- Fri Apr 11, 2014 9:45 am
- Forum: Automation API
- Topic: How to get only the partially visible text?
- Replies: 5
- Views: 2846
How to get only the partially visible text?
Hi, Sometimes the text for a UI element is not completely visible, for instance, this one, excel.PNG the text of the first cell is only partially visible, in this case "hello my fr" but not the whole text "hello my frieds". Now the question is: how can I get only the partially visible text but not t...