Element-34 / py.saunter

sample framework for using selenium with python and page objects
Apache License 2.0
94 stars 35 forks source link

output from failing test not as readable/useful as in original Python Page Objects framework #9

Open mmaypumphrey opened 12 years ago

mmaypumphrey commented 12 years ago

See http://i.imgur.com/QRRZ3.png for an image of the output from one of my failing tests in the old Python Page Objects framework (bottom) and in the new Py.Saunter framework (top). I prefer the old framework's output for two reasons:

  1. The line of code that caused the failure looks just like I entered it when displayed by the old framework. In the new framework, it looks like some low-level debugger output, and is hence, much harder to read.
  2. The test case that failed is fairly clearly identified in the old framework via its docstring--"Search for 'NDA'". In the new framework, one has to look into logs/latest.xml to find any identifying information.

Is there any way that Py.Saunter can be tweaked/configured to make the default output better in these two areas?