我必须从表中获取下面的web元素,以验证是否创建了这样的记录,那么使用哪一个是正确的web get()元素?
表:文章源自玩技e族-https://www.playezu.com/193465.html
我编写了以下代码:文章源自玩技e族-https://www.playezu.com/193465.html
public void record_created_successfully_Mthree() throws Throwable {
String expected_opttype = "";
String actual_opttype = driver.findElement(By.)
if (expected_opttype.equals(actual_opttype)) {
System.out.println("2. Created Successfully!");
}else{
System.out.println("2. Create Unsuccessful!");
}}
软件测试软件文章源自玩技e族-https://www.playezu.com/193465.html 文章源自玩技e族-https://www.playezu.com/193465.html
评论