Forum Discussion
How would you do this test manually? You're either comparing text or viewing the UI, right? TestComplete just does what a user would do.
What is it about comparing pictures that wouldn't work for you?
Hi Marsha
Thank you for your updates.
Manually we compare the screens but we also analyse the correctness of the text, the fonts type, etc.
We have target strings that need to appear exactly on UI.
Sometimes the UI renders differently on different screen sizes and text sizes as well as languages.
That's why we need more than 'a user would do'.
Thanks
- Marsha_R8 years agoChampion Level 3
I disagree. Comparing the fonts and such to see if they rendered properly on a particular screen is still what a manual test would do if you didn't have automation.
In any case, I think the pictures will still work for you. You take a baseline picture for ScreenSize1 with Language1 and save that. Use that in a checkpoint in your test to compare with what's actually on the phone. If anything doesn't match, then the test will fail. If you want more specific results, then take pictures of each field separately and do the checkpoints that way.
- HA8 years agoOccasional Contributor
That approach will require to generate hundreds or thousands of baseline pictures.
It would be good if the tool can grab the text displayed in the UI as it is and compared with the approved source target text.
This will simplify the process and easier to automate (cheaper since faster - no need to manually generate and verify thousands baseline pictures).
I hope TestComplete can accommodate this needs in the near future.
- Marsha_R8 years agoChampion Level 3
Okay, how about giving us an example of how this would work. I'm interested to see how you would have "approved source target text" without setting up baselines.
Related Content
- 13 years agoAnumakonda_mahe
- 2 months agoStoplight
Recent Discussions
- 2 hours agoSubhraDas
- 21 hours agotramuntana