In Ranorex 2.3.3, the report successfully shows if a validation fails. And in doing so, it shows what was searched and what was found.
I'm wondering if there is any way that I can have the same happen if the validation succeeds? This way if I have to send out my results and someone wants to know exactly what i was validating against, they will know just by referencing the results.
Getting Compared and Success image Validation to show
-
- Posts: 14
- Joined: Thu Aug 12, 2010 10:37 pm
Re: Getting Compared and Success image Validation to show
I've not tried it but I think you should be able to use the Imaging.CaptureCompressedImage command.
See here: http://www.ranorex.com/forum/access-ima ... t1482.html
See here: http://www.ranorex.com/forum/access-ima ... t1482.html
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
- artur_gadomski
- Posts: 207
- Joined: Mon Jul 19, 2010 6:55 am
- Location: Copenhagen, Denmark
- Contact:
Re: Getting Compared and Success image Validation to show
I preffer Report.Screenshot() as it puts the screenshot into report by itself.
Re: Getting Compared and Success image Validation to show
Report.Screenshot() takes a screenshot of the existing screen.
I assumed that when he asked "exactly what i was validating against" that he meant what his validation base image was, which would be stored in the repository.
If my assumption was incorrect, and you just want a current screenshot, then yes Report.Screenshot() would be the way to go.
I assumed that when he asked "exactly what i was validating against" that he meant what his validation base image was, which would be stored in the repository.
If my assumption was incorrect, and you just want a current screenshot, then yes Report.Screenshot() would be the way to go.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
- artur_gadomski
- Posts: 207
- Joined: Mon Jul 19, 2010 6:55 am
- Location: Copenhagen, Denmark
- Contact:
Re: Getting Compared and Success image Validation to show
Doesn't Imaging.CaptureCompressedImage capture an element from the screen?
You can do the same by providing element to Screenshot method.
If you want show image stored in a repository, then I don't know how to do that.
You can do the same by providing element to Screenshot method.
If you want show image stored in a repository, then I don't know how to do that.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Getting Compared and Success image Validation to show
Hi,
Regards,
Peter
Ranorex Team
Sorry but at the moment it is not possible to get the screenshots of the repository. Your requested feature "Also show on success the two screenshots" is on our road-map and will be available in a future release of Ranorex. We will provide the possibility to get screenshots from the repository, too.artur_gadomski wrote: If you want show image stored in a repository, then I don't know how to do that.
Regards,
Peter
Ranorex Team
-
- Posts: 14
- Joined: Thu Aug 12, 2010 10:37 pm
Re: Getting Compared and Success image Validation to show
Thanks for the Feedback, I'll look forward to the new release.