That way if you ever have to change the way you search, you can change it in one place and it gets fixed in all your test scripts that call that module.
使用这种方式,如果您在某一时间必须修改您搜索的方法,您可以在一个地方修改它,它会在您所有调用该模块的测试脚本中生效。
In addition, you reduce the number of lines to perform a search from three to one in all you test scripts.
除此之外,您在您所有的测试脚本中,减少了执行一个搜索的代码行数量,从三个减少到一个。
Using a view, all the data needed for every kind of search is in one place, even though the live data actually lives in other tables.
使用视图,各类搜索所需的所有数据都在一个位置,但是活动数据实际上存在于其他表中。
应用推荐