I started to write JBehave stories and steps and also page objects. Some
examples of JBehave contain page objects, so I thought this is a good idea.

But now I ask myself what advantage there is if I write page objects? The
steps which I write are re-usable and I can structure them in a similiar
way like page objects (per page for instance).

Even today some people use JUnit for running GUI tests. I understand that
you need page objects with JUnit, because of re-usability and readability.

But JBehave has its steps which are re-usable and readable, so why should I
write page objects addionally? I see no advantage but more effort.

Did I overlook something? What would the disadvantage be of not using page
objects with JBehave?

Reply via email to