I set an int delay variable to 1500 (milliseconds) to feed to the Thread.Sleep method so I can pause 1.5 seconds at various points in the test automation. To launch the app under test I use this code.
我为Thread. Sleep方法设置了一个值为1500(毫秒)的整型延时变量,这样在测试自动化的各个时刻都可以暂停1.5秒。
Delay (int) Note: in milliseconds.
delay (int)注意:按毫秒计。
Delay (int) Note: in milliseconds.
delay (int)注意:按毫秒计。
应用推荐