I have a situation where i have a page in that i will add a sale once i add sale that will display in sale summary screen. My question is that how to check that sale is added or not? In this summary screen all records are not unique.
If you can get the text of the summary screen then you can test to see if certain expected words/numbers are in the text. It is probably better if there is a standard format for the summary, in which case you can use a regular expression to check that it contains specific items in a specific order.
If you had to identify, in one word, the reason
why the human race has not achieved, and never
will achieve, its full potential that word would be "meetings".