Forum Discussion

Naveenks's avatar
Naveenks
Contributor
6 years ago

Screenshot Comparisons through DOM

Hi,

How I can compare and validate(Actual vs Expected) Screenshot through DOM?

 

Regards,

Naveen

 

  • Hi Naveenks,

    Do you want to compare the hierarchy of objects displayed in the Object Browser? The question isn't clear. 

    Could you please clarify your request? We will be happy to assist.

     

     

     

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Screenshot is an image. DOM is a text (or hierarchical tree structure if you like). Do you think they are comparable?

     

    What is your actual task / scenario / problem?

     

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Naveenks,

    Do you want to compare the hierarchy of objects displayed in the Object Browser? The question isn't clear. 

    Could you please clarify your request? We will be happy to assist.

     

     

     

     

    • Naveenks's avatar
      Naveenks
      Contributor

      Hi,

       

      I have a task assigned to compare screenshots with cross browser though DOM.

       

      Regards,

      Naveen...

       

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        I would go back and question that requirement for more detail.  As mentioned, DOM is HTML text... screenshots are images.  You really can't compare the two.