[Webtest] Should Steps more rely upon HTML or FormElements of
Thu, 29 Jul 2004 09:50:26 +0200
without precisions on what you want to do, I can't give an answer.
Take care that we want to move from httpunit to htmlunit.
Roman Moukhine [ram] wrote:
> Hello everybody
> What is the best strategy to implement Steps which are working with form elements?
> Assuming our class extends VerifyFormFields or Verify
> 1-st approach:
> Use WebForm forms = <Step>.getValidForms(context, getFormname());
> 2-nd approach:
> elements = context.getLastResponse().getDOM()
> and then processing using DOM API or XPATH .
> Thank you for your opinions?
> best regards