Search found 19 matches
- Mon Feb 01, 2016 5:14 pm
- Forum: How To …
- Topic: How to use FindChildren to loop through a //div
- Replies: 5
- Views: 4441
Re: How to use FindChildren to loop through a //div
Before I post a snapshot, I added that code and ran it (missing ; and a typo in there), and it is returning 'System.Collections.Generic.IList<string>' does not contain a definition for 'ToArray' and no extension method 'ToArray' accepting a first argument of type 'System.Collections.Generic.IList<st...
- Sun Jan 31, 2016 9:35 pm
- Forum: How To …
- Topic: How to use FindChildren to loop through a //div
- Replies: 5
- Views: 4441
How to use FindChildren to loop through a //div
Hello, I am looking for some help here. This is a bit more difficult than I can comprehend at the moment. I have a div, and inside it, there are 10 divs: div[@id='_ariaId_25'] div[@id='_ariaId_27'] div[@id='_ariaId_29'] div[@id='_ariaId_31'] etc I'm trying to make a bit of user code to use FindChild...
- Mon Jun 29, 2015 10:37 pm
- Forum: How To …
- Topic: How to restart the current iteration of a data driven test?
- Replies: 2
- Views: 2782
Re: How to restart the current iteration of a data driven test?
My issue is that the server gets busy during one of two popups that load during the iteration, and the browser tab simply cannot be salvaged, so I have to either 'continue on failure' which leaves a random row in my CSV file missing from the test case and also leaves an extra lingering IE browser wi...
- Fri Jun 26, 2015 1:05 am
- Forum: Object Identification and Technologies
- Topic: Difficulty identifying non-unique menu items
- Replies: 6
- Views: 2230
Re: Difficulty identifying non-unique menu items
That worked. I was able to identify everything in the app using container visible attribute, but now I'm having an issue on a specific view that seems to detonate Ranorex and cause it to disconnect from the device. The path to the item I am trying to tap is ../container[1]//titlebar[@accessibilityid...
- Thu Jun 25, 2015 8:57 pm
- Forum: Object Identification and Technologies
- Topic: Difficulty identifying non-unique menu items
- Replies: 6
- Views: 2230
Re: Difficulty identifying non-unique menu items
I am seeing all 4 create buttons as visible=true while i am viewing one of them, and I am also seeing 4 matches when i add accessibilitylabel='Create' The Container however, does seem to be visbile=true only for the active menu, so i think i can use this path snippet here to clean it up /container[@...
- Thu Jun 25, 2015 8:55 pm
- Forum: Object Identification and Technologies
- Topic: Difficulty identifying non-unique menu items
- Replies: 6
- Views: 2230
Re: Difficulty identifying non-unique menu items
Thanks a lot, I will investigate those two observations you made and see if I can hone in on anything. I am liking your visible=true for the active one. That might be the trick for me in this case.
I will report back as soon as I can find something new.
I will report back as soon as I can find something new.
- Thu Jun 25, 2015 7:40 am
- Forum: How To …
- Topic: How to restart the current iteration of a data driven test?
- Replies: 2
- Views: 2782
How to restart the current iteration of a data driven test?
Hello, I have a testcase that is inputting into an html form webpage about 10 variables of data from a csv file. Due to a network error, occaisionally, Ranorex will encounter a browser page loading error at a critical time that cannot be recovered from without closing/reopening the browser, so I wou...
- Wed Jun 24, 2015 1:45 am
- Forum: Object Identification and Technologies
- Topic: Difficulty identifying non-unique menu items
- Replies: 6
- Views: 2230
Re: Difficulty identifying non-unique menu items
Here is a snapshot of what I think is our entire iOS app, if it helps anyone figure out what I am talking about. My first issue is that every time I add a repository item, there are next to zero attributes that can be used to dynamically identify the item. My second issue is magnified by the first i...
- Wed Jun 24, 2015 1:39 am
- Forum: Object Identification and Technologies
- Topic: Difficulty identifying non-unique menu items
- Replies: 6
- Views: 2230
Difficulty identifying non-unique menu items
Hello, I am having some significant difficulty consistently identifying some particular menu items in an overflow menu. Our application has a Top Action Bar that has a menu button at the top right. Depending what View you are on, you will get options such as Reset, Create, Search, Sort, Help. 1) Cre...
- Thu Jun 11, 2015 7:01 pm
- Forum: Automation API
- Topic: Trouble selecting a checkbox with usercode
- Replies: 17
- Views: 6126
Re: Trouble selecting a checkbox with usercode
Hi, I believe you forgot to escape "." in changed xpath. This code shoud work... IList<Ranorex.ATag> foundTags = repo.VoloMP.TrackTable.Find<Ranorex.ATag>(@".//input[@tagvalue~'nhd6mid\.BG6uvr7i']/../..//a[#deleteMe]"); WHen i put that path fragment into SPy, it was alwasy returning only the first ...
- Thu Jun 11, 2015 6:59 pm
- Forum: Automation API
- Topic: Trouble selecting a checkbox with usercode
- Replies: 17
- Views: 6126
Re: Trouble selecting a checkbox with usercode
OMG I fixed it! The problem was the path to that delete button was too specific somehow, so I made it a bit looser and it instantly worked :) Here is my working code: public void Validate_TrackTable() { IList<Ranorex.ATag> foundTags = repo.VoloMP.TrackTable.Find<Ranorex.ATag>(@".//input[@tagvalue~'n...
- Thu Jun 11, 2015 6:34 pm
- Forum: Automation API
- Topic: Trouble selecting a checkbox with usercode
- Replies: 17
- Views: 6126
Re: Trouble selecting a checkbox with usercode
Thanks, I changed it from /table to /tabletag and it got rid of the error again, but its not entering into the foreach loop. I'm not trying to do anything you didnt paste me, except display log info: public void Validate_TrackTable() { IList<Ranorex.ATag> foundTags = repo.VoloMP.TrackTable.Find<Rano...
- Thu Jun 11, 2015 5:58 pm
- Forum: Automation API
- Topic: Trouble selecting a checkbox with usercode
- Replies: 17
- Views: 6126
Re: Trouble selecting a checkbox with usercode
Thanks for the reply. Your first reply was on a tangent but your second post looked like it was 100% accurate. I replaced refTable with the repo item, repo.VoloMP.TrackTable, but when I run the code, it says: Item 'VoloRepository.VoloMP.TrackTable' is no Table. The element does not support the requi...
- Thu Jun 11, 2015 1:44 am
- Forum: Mobile Testing
- Topic: Unresponsive / Slow Android App
- Replies: 3
- Views: 3642
Re: Unresponsive / Slow Android App
I contacted Ranorex support a couple weeks ago for the same issue, and they put one of their engineers on my issue, and the guy came back with a solution: See my attachment. He had me turn off that option under instrumentation settings while instrumenting the APK. Our app has a camera component, and...
- Wed Jun 10, 2015 8:52 pm
- Forum: Automation API
- Topic: Trouble selecting a checkbox with usercode
- Replies: 17
- Views: 6126
Re: Trouble selecting a checkbox with usercode
Ok, that solved the snapshot size issue. Thanks.
Am I safe to leave that option unchecked, or should I keep it? This isn't my normal project and I don't have that issue with my other one as there are no elements with such depth.
See attached.
Am I safe to leave that option unchecked, or should I keep it? This isn't my normal project and I don't have that issue with my other one as there are no elements with such depth.
See attached.