I worked a lot with Selenium browser automation software packages, and I found that the record re-opens the existing application design, while coding manages the design in a flexible and supported way.
In particular, the practice that I found best is to write a high level script, pretending that you don't know what the existing HTML markup says. Try to make the script readable.
open / click "Ask a question" type title, "What does ?SYNTAX ERROR ON 20 mean?" type body "This is an example question, asked by an automated testing robot." click "Ask your question"
If the script does not start, do not modify the script - change the HTML. Add identifiers or classes or headers to the elements where the script βtells youβ that it wants them. This will take a little longer, but it ensures that your script is easily accessible and obvious, and it simplifies further scripts.
source share