首页 > 解决方案 > 我可以在不解析的情况下比较对象和字符串吗

问题描述

Object investorLoanDB = dbData.get("investorLoanNo");
    

chipAssert.assertEquals(investorLoan.getText(), investorLoanDB);

InvestorLoan 是 WebElement 类型。

标签: javaseleniumselenium-webdrivertestng

解决方案


推荐阅读