Automating Regions in test runs
Vijayalakshmi — Oct 14, 2016 01:54PM UTC
Is there any way that we can give Ignore region, Floating Region etc., in our scripting to automate that instead of marking the regions in Applitools studio manually ?
Like eyes.setMatchignLevel(), is there anything like setregions () ?
3 Community Answers
Matan Carmi - Oct 14, 2016 at 05:15PM UTC
Thanks for reaching out!
This feature is in our roadmap and will be available soon.
Reut - Nov 14, 2017 at 07:38AM UTC
Hey, is this feature available now to automate?
Yarden Naveh - Nov 14, 2017 at 10:24PM UTC
Yes. Today it is possible by using our fluent interface.
In Java that would be like the following:
ICheckSettings target = Target.window().ignore(element).floating(region, maxUpOffset, maxDownOffset, maxLeftOffset, maxRightOffset); eyes.check("tag", target);
Note that you can daisy-chain as many ignore/floating elements as you need.