It is very hard to say whats wrong. But, you show us an exception from
Selenium, NoSuchElementFound, that states that an element can't be
found. I see that as an indication that it can be a problem related to
Selenium and your web application and not Cucumber.
The way I would approach a problem like this is to remove piece by
piece until I got something that worked and then work my way back to
where I wanted to be.
I would start with validating that the steps I expected would be
called actually where called. This can be done with
System.out.println(); in those methods.
I would ignore Selenium before I knew if Cucumber where working as
expected or not. This would give me a smaller problem to work with and
with some luck a problem I can solve.
HTH
Thomas
>
>
>
> --
> Posting rules:
http://cukes.info/posting-rules.html
> ---
> You received this message because you are subscribed to the Google Groups
> "Cukes" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
cukes+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
Thomas Sundberg
M. Sc. in Computer Science
Mobile:
+46 70 767 33 15
Blog:
http://thomassundberg.wordpress.com/
Twitter: @thomassundberg
Better software through faster feedback