Creating a shape such as...
nonsense_nonsense_nonsense_nameinCsharp_nonsense
It's best to write Selenium tests that latch onto ids not with one-for-one magic string matching but instead by checking to see if the id contains the really important part such as "nameinCsharp" in the circumstance above. This should make the tests less brittle.
No comments:
Post a Comment