LeanFt自动化,如何将文件上传到投递箱

时间:2018-11-23 11:30:56

标签: automation qa leanft

如何将文件上传到投递箱?

@Test 
void te() throws GeneralLeanFtException {       
    Browser browser = BrowserFactory.launch(BrowserType.CHROME);
    browser.navigate("https://files.fm/");
    WebElement uploadifiveFileUploadWebElement = browser.describe(WebElement.class, new WebElementDescription.Builder()
            .className("uploadifive-button upload_button")
            .innerText("Upload & Share Files")
            .tagName("DIV").build());   
}

0 个答案:

没有答案