Search found 38 matches
- Mon Aug 17, 2020 7:12 pm
- Forum: Automation API
- Topic: Forcing maintenance mode
- Replies: 1
- Views: 1618
Forcing maintenance mode
I am using some custom code to report some failures while comparing a large data table. I concat all of the failures into one string, and report that single string as a Report.Fail. I know the Maintenance Mode cannot help me resolve the actual failures I am seeing, but I would like to pause the test...
- Mon Aug 17, 2020 5:57 pm
- Forum: Automation API
- Topic: Getting CurrentTestContainer ReportLevel
- Replies: 3
- Views: 1820
Re: Getting CurrentTestContainer ReportLevel
When I say that I cannot use it in code, I can see it while debugging, but don't know how to actually USE it in my user code logic. Forgive me if it is simple code, I am not a programmer, just a tester who was thrown deep into user code. I just basically need this if (ReportLevel == Debug) { do this...
- Mon May 18, 2020 5:54 pm
- Forum: Automation API
- Topic: Getting CurrentTestContainer ReportLevel
- Replies: 3
- Views: 1820
Getting CurrentTestContainer ReportLevel
I have some code I would like to run, only if the current report level is Debug. I can use the current test suite debug level in the TestSuite.Current.ReportLevel, but since each container or test case can have a level other than Inherit, I need to know the actual report level of the test container....
- Tue Mar 24, 2020 9:19 pm
- Forum: Automation API
- Topic: Validating multiple items with snapshot
- Replies: 5
- Views: 1946
Re: Validating multiple items with snapshot
Thank you very much! I took your example, and adapted it to work for my situation. However, I discovered that the snapshot was taking almost as long to grab as the individual validations took, so I wasn't saving much time. However, I gleaned from your example the use of the container elements, and m...
- Mon Mar 23, 2020 2:20 pm
- Forum: Automation API
- Topic: Validating multiple items with snapshot
- Replies: 5
- Views: 1946
Re: Validating multiple items with snapshot
The problem with the "entire table" code, is that isn't a table, and I use this code group about 5,000 times in my AUT. So creating a snapshot and storing them for each test case would be impractical. I took a new snapshot with screen shots and uploaded it. When you say to use a single XPATH that ge...
- Mon Mar 23, 2020 5:41 am
- Forum: Automation API
- Topic: Validating multiple items with snapshot
- Replies: 5
- Views: 1946
Validating multiple items with snapshot
Our AUT has a lot of totals sections, and once a screen is loaded, they do not change. However, when using the standard Validate.AttributeEquals, Ranorex has to find each element. When I am doing 20 separate validations on one page, this can take some time. So, I am looking for a method to speed up ...
- Thu Jan 30, 2020 3:21 pm
- Forum: Object Identification and Technologies
- Topic: Creating DataTable from Table
- Replies: 7
- Views: 2007
Re: Creating DataTable from Table
Looks like it was in the API, just not where I was looking: var table = repo.RanorexVIPDatabaseTestWebApplicatio.table; ElementSnapshot snap = ElementSnapshot.Capture(table, false, false); snap.SaveToFile("snap.rxsnp", true); API Documentation: https://www.ranorex.com/Documentation/Ranorex/html/M_Ra...
- Tue Jan 28, 2020 5:05 pm
- Forum: Object Identification and Technologies
- Topic: Creating DataTable from Table
- Replies: 7
- Views: 2007
Re: Creating DataTable from Table
Unfortunately, my company would prefer I don't post specific items in the forum. I will open a support ticket with Ranorex, and just report back what we figure out
- Mon Jan 27, 2020 6:16 pm
- Forum: Object Identification and Technologies
- Topic: Creating DataTable from Table
- Replies: 7
- Views: 2007
Re: Creating DataTable from Table
Ok, so the major issue I am running into now, is that the snapshot is grabbing the entire application. Because of the way we built our application, there are some drop downs in inactive tabs that contain thousands of list items, ant it causes snapshots to take over a minute to create. Even though th...
- Fri Jan 24, 2020 3:40 pm
- Forum: Object Identification and Technologies
- Topic: Creating DataTable from Table
- Replies: 7
- Views: 2007
Re: Creating DataTable from Table
That's exactly what I was looking for, thank you! I think I can start there and get to where I want to go
- Fri Jan 24, 2020 3:39 pm
- Forum: Object Identification and Technologies
- Topic: Validating prints
- Replies: 11
- Views: 2567
Re: Validating prints
Maybe I just didn't have the GDI capture on before for Acrobat...
But now I'm getting an IPC error when I get to it.
Guess it's time to update to 9.2.1 (Still on 9.1.2) and see if that fixes it
But now I'm getting an IPC error when I get to it.
Guess it's time to update to 9.2.1 (Still on 9.1.2) and see if that fixes it
- Thu Jan 23, 2020 7:38 pm
- Forum: Object Identification and Technologies
- Topic: Creating DataTable from Table
- Replies: 7
- Views: 2007
Creating DataTable from Table
We do a lot of grid validations in our automation, and it can become a little cumbersome with larger projects. I've gotten pretty good at working with Datatable objects in C#, and could easily use that to do many of my validations. However, I am at a bit of a loss on how I might be able to create a ...
- Thu Jan 23, 2020 7:19 pm
- Forum: Object Identification and Technologies
- Topic: Validating prints
- Replies: 11
- Views: 2567
Re: Validating prints
Well, it's simple enough for me to attach a zipped up PDF with the files, so I have attached it to this post
- Tue Jan 21, 2020 9:30 pm
- Forum: Object Identification and Technologies
- Topic: Validating prints
- Replies: 11
- Views: 2567
Re: Validating prints
Firefox, Edge, Chrome, Adobe PDF... None of them really work. We really need a solid solution for validating printouts, and I'm beginning to suspect it is out of the reach of Ranorex. Does anyone have any experience with PDF comparison tools? We could easily have a reference PDF for comparing, thoug...
- Tue Dec 03, 2019 8:44 pm
- Forum: Automation Tools
- Topic: Using Magic Merger locally
- Replies: 1
- Views: 2018
Using Magic Merger locally
I have several "branches" of our automation that are actually SVN copies, so the typical merge does not work. I can make local merging work, but I cannot for the life of me get the magic merger to run locally. It just complains that it needs parameters. The expected format is published as this: Rano...