3f06ee1c
zengjin
修改时间工具,还有船务相关
|
1
|
package com.essa.pageObject.needDealt;
|
d688c3f8
hanlei
船务
|
2
3
|
import com.essa.framework.BasePage;
|
3f06ee1c
zengjin
修改时间工具,还有船务相关
|
4
5
|
import com.essa.pageObject.HomePage;
import org.openqa.selenium.By;
|
d688c3f8
hanlei
船务
|
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
//大跟单确认备选船期待办界面
public class LargeDcofdPage extends BasePage {
public LargeDcofdPage (WebDriver driver) {
super(driver);
}
// 确认登记备选船期
@FindBy(xpath = "//*[@id='tableViewList']/div/div/div/div[4]/span[1]/button[2]")
WebElement ConfirmationShipDate;
|
3f06ee1c
zengjin
修改时间工具,还有船务相关
|
20
21
22
23
24
25
26
27
|
/**
*大跟单确认船期
* @param
* @return
*/
public HomePage toLargeDcofdPage(){
// mywait(ConfirmationShipDate);
dynamicWait(By.xpath("//*[contains(text(),'待办工作')]"));
|
d688c3f8
hanlei
船务
|
28
|
click(ConfirmationShipDate);
|
3f06ee1c
zengjin
修改时间工具,还有船务相关
|
29
30
|
dynamicLoad();
return new HomePage(driver);
|
d688c3f8
hanlei
船务
|
31
32
|
}
}
|