标签:添加 type col 用户 输入 images png code acea
1、直接录制脚本-文件-新建-测试-GUI-创建
2、录制配置-添加程序路径
3、录制-输入用户名密码、机票事件地点、查询航班情况、登机人,提交
Dialog("Login").WinEdit("Agent Name:").SetSelection 0,6 Dialog("Login").WinEdit("Agent Name:").Set "dfsdf" Dialog("Login").WinEdit("Password:").SetSecure "59b6acea03753379834e341b7f6f7c97ae887c3b" Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX("MaskEdBox").Click 7,8 Window("Flight Reservation").ActiveX("MaskEdBox").Type "10" Window("Flight Reservation").ActiveX("MaskEdBox").Type micBack Window("Flight Reservation").ActiveX("MaskEdBox").Type micLeft Window("Flight Reservation").ActiveX("MaskEdBox").Type micBack Window("Flight Reservation").ActiveX("MaskEdBox").Type micBack Window("Flight Reservation").ActiveX("MaskEdBox").Type "109" Window("Flight Reservation").ActiveX("MaskEdBox").Type micBack Window("Flight Reservation").ActiveX("MaskEdBox").Type "0918" Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver" Window("Flight Reservation").WinComboBox("Fly To:").Select "London" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinList("From").Select "20263 DEN 11:12 AM LON 06:23 PM AA $112.20" Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "test" Window("Flight Reservation").WinButton("Insert Order").Click
4、点击运行,即可回放操作
标签:添加 type col 用户 输入 images png code acea
原文地址:http://www.cnblogs.com/HZQHZA/p/7507943.html