Forum Discussion

Sawyer's avatar
Sawyer
New Contributor
2 years ago

How to compare web content

Hello:

I am a beginner.

Now I want to use 'record Keyword test' to compare the content between the two websites.

To be specificI want to find out if two different websites have the same words or sentence.

How can I do that?

Thanks!!!

 

  • It's best for you to learn the tool first, see Getting Started With TestComplete

     

    A simple solution would be to save the contents of the first website to a file; perform the same for the second website, and then compare the two files. TC will show the differences between the two files, from here you can work out if the content is different.

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    It's best for you to learn the tool first, see Getting Started With TestComplete

     

    A simple solution would be to save the contents of the first website to a file; perform the same for the second website, and then compare the two files. TC will show the differences between the two files, from here you can work out if the content is different.

    • Sawyer's avatar
      Sawyer
      New Contributor

      Thank you for you advice. I'll try.