Search found 207 matches
- Thu Nov 15, 2012 11:03 am
- Forum: Bug Reports
- Topic: Feature Request: Setup and Teardown sections in report
- Replies: 7
- Views: 4534
Re: Feature Request: Setup and Teardown sections in report
If possible can you make it so that calling EndSetup will end setup activity if it's there and not do anything if it's not. Same for teardown. We can be certain to start setup and teardown but if something goes wrong during our setup we won't be able to call End Setup. So I'd like to put End Setup m...
- Mon Nov 12, 2012 3:02 pm
- Forum: Bug Reports
- Topic: Feature Request: Setup and Teardown sections in report
- Replies: 7
- Views: 4534
Re: Feature Request: Setup and Teardown sections in report
Great. It would be nice if this feature was documented and wrappers like BeginTestCase etc were created. Also using this code: TestReport.Setup(ReportLevel.Debug, "Report.rxlog", true); TestReport.BeginTestSuite("Suite"); using (new ActivityContext(new TestModuleContainerActivity(ModuleExecType.Setu...
- Mon Nov 12, 2012 7:32 am
- Forum: Automation API
- Topic: Search Timeout
- Replies: 3
- Views: 2907
Re: Search Timeout
I think Validate posts a success message to report also, but I'm not sure. We don't use validate a lot here.
- Fri Nov 09, 2012 1:24 pm
- Forum: Bug Reports
- Topic: BUG: TestReport.SaveReport locks first tests case to success
- Replies: 1
- Views: 1974
BUG: TestReport.SaveReport locks first tests case to success
Hi Using this code: TestReport.Setup(ReportLevel.Debug, "Report.rxlog", true); TestReport.BeginTestSuite("Suite"); TestReport.BeginTestCase("Case 1"); TestReport.BeginTestModule("Module 1"); Report.Info("Before save."); TestReport.SaveReport(); Report.Failure("Failed"); TestReport.EndTestModule(); T...
- Fri Nov 09, 2012 12:48 pm
- Forum: Bug Reports
- Topic: Feature Request: Setup and Teardown sections in report
- Replies: 7
- Views: 4534
Feature Request: Setup and Teardown sections in report
Hi As an automator using Ranorex API I would like the Ranorex Report and Report class to have ability to specify Setup and Teardown sections for Test Cases that are hidden or have smaller visibility impact on whole report, so that I can create reports with greater readability. We use Ranorex to deve...
- Fri Nov 09, 2012 7:43 am
- Forum: Automation API
- Topic: Search Timeout
- Replies: 3
- Views: 2907
Re: Search Timeout
The timeout is different because you don't use repository item but create a new one from RxPath. Either use repository item or use this code: public void WaitForPromptDialog() { Ranorex.Form frmPrompt; bool found = Host.Local.TryFindSingle("/form[@controlname='Prompt']", new TimeSpan(0,1,0), out frm...
- Fri Nov 09, 2012 7:38 am
- Forum: Automation API
- Topic: Problem with TryFindSingle
- Replies: 7
- Views: 2537
Re: Problem with TryFindSingle
I've got nothing... other than generic did you try to increase timeout and could you post bigger piece of code and/or snapshot. Sorry.
- Thu Nov 08, 2012 7:58 am
- Forum: Automation API
- Topic: Problem with TryFindSingle
- Replies: 7
- Views: 2537
Re: Problem with TryFindSingle
Seems like it can not find a ATag but can find an Element. How does your PathToAnchor look like?
- Wed Nov 07, 2012 8:44 am
- Forum: Automation API
- Topic: Code Accessor Methods
- Replies: 2
- Views: 1998
Re: Code Accessor Methods
http://msdn.microsoft.com/en-us/library ... s.80).aspx
This should work:
This should work:
public static string dateAttached { get { return _dateAttached; } set { _dateAttached = value; } }
- Wed Nov 07, 2012 7:40 am
- Forum: General Questions
- Topic: Could I find and select text in Textarea?
- Replies: 22
- Views: 5845
Re: Could I find and select text in Textarea?
@Markus: We have used coordinate based approach in one case where we use this control. We did not try image based comparison (last time we tried it somewhere else it didn't seem to work and so we don't have much experience with that). Both solutions work only in certain situations so we were looking...
- Tue Nov 06, 2012 8:07 am
- Forum: General Questions
- Topic: Could I find and select text in Textarea?
- Replies: 22
- Views: 5845
Re: Could I find and select text in Textarea?
If I can hijack this thread I'd like Support to look at my snapshot. (If i can't feel free to move this post.) I have almost the exact same scenario. Text control with some of the text being links. I'd like to be able to know where to click. For me it's a windows application in WinForms I think. 'So...
- Fri Nov 02, 2012 8:41 am
- Forum: Automation Tools
- Topic: Ranorex rxlog file
- Replies: 4
- Views: 3067
Re: Ranorex rxlog file
We don't even rename the files. Just send all the files generated by Ranorex: rxlog, xsl, png, and all the images. When opening the rlog select Internet Explorer as a default application to use and you should be good to go. We had problem with Chrome and I think Mozilla.
- Thu Nov 01, 2012 10:04 am
- Forum: General Questions
- Topic: Pros and cons with using Ranorex Studio vs Visual Studio
- Replies: 11
- Views: 5371
Re: Pros and cons with using Ranorex Studio vs Visual Studio
There already was a post very similar to this. But in my opinion when writing tests in code you are better off with VS. If you use recordings you should choose Ranorex Studio.
- Thu Nov 01, 2012 10:00 am
- Forum: General Questions
- Topic: Could I find and select text in Textarea?
- Replies: 22
- Views: 5845
Re: Could I find and select text in Textarea?
We have almost exact scenario. We have a control with text in it where some text is clickable and some not. We would like to find ad click a certain string within a text box. I haven't looked into a GDI plugin as we only needed to click one text so far so we got away with clicking a pixel but having...
- Fri Oct 26, 2012 7:43 am
- Forum: General Questions
- Topic: Find, FindSingle and 'partial' ranorexPaths
- Replies: 2
- Views: 4622
Re: Find, FindSingle and 'partial' ranorexPaths
Try:
http://www.ranorex.com/support/user-gui ... xpath.html
EDIT:
Fixed example according to input from Support.
Ranorex.FlexElement elem = myWebDocument.FindSingle[".//checkbox[@id='myUniqueID']");And read this to learn more about RxPath:
http://www.ranorex.com/support/user-gui ... xpath.html
EDIT:
Fixed example according to input from Support.