Search found 13 matches
- Tue Oct 05, 2010 8:50 pm
- Forum: Automation API
- Topic: How do I get next row using RanoreXPath
- Replies: 6
- Views: 4333
Re: How do I get next row using RanoreXPath
HI Peter, What you are suggesting below does not work. Try it youself. Using the Spy tool I have an example on www.ranorex.com page. go to this page and look at the table of items under the title: "Benefit with Ranorex". Lets say I want to get the next row that appears under the item "Excellent Obje...
- Mon Oct 04, 2010 6:22 pm
- Forum: Automation API
- Topic: How do I get next row using RanoreXPath
- Replies: 6
- Views: 4333
Re: How do I get next row using RanoreXPath
Thanks Peter and Sdaly, I was hoping to find a solution using RanorexPath to select the row based on a match of the previous row. Using the solution provided unfortunately I would have to modify the code, so that I: 1: Loop through all the rows in the table 2: When I find a match, then proceed to th...
- Sat Oct 02, 2010 11:44 am
- Forum: Automation API
- Topic: How do I get next row using RanoreXPath
- Replies: 6
- Views: 4333
How do I get next row using RanoreXPath
Hi, I want to get an element that points to the next row in a table on a web page, based on a text match of the previous row. I am using Visual Studio / C#. For example, I have the following relative path "./table/tbody/tr[@class='header']/th[@innertext='MySelectedRow']" where I am matching on the w...
- Mon Aug 02, 2010 11:02 am
- Forum: Automation API
- Topic: Automating multiple web documents in parallel
- Replies: 2
- Views: 2076
Automating multiple web documents in parallel
Hi I want to set up a process where by I automate different test procs with several browsers in parallel (using different threads). My problem is that: testScript1 needs to run on browser1 at URL1 and testScript2 needs to run on browser2 at the same URL1. and testScript3 needs to run on browser3 at ...
- Tue Jul 27, 2010 3:58 pm
- Forum: Automation API
- Topic: Clicking on a OptionTag invalidates parent SelectTag
- Replies: 4
- Views: 2515
Re: Clicking on a OptionTag invalidates parent SelectTag
Thanks, but I'm not sure if using the repository is a very satisfactory solution for me, because I tend to create a lot of objects with code by using the Find() function, FindChildren() and also manually building up XPath strings. Can you suggest another way to check? Can I check to see if an XPath ...
- Sun Jul 25, 2010 11:49 am
- Forum: Automation API
- Topic: Clicking on a OptionTag invalidates parent SelectTag
- Replies: 4
- Views: 2515
Clicking on a OptionTag invalidates parent SelectTag
Hi Team, I am trying to loop through all the OptionTag elements in a SelectTag (a drop down menu). I can loop through all the values but it seems that as soon as I click on an option tag, (which refreshes part of the web page), the Select Tag menu becomes invalid. I can no longer click on it. I have...
- Thu Apr 29, 2010 8:14 am
- Forum: Automation API
- Topic: Attempted Mouse click causes move to top left corner
- Replies: 1
- Views: 3551
Attempted Mouse click causes move to top left corner
Hi, I am testing a web application (with Ranorex C#) and at one point I need to confirm a dialog alert by clicking on the OK button. I simply perform the click method on the OK button using: repo.WebDocumentName.GenericTicketDialog.CloseButton.Click() he name of the button I have taken from the repo...
- Mon Apr 26, 2010 5:40 pm
- Forum: Automation API
- Topic: Ranorex mouse click is causing window to scroll
- Replies: 1
- Views: 2265
Ranorex mouse click is causing window to scroll
Hi, I have a web (java) application. When I try to program mouse click on a particular control in a dialog box, Ranorex actually moves the window - in fact it scrolls the whole web window partly out of view and fails to click in the desired location. I even did this using the Ranaorex recorder and o...
- Fri Apr 23, 2010 2:15 pm
- Forum: General Questions
- Topic: STA threading
- Replies: 9
- Views: 7001
Re: STA threading
Thanks Alex
This is really helpful. Now I understand why I cant use the background worker with the STA model.
Also, as you point out I only need a simple timer for my purpose, so I think I'll re write my module using a timer.
Regards,
Mark
This is really helpful. Now I understand why I cant use the background worker with the STA model.
Also, as you point out I only need a simple timer for my purpose, so I think I'll re write my module using a timer.
Regards,
Mark
- Wed Apr 21, 2010 6:25 pm
- Forum: General Questions
- Topic: STA threading
- Replies: 9
- Views: 7001
Re: STA threading
Hi, I seem to have resolved my STA Threading problem by relocating the Ranorex "FindSingle" function into the ProgressChanged method. In other words, I've put the Form search function into the GUI thread instead of the background worker thread. It seems as if we cant have the GUI interactive functio...
- Wed Apr 21, 2010 11:06 am
- Forum: General Questions
- Topic: STA threading
- Replies: 9
- Views: 7001
Re: STA threading
Hi I seem to be having the same problem. I dumbed down my application to a bare bones program (code below). I have a simple windows form with a single text box and a button. I have a separate thread that I start which executes in a loop looking for a particular windows form (alert). When it finds th...
- Fri Apr 16, 2010 7:14 pm
- Forum: Automation API
- Topic: How to loop through rows in a table
- Replies: 3
- Views: 9437
Re: How to loop through rows in a table
Thanks Peter Thats really helpful. Unfortunately I needed to reference tags that were lower down (within the /td element) I solved it as follows: foreach (TrTag row in repo.WebDocumentPureDeal.OpenPositionsWindow.TableBody.Find("./tr")) { IList<TdTag>cells = row.Find<TdTag>("./td"); ATag _securityCe...
- Thu Apr 15, 2010 4:52 pm
- Forum: Automation API
- Topic: How to loop through rows in a table
- Replies: 3
- Views: 9437
How to loop through rows in a table
Hi I am trying to automate a Java web app. There is a table in the application (that I want to control) which contains a number of rows (with about 8 columns). I wish to be able to loop through the rows in C# and then click on the first column if it contains a certain "innertext" value in the third ...