Forum Discussion

_Oliver_'s avatar
_Oliver_
Contributor
7 months ago
Solved

Compare two web pages (TestComplete/VisualTest)

Hi all, I use the TestComplete Advanced Bundle, which includes VisualTest. I'd like to (from TestComplete) be able to take screenshots of two different web pages and visually compare these screns...
  • _Oliver_'s avatar
    7 months ago

    I'm replying to myself (can be useful for others).
    I succeeded with taking a screen capture of the whole page with

    picture = page.PagePicture(); 

    in a js script, and then used the build-in keywordTests operation "Compare Pictures"