Search found 20 matches
- Fri Jun 08, 2012 5:42 pm
- Forum: General Questions
- Topic: Ranorex and OCR
- Replies: 1
- Views: 2326
Ranorex and OCR
Does Ranorex support OCR? Say I'm testing a financial graphing tool such as Bloomberg for example, and I want to validate data on certain point. Assume that it's impossible to add the plotted point on the graph to the repository or get its xpath. Also assume that Ranroex does not support generating ...
- Thu May 31, 2012 8:52 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Re: Finding xpath dynamically or on the fly ...
But you are still doing something manually with spy. You are starting spy, moving the cursor to the button you want to examine and hitting the hotkey to get the path. You are still interacting manually with the AUT, nothing is being done automatically for you... No, what I want is to do what you de...
- Thu May 31, 2012 6:37 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Re: Finding xpath dynamically or on the fly ...
What I know before hand is that name of the application (Excel. It is an Excel add in) and the area where the buttons are (in a container). Okay, let me simplify the problem: When I manually use spy, it gets the path for me. Then I add the path to the project either in my code or to the repository. ...
- Wed May 30, 2012 6:50 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Re: Finding xpath dynamically or on the fly ...
Hi Ciege, the path I would like to ultimately get dynamically (at run time) is: /form[@processname='EXCEL']/element[@controlname='']/element/element[@controlname='_tabControl']/element/element/element[@controlname='_gbForwardPrices']/element[@controlname='_btnGenerate']/button[@accessiblename='Gener...
- Tue May 29, 2012 11:33 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Re: Finding xpath dynamically or on the fly ...
What does PushButtonName refer to? What attribute of the button is it? Also, RanorexFormName does not auto appear. In other words, it does not compile when I type it in Ranorex. Do I need to add a using directive? To reiterate, I DON'T want to hard code any values. What I need is something like this...
- Tue May 29, 2012 6:44 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Re: Finding xpath dynamically or on the fly ...
I guess my question got mixed up with the Excel example. The info you provided is great, and helps for finding different instances of an application. But the real question is simply, can I get the xpath of a UI control during run time? So, let's say I have an application called ABCTimeSheet. Let say...
- Mon May 28, 2012 6:38 pm
- Forum: General Questions
- Topic: Finding xpath dynamically or on the fly ...
- Replies: 11
- Views: 8158
Finding xpath dynamically or on the fly ...
Say I have 2 instances of Excel open. Here are the xpaths. Note the difference in @instance= /form[@processname='EXCEL' and @class='XLMAIN' and @instance='0']/element[@class='EXCEL2' and @instance='0']/container/element/element/container/button[@accessiblename='Maximize'] /form[@processname='EXCEL' ...
- Tue Apr 03, 2012 8:29 pm
- Forum: General Questions
- Topic: Ranorex XPath without Spy
- Replies: 3
- Views: 1913
Re: Ranorex XPath without Spy
There is an issue on step 2 at this link: http://www.ranorex.com/forum/create-snapshot-of-element-module-t2447.html The step says: Variables: SnapshotName The name of the Ranorex Snapshot file. ElementPath The RanoreXPath of the desired system under test. What do I name the SnapshotName variable? Fo...
- Thu Mar 29, 2012 6:51 pm
- Forum: General Questions
- Topic: Ranorex Can't find excel controls
- Replies: 2
- Views: 1898
Re: Ranorex Can't find excel controls
Thank you for your reply. After further investigation I figured out the problem. The issue was on my end, with mycode, not a Ranorex problem.
- Thu Mar 29, 2012 6:00 pm
- Forum: General Questions
- Topic: Ranorex XPath without Spy
- Replies: 3
- Views: 1913
Ranorex XPath without Spy
I have a situation where I have the Ranorex Developer licence installed in my machine (where I create the tests), and a runtime licence installed on another box where the test need to run. At one point in the test there is an error dialogue box that comes up and its OK button needs to be clicked to ...
- Wed Mar 28, 2012 6:30 pm
- Forum: General Questions
- Topic: Ranorex Can't find excel controls
- Replies: 2
- Views: 1898
Ranorex Can't find excel controls
All I'm trying to do is click the minimize, restore, or close button on the top right corner of Excel 2012. No matter what I try, Ranorex cannot find the the control and I keep getting the error in the report that the path cannot be found. In the case below, I'm just trying to move the mouse to the ...
- Mon Mar 12, 2012 10:13 pm
- Forum: General Questions
- Topic: How to tell if Pause/Abort has been pressed?
- Replies: 3
- Views: 2431
Re: How to tell if Pause/Abort has been pressed?
Thank you. Comparing the text of the e object works nicely.
- Mon Mar 12, 2012 6:31 pm
- Forum: General Questions
- Topic: How to tell if Pause/Abort has been pressed?
- Replies: 3
- Views: 2431
How to tell if Pause/Abort has been pressed?
Lets say I have some code that keeps clicking a button all day, until 2:00 pm, when the button disappears and Ranorex can stop: try { keepRunning: // while window visible, keep doing the following while (repo.FormAdd_Markets_to_Market_Da.ButtonDone.Visible) { repo.FormICE_Formula_Trader_Light.Contai...
- Thu Mar 08, 2012 12:33 am
- Forum: General Questions
- Topic: Java Program Freezes, Causing Ranorex to Crash
- Replies: 1
- Views: 1629
Java Program Freezes, Causing Ranorex to Crash
Hi, I'm not too sure how many people experience this issue, but I'm guessing it's rare. I'm testing a Java application that freezes at one point. After clicking a button to add some records, the UI freezes for some time while. That is how the application is supposed to work. The issue for me is that...
- Fri Mar 02, 2012 6:26 pm
- Forum: General Questions
- Topic: Can't iterate through a combo box to get the values
- Replies: 2
- Views: 2857
Re: Can't iterate through a combo box to get the values
Excellent. Thank you for this tip. It works very well for me!