Search found 14 matches

by keenon
Wed Dec 02, 2015 3:22 pm
Forum: General Questions
Topic: Got error while running test: Could not locate image for ID
Replies: 7
Views: 1527

Re: Got error while running test: Could not locate image for ID

Hey Felix,

Did you by chance update to the the latest version of Ranorex recently? The reason I ask this is because I ran into the same exact issue at one point and it at least seemed 100% related to updating. If this is the case I may have a workaround that you could try that worked for me.

Keenan
by keenon
Wed Sep 30, 2015 10:12 pm
Forum: General Questions
Topic: How do I change the length of time it searches for?
Replies: 2
Views: 1231

Re: How do I change the length of time it searches for?

Hi Stapes, I think I understand your question. If you are only trying to verify that an element is present before initiating a step in your recording you can use this code for your search instead. if(repo.AgileMobileApp.LoginPage.StandardLoginPage.AdvancedButtonInfo.Exists(10000)) This code should s...
by keenon
Wed Sep 16, 2015 9:58 pm
Forum: General Questions
Topic: GetValue when Element Tag could change
Replies: 3
Views: 1486

Re: GetValue when Element Tag could change

Thank you so much Pavel. This is exactly what I needed. I also found that before reaching the element during navigation, there is a clear indication that the tag will be innertext or tagvalue so I figure there are also other ways to write this as well, but I will be using what you mentioned. I appre...
by keenon
Mon Sep 14, 2015 7:29 pm
Forum: General Questions
Topic: GetValue when Element Tag could change
Replies: 3
Views: 1486

GetValue when Element Tag could change

Hi All, I am running into an issue trying to getvalue of a specific element. The element has the chance to either be innerText or TagValue depending upon how the number is stored. I would like to create a method to first check what tag the number is stored in and then get that value based on that ta...
by keenon
Mon Aug 17, 2015 8:53 pm
Forum: General Questions
Topic: Issue with Image Validation
Replies: 6
Views: 1618

Re: Issue with Image Validation

Well I have some good news Markus. The good news is that I was able to fix the problem is version 5.4. The bad news that I'm not really sure what was wrong or how the steps I took fixed the issue. It seems like there was an issue with the repository in some way. All I did was copy the exact module o...
by keenon
Fri Aug 14, 2015 7:41 pm
Forum: General Questions
Topic: Issue with Image Validation
Replies: 6
Views: 1618

Re: Issue with Image Validation

Hey Markus, So I installed version 5.3.3 and copied over the exact test...repositories items and everything. Sure enough the test actually works in 5.3.3 without issue. Weird thing I noticed is that if I run the test case for these 2 modules, then I see the issue. If I run each individually back to ...
by keenon
Thu Aug 13, 2015 8:21 pm
Forum: General Questions
Topic: Issue with Image Validation
Replies: 6
Views: 1618

Re: Issue with Image Validation

Hi Markus, I am currently using version 5.4 and running the tests on IE11. I honestly am not sure if the validation has worked since I updated to 5.4 because I was working on updating many of our other modules since then. I am installing version 5.3.3 on another machine and seeing what the result is...
by keenon
Wed Aug 12, 2015 7:49 pm
Forum: General Questions
Topic: Issue with Image Validation
Replies: 6
Views: 1618

Issue with Image Validation

I have many many instances of image validation within my AUT, but only have issues with one particular part. The validation was working without issue last week, however now I receive the following error with each image compare in this recording module only. Could not locate image for ID '10b52eba-69...
by keenon
Fri Jul 31, 2015 9:42 pm
Forum: How To …
Topic: How to skip steps if element does not exist
Replies: 8
Views: 7304

Re: How to skip steps if element does not exist

Wow I feel silly lol. Thanks krstcs that worked perfectly as well and is much shorter/simpler. You da real MVP.
by keenon
Thu Jul 30, 2015 8:39 pm
Forum: How To …
Topic: How to skip steps if element does not exist
Replies: 8
Views: 7304

Re: How to skip steps if element does not exist

Actually I went about it using a combination of what you described and another way. I figured I might as well share for anyone else faced with this problem. public void Validate_Income() { bool someIncome; someIncome = myRepo.myForm.buttonInfo.Exists(); if(someIncome) { do something } }
by keenon
Thu Jul 30, 2015 7:32 pm
Forum: How To …
Topic: How to skip steps if element does not exist
Replies: 8
Views: 7304

Re: How to skip steps if element does not exist

Thank you so much Jason. Sorry it took so long, but I finally got around to working on this again and your solution worked perfectly. It's actually rather simple as well like you mentioned. This will open endless possibilities for now! You made my day.
by keenon
Wed Jul 29, 2015 9:10 pm
Forum: General Questions
Topic: Check/Uncheck Checkbox based on Element Class
Replies: 3
Views: 2283

Re: Check/Uncheck Checkbox based on Element Class

You my friend are a life saver! I got it working exactly how I want it with your help. I appreciate all of your help!
by keenon
Wed Jul 29, 2015 8:00 pm
Forum: General Questions
Topic: Check/Uncheck Checkbox based on Element Class
Replies: 3
Views: 2283

Check/Uncheck Checkbox based on Element Class

Hello, c# noobie here. I have a checkbox that does not contain the checkbox attribute and it appears the only difference between checked and unchecked is the element's class. Checked <a title="Click to switch between your retirement and pre-retirement views" class="RetirementToggleButton RetirementT...
by keenon
Thu May 28, 2015 6:36 pm
Forum: How To …
Topic: How to skip steps if element does not exist
Replies: 8
Views: 7304

How to skip steps if element does not exist

I am currently working with client data which obviously will vary from client to client (# of different assets, income, etc.) The way I have this recording setup is so that it will get the value of each income per client. I'd like to continue grabbing the income until there are no more income values...