@Test(dataProvider = "data") public void FindGoodsPagePublicGoodsInfoCheck(ITestContext context, Map<String, String> data) { FindGoodsUnatestedFather.unattestedFindGoodsParpare(context, seleniumUtil); FindGoodsPageHelper.enterPage(seleniumUtil, FindGoodsPage.FGP_BUTTON_ADVANCESEARCH); FindGoodsPageHelper.typeFindGoodsInfo( seleniumUtil, data.get("FGP_INPUT_GOODSORIGINALCITY"), data.get("FGP_INPUT_GOODSRECEIPTCITY"), data.get("FGP_INPUT_STARTCARLONG"), data.get("FGP_INPUT_ENDTCARLONG"), data.get("FGP_INPUT_CARTYPE"), data.get("FGP_INPUT_GOODSNAME"), data.get("FGP_INPUT_WEIGHT_VOLUME"), data.get("FGP_START_WEIGHT_VOLUME"), data.get("FGP_END_WEIGHT_VOLUME")); FindGoodsPageHelper.enterPage(seleniumUtil, FindGoodsPage.FGP_BUTTON_SEARCH); seleniumUtil.waitForElementToLoad(timeOut, FindGoodsPage.FGP_SECOND_INFO); FindGoodsPageHelper.checkGoodsWeightOrVolume( seleniumUtil, FindGoodsPage.FGP_SECOND_INFO, FindGoodsPage.FGP_SECOND_INFO_CAR_LENGTH, data.get("FGP_INPUT_WEIGHT_VOLUME"), data.get("FGP_START_WEIGHT_VOLUME"), data.get("FGP_END_WEIGHT_VOLUME")); }
@Test public void FindGoodsPagePublicGoodsInfoCheck(ITestContext context) { FindGoodsUnatestedFather.unattestedFindGoodsParpare(context, seleniumUtil); FindGoodsPageHelper.unattestedUserChecked( seleniumUtil, FindGoodsPage.FGP_DISPLAY_SEARCH, FindGoodsPage.FGP_HIDE_ATTESTED); }