摘要:
selenium访问块元素的样式属性http://blog.chinaunix.net/uid-2311783-id-2546842.htmlselenium访问块元素的样式属性selenium在ui测试中应用很普遍,对简单的website界面墨盒测试使用记录和回放就能满足要求了,但对一些较复杂的操作比较和验证就相对较难些。因为中文资料不多,英文资料也比较抽象。所以使用它来测试要看的东西也很多。 这次主要遇到一个问题,让验证当前选中的div块背景为blue. <div id="app-info-item" class="selected-item" 阅读全文
摘要:
http://testing.etao.com/node/141selenium xpath的element打死都找不到一个自动化的case fail了,追踪下来,发现是一个xpath的locator怎么都找不到。如下: URL: http://search.taobao.com/search?q=%B0%FC&style=list&bucket_id=1 java.lang.AssertionError: ge, 你真的没在啊, locator: //div[@id='list-content']/ul[@class='list-view hlisti 阅读全文