So I have an excel with several links and my UI automatation consists in getting each of those links opening up in the browser and extracting the price.
The problem is that this web page shows 3 types of prices:
- Normal Price
- Discount Price
- Special Discount Price (for members clients).
Some times the product shows only the normal price, other times it shows the Normal Price and the Discount Price, and other times it shows the Normal Price, discount Price and the special Price.
How would you guy scrape it?
I tried to use Find Element Activity too find the container of prices, then if it found the container of prices, I would use Find Relative element to look for the Special Price.
If it didnt find the special price I would use Find Relative element to look for the Discount Price,
And if it didnt find that it would use de Find Relative element to find the Normal Price,
once it found the normal price I would use Get Text and finally Write Cell.
It hasent given me the best results, What would you guys think is te best way??