1.安裝jenkins plugin
https://plugins.jenkins.io/parameterized-scheduler/#documentation

JBLin 發表在 痞客邦 留言(0) 人氣()

定義陣列
set IP_LIST=(192.168.10.0 192.168.10.1 192.168.10.2)

JBLin 發表在 痞客邦 留言(0) 人氣()

TIMEOUT /T 10

延遲10秒


JBLin 發表在 痞客邦 留言(0) 人氣()

adb shell svc wifi disable
timeout /t 10

JBLin 發表在 痞客邦 留言(0) 人氣()

 adb shell input keyevent 26 # wakeup
 adb shell input keyevent 82 # unlock

JBLin 發表在 痞客邦 留言(0) 人氣()

gradlew <moduleName>:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.class=<package+class1>,<package+class2>


JBLin 發表在 痞客邦 留言(0) 人氣()


PO(Persistant Object):持久化資料

JBLin 發表在 痞客邦 留言(0) 人氣()

定義@FixMethodOrder於class上

JBLin 發表在 痞客邦 留言(0) 人氣()

@BeforeClass:初始化,只會執行一次(init) 
note:需要使用static

JBLin 發表在 痞客邦 留言(0) 人氣()

如何在function內執行

1.Runnable:不傳參數

JBLin 發表在 痞客邦 留言(0) 人氣()