cancel
Showing results for 
Search instead for 
Did you mean: 

Screenshot Comparisons through DOM

SOLVED
Contributor

Screenshot Comparisons through DOM

Hi,

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

 

Regards,

Naveen

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Manager

Re: Screenshot Comparisons through DOM

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.

 

 

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

4 REPLIES 4
Community Hero

Re: Screenshot Comparisons through DOM

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?

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
Community Manager

Re: Screenshot Comparisons through DOM

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.

 

 

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

Contributor

Re: Screenshot Comparisons through DOM

Hi,

 

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

 

Regards,

Naveen...

 

Community Hero

Re: Screenshot Comparisons through DOM

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.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors