Hi,
Our automation test is an image-based test. When the UI is modified, we have to update the screenshots. So How should I do to replace them in batches once with the Ranorex ?
Or is there a better solution instead of swaping them one by one ?
BTW, it's sometimes a little bit different between 32-bit and 64-bit screenshots. So does someone have experience in keeping the two screenshots and validate them accordingly.
Many Thanks.
Will.
How to update screenshots in batches?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to update screenshots in batches?
Hi Will,
When the UI was modified you need to add new validation screenshots which show the updated UI. In order to update the output you need to rebuild the solution.
What do you mean with "sometimes a little bit different between 32-bit and 64-bit screenshots"?
Do you mean the 32-bit and 64-bit version of your application?
Regards,
Markus
When the UI was modified you need to add new validation screenshots which show the updated UI. In order to update the output you need to rebuild the solution.
What do you mean with "sometimes a little bit different between 32-bit and 64-bit screenshots"?
Do you mean the 32-bit and 64-bit version of your application?
Regards,
Markus
Re: How to update screenshots in batches?
Thank you for your reply. But that's not what I asked. I know that I have to add new validation screenshots when the UI is changed.Support Team wrote:Hi Will,
When the UI was modified you need to add new validation screenshots which show the updated UI. In order to update the output you need to rebuild the solution.
What do you mean with "sometimes a little bit different between 32-bit and 64-bit screenshots"?
Do you mean the 32-bit and 64-bit version of your application?
Regards,
Markus
The question is that there are a lot of screenshots that needs upgrading in one solution when the UI of our software is changed. So is it possible to ugrade screenshots onece by all instead of upgrading them by playing recordings one by one.
Here is my idea. Ranorex can save new screenshots temporarily when finding it different from before as running the testsuite. Then I will upgrade them by new screenshots once by all after finishing running.
Will
Re: How to update screenshots in batches?
Our automation test is an image-based test. And images are a little bit different between 32-bit and 64-bit version of our software. so is there an solution that can keep two images and validate them accordingly.Support Team wrote:Hi Will,
When the UI was modified you need to add new validation screenshots which show the updated UI. In order to update the output you need to rebuild the solution.
What do you mean with "sometimes a little bit different between 32-bit and 64-bit screenshots"?
Do you mean the 32-bit and 64-bit version of your application?
Regards,
Markus
Will
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to update screenshots in batches?
Hi Will,
May I ask you to discuss this feature request via email? Please send the email to [email protected] and please add the link to this forum post to the email's body.
Regarding the question about the different screenshots, you may need to use a global parameter or a module variable to distinguish which image should be used for the image validation.
You can save more screenshots to one repository item but there is no build in mechanism which allows you to automatically select/use the right screenshot for the right bit version. You therefore need to make this in UserCode or you could try using a smaller similarity factor.
Regards,
Markus
May I ask you to discuss this feature request via email? Please send the email to [email protected] and please add the link to this forum post to the email's body.
Regarding the question about the different screenshots, you may need to use a global parameter or a module variable to distinguish which image should be used for the image validation.
You can save more screenshots to one repository item but there is no build in mechanism which allows you to automatically select/use the right screenshot for the right bit version. You therefore need to make this in UserCode or you could try using a smaller similarity factor.
Regards,
Markus
Re: How to update screenshots in batches?
HI,Support Team wrote:Hi Will,
May I ask you to discuss this feature request via email? Please send the email to [email protected] and please add the link to this forum post to the email's body.
Regarding the question about the different screenshots, you may need to use a global parameter or a module variable to distinguish which image should be used for the image validation.
You can save more screenshots to one repository item but there is no build in mechanism which allows you to automatically select/use the right screenshot for the right bit version. You therefore need to make this in UserCode or you could try using a smaller similarity factor.
Regards,
Markus
I've already sent the email. Pls check your mailbox. Thanks for your replay.
BTW, QTP has this feature and you can try it. I hope Ranorex can add this amazing feature, which is very useful and also save me a lot of time.
Many Thanks.
Will.