//www.cainiaojc.com/about/about_careers.htm,然后验证页面上的标签
URL直接在功能文件的Given语句中传递。
步骤定义文件应具有Given语句的映射。
@Given (“^Launch site \"([^\"]*)\"$”) public void launchJobsite(String url){ System.out.println("url is : " + url); } @Then (“^Verify the tabs on the page"$”) public void tabverification(){ System.out.println("Tabs verified successfully); }
@Given(“ ^启动站点\“([^ \”] *)\“ $”)在运行时传递UR。