I have extract the specific data from 2 websites and compare them. My queries are -
When I run my proces, it is opening 2 websites 2 separate browser. so in that case Hoe I can compare one websites data with other. which activity I should use to move to another websites browser and compare. ?
If you are using multiple browsers, you can use the browser variable to store the browser instance, it will hold the updated selectors for a browser or page,
Create system.core.browser elements per open browser activity, This helps in future if you want to switch rapidly.
If single values you can use get text and use the string method to complete,
If table data srape the data and store in datable then compare using LINQ or datable functions.