Search found 31 matches
- Wed Sep 23, 2015 9:52 am
- Forum: General Questions
- Topic: Upgrading to 5.4.1 has slowed all our tests
- Replies: 3
- Views: 1299
Re: Upgrading to 5.4.1 has slowed all our tests
Thanks for this. We have tried the idea of changing @id = to #id and it has made no difference. As you will see from my original post, we are aware of the potential benefits of giving more of the path via rooted folders however given the size of our project this is a big job and what I would like to...
- Mon Sep 21, 2015 10:50 am
- Forum: General Questions
- Topic: Upgrading to 5.4.1 has slowed all our tests
- Replies: 3
- Views: 1299
Upgrading to 5.4.1 has slowed all our tests
We use Specflow in Visual Studio to run our automated tests and reference Ranorex DLLs where we perform identification and manipulation of web elements. Since upgrading from 5.3.2 to 5.4.1 our test times have massively increased, even doubling in some instances. To get the speeds back up we have tri...
- Tue May 01, 2012 10:28 am
- Forum: General Questions
- Topic: TryFindSingle case insensitive
- Replies: 5
- Views: 1941
Re: TryFindSingle case insensitive
Hi,
it's not an escaping issue:
".//td[@innertext='abc\\abc']"
works and
".//td[@innertext~'(?i:abc\\abc)']"
does not work, but does work in Spy
Help!
it's not an escaping issue:
".//td[@innertext='abc\\abc']"
works and
".//td[@innertext~'(?i:abc\\abc)']"
does not work, but does work in Spy
Help!
- Tue May 01, 2012 3:03 am
- Forum: General Questions
- Topic: TryFindSingle case insensitive
- Replies: 5
- Views: 1941
Re: TryFindSingle case insensitive
No, it may contain \\, but I don't think that can be the problem because it works in Spy.
- Mon Apr 30, 2012 3:00 pm
- Forum: General Questions
- Topic: TryFindSingle case insensitive
- Replies: 5
- Views: 1941
TryFindSingle case insensitive
I am trying to use the path below to find a matching username but it is not being found. string XPath_to_find_user = ".//td[@innertext~'(?i:"+ User_name) +")']"; if(User_table.TryFindSingle<TdTag>(XPath_to_find_user,30000, out Found)) { Found.Click(); } If I try the same path in the Spy it works per...
- Tue Feb 07, 2012 1:53 pm
- Forum: Automation API
- Topic: Disabled select box showing as enabled
- Replies: 2
- Views: 2080
Re: Disabled select box showing as enabled
That works. Thanks!
- Tue Feb 07, 2012 12:59 pm
- Forum: Automation API
- Topic: Disabled select box showing as enabled
- Replies: 2
- Views: 2080
Disabled select box showing as enabled
I need to check if a select box is enabled. The HTML says: <select name="LocationId" tabIndex="3" id="LocationId" data-val-required="The LocationId field is required." data-val="true" disabled=""> This is showing as greyed out and disabled in the browser. However when I look at it with spy, the sele...
- Fri Jan 27, 2012 11:31 am
- Forum: Automation API
- Topic: Ranorex reporting from Visual Studio
- Replies: 4
- Views: 3769
Re: Ranorex reporting from Visual Studio
Whoops, the answer is that Case and Module were the wrong way round. It should be: TestReport.Setup(ReportLevel.Debug, "report.rxlog", true); TestReport.BeginTestSuite("Testsuite"); TestReport.BeginTestCase("Testcase"); TestReport.BeginTestModule("Testmodule"); Report.info("Something to log"); TestR...
- Fri Jan 27, 2012 10:51 am
- Forum: Automation API
- Topic: Ranorex reporting from Visual Studio
- Replies: 4
- Views: 3769
Re: Ranorex reporting from Visual Studio
Before I saw this I got it more or less working using something like: TestReport.Setup(ReportLevel.Debug, "report.rxlog", true); TestReport.BeginTestSuite("Testsuite"); TestReport.BeginTestModule("Testmodule"); TestReport.BeginTestCase("Testcase"); Report.info("Something to log"); TestReport.EndTest...
- Wed Jan 25, 2012 12:48 pm
- Forum: Automation API
- Topic: Ranorex reporting from Visual Studio
- Replies: 4
- Views: 3769
Ranorex reporting from Visual Studio
I am using Visual Studio to access the Ranorex API and my tests are running fine, but how do I use the Ranorex reporting tools?
- Mon Jan 23, 2012 3:25 pm
- Forum: Automation API
- Topic: Webdoc identification problem
- Replies: 1
- Views: 1806
Webdoc identification problem
I have a webdocument, which I'm using to navigate to a url:
webdoc.navigate(url);
this works fine but on the next line I then try to close the browser:
webdoc.close();
and it fails with the error: Action 'close' failed on element '{WebDocument:IE}'. Invoke timed out.
What am I doing wrong?
webdoc.navigate(url);
this works fine but on the next line I then try to close the browser:
webdoc.close();
and it fails with the error: Action 'close' failed on element '{WebDocument:IE}'. Invoke timed out.
What am I doing wrong?
- Mon Jul 11, 2011 2:18 pm
- Forum: Automation API
- Topic: Identifying the scroll bar on a div
- Replies: 1
- Views: 2369
Identifying the scroll bar on a div
I have got a table within a scrollable div on a webpage. I am trying to doubleclick specific rows in the table to select the items to a second table below. My problem is that if a row isn't visible, Ranorex will still think it has found and clicked it. I have tried focus and ensurevisible but no joy...
- Fri Jun 24, 2011 12:36 pm
- Forum: Automation API
- Topic: Column index of header
- Replies: 1
- Views: 1974
Re: Column index of header
Solved it - My_header.Element.ChildIndex;
- Fri Jun 24, 2011 11:31 am
- Forum: Automation API
- Topic: Column index of header
- Replies: 1
- Views: 1974
Column index of header
If I have identified a ThTag, how can I find out its column index within the table?
- Tue Jun 07, 2011 11:15 am
- Forum: Automation API
- Topic: Web document caption
- Replies: 5
- Views: 2328
Re: Web document caption
Thanks, that solved the problem.