Forum Discussion

Sawyer's avatar
Sawyer
New Contributor
10 months ago
Solved

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.

2 Replies

  • 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.