自動化窗口程切換

image.png
類
1.自定義類(自定義不同的包下面)
2.第三方類(存在maven的jar包里面)
方法:
1.不帶參數(shù)的
2.帶參的
3.帶返回的數(shù)據(jù)
4.不帶返回的數(shù)據(jù)
數(shù)據(jù)類型:
1.數(shù)字
1.整數(shù)
byte
short
int
long
2.浮點型
float
double
3.字符型
char
4.邏輯型
boolean
常見的容器
1.list

image.png
2.Hashmap

image.png
3.Hashset

image.png
testng常見注解
@Beforetest
@Beforeclass
@Test
@Aftertest
@Afterclass
UI自動化框架

UI自動化流程圖.png