I am trying to learn automation testing with Selenium.
Today I faced a web page where all variables are defined as dynamic ID. There are no other solutions. XPath knowledge doesn't help - I have tried full path method and certain node XPATH methods but nothing helped. Even css files do contain dynamic ID-s.
I found a way to ignore ID-s using a program called "Sikuli". It compares made screenshots with the exact same on the web page + I can configure what will be % of pixels.
But here is the main question: Is there any other way to handle this kind of web page? Is it the onliest way to handle it?
Aucun commentaire:
Enregistrer un commentaire