我正在研究 Selenium WebDriver 以及我用 Java 编写的代码。
我的方案是比较Page Title,Sub tilte,Graph,Chart Data与FE匹配。
Page Title,Sub tilte, Graph, Chart Data
我需要存储在Property文件中,然后我需要与FE进行比较。
页面标题如下所示:
HTML如下:
<h2>
New PR's
<p>Month Wise Overall New PR's </p>
</h2>
图表数据如下所示:
HTML:
div class="drilDownTabularDataWrapper">
<h3>Month Wise Overall New PR's - Jan 2014 To Jun 2014 - Chart Data</h3>
<table class="drilDownTabularData" width="950">
</div>