cancel
Showing results for 
Search instead for 
Did you mean: 

Webcomparision checkpoint

SOLVED
Highlighted
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

1 ACCEPTED SOLUTION

Accepted Solutions
aa1
Contributor

Re: Webcomparision checkpoint

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

View solution in original post

2 REPLIES 2
Community Hero

Re: Webcomparision checkpoint

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

aa1
Contributor

Re: Webcomparision checkpoint

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

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors