Search in sources :

Example 6 with FolderPage

use of org.olat.selenium.page.core.FolderPage in project openolat by klemens.

the class ParticipantFolderPage method openDropBox.

public FolderPage openDropBox() {
    By returnBoxBy = By.xpath("//div[@class='o_briefcase_folder']//table/tbody/tr[2]/td/a[i[contains(@class,'o_filetype_folder')]]");
    OOGraphene.waitElement(returnBoxBy, browser);
    browser.findElement(returnBoxBy).click();
    OOGraphene.waitBusy(browser);
    return new FolderPage(browser);
}
Also used : By(org.openqa.selenium.By) FolderPage(org.olat.selenium.page.core.FolderPage)

Aggregations

FolderPage (org.olat.selenium.page.core.FolderPage)6 By (org.openqa.selenium.By)4 File (java.io.File)2 URL (java.net.URL)2 RunAsClient (org.jboss.arquillian.container.test.api.RunAsClient)2 Test (org.junit.Test)2 LoginPage (org.olat.selenium.page.LoginPage)2 NavigationPage (org.olat.selenium.page.NavigationPage)2 CourseEditorPageFragment (org.olat.selenium.page.course.CourseEditorPageFragment)2 CoursePageFragment (org.olat.selenium.page.course.CoursePageFragment)2 MembersPage (org.olat.selenium.page.course.MembersPage)2 ParticipantFolderPage (org.olat.selenium.page.course.ParticipantFolderPage)2 AuthoringEnvPage (org.olat.selenium.page.repository.AuthoringEnvPage)2 UserRestClient (org.olat.test.rest.UserRestClient)2 UserVO (org.olat.user.restapi.UserVO)2