Ask a Question

Webcomparision checkpoint

SOLVED
aa1
Contributor

Webcomparision checkpoint

Hello,

 

I have been working on a test case. The requirement is to save the HTML pages from the website into a folder so that I can create a webcomparision checkpoint and we can compare the saved page Vs. the active page at runtime. I save the HTML pages using the Ctrl+s keys from windows. At run time I browse to the page I am compare, create a webcomparision checkpoint and compare it with the saved page. Everything is done via a script. Also, I am checking only the HTML tag elements and not the content.

 

When I run the test, it compares the two pages and fails. The details show that the HTML tags are different for both the pages. One is saved via CTRL+S and the other one via  "Compare only Tag Structure feature in webcomparison checkpoint. How does it make a difference? it should be exactly the same in my view since it is the same page.

 

Any ideas?

 

Thanks

aa

2 REPLIES 2
Marsha_R
Community Hero

If you compare the pages manually, are the tags different?  If so, how do they differ?  Showing us an example would help.


Marsha_R
[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

Hi @Marsha_R ,

 

Thank you for the reply. I did compare the tags and they were different and I was trying to figure out why they were different. I found out that it was just because of the way I had selected the objects for name mapping. I re-recorded my steps and it worked fine.

 

thanks

aa

cancel
Showing results for 
Search instead for 
Did you mean: