Automated test implementation (5)

Little things this week, did not even write the log ......

However, work still continues.

A few days ago, it has been a mistake in the circle. Like I said last time:

1, selenium IDE inherited verify method is implemented in python assert the presence of an exception is thrown in a list. Wait until after the tearDown reported directly in list form. The result is difficult to see, the boss is not acceptable;

2, automated test page after all, not unit testing, not simply wrong for right and wrong. Written case report generated every time there is always a lot of data waring and fail. TextResult difficult to see, the boss did not like.

 

Then I began considering solutions, look to realize ut, when considering modifying TestResult and TestRunner, later found TestCase may have to rewrite part of it. He was determined to re-implement their own ut. While writing with the process under consideration is not to sqlite to store the resulting data ......

Typical order to solve small problems caused big problems.

Wednesday decided to completely terminate this part of the work, this is not the focus of my work now. As long as the boss to see the number of scripts and test procedures, test results I can read on the line.

RC was later found to take an element of property actually get any, in the IDE is entirely possible, is really compare crash.

Then take the css property values ​​getAttribute get it working, so I get it working. Finally, even by comparison to get past the runScript pass. Middle also mad cramming for a while js.

Thursday afternoon began to engage testcase. This testcase written really dignitaries collapse, simply can not be tested according tc organization. Headache one afternoon, his own re-draw flowcharts, carding process structure and so much more. The embodiment now only to write these flowcharts, but also ask tester test points for each step. . .

 

Really inefficient week. .

Reproduced in: https: //www.cnblogs.com/c9com/archive/2010/08/20/1804771.html

Guess you like

Origin blog.csdn.net/weixin_33841722/article/details/93948271