Should selenium tests be written in imperative style?

Posted by Amogh Talpallikar on Programmers See other posts from Programmers or by Amogh Talpallikar
Published on 2013-10-16T12:41:52Z Indexed on 2013/10/31 4:19 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

Is an automation tester supposed to know concepts of OOPS and design patterns to write Tests in a way where changes & code re-use are possible?

For example, I pick up Java to write cucumber step definitions that instruct a selenium webdriver.

Should I be using a lot of inheritance, interfaces, delegation etc. to make life easier or would that be overly complicated for something that should just line by line instructions?

© Programmers or respective owner

Related posts about java

Related posts about bdd