大家好,又见面了,我是你们的朋友全栈君。
在惠普实训学习了UFT(Unified Functional Testing),是一种自动化测试工具,以VBScript为内嵌语言。打开UFT主界面,选择菜单file/new或file/open可以新建或打开UFT测试。在新建的测试界面打开action,使用HP自带的飞机订票系统软件,打开飞机订票系统,然后点击录制record,弹出窗口选择record and run testing,单击OK按钮。输入用户名,密码登陆后退出,相关脚本如下。
Dialog(“Login”).WinEdit(“Agent Name:”).Set “afgsdfg”
Dialog(“Login”).WinEdit(“Password:”).SetSecure “56278e745c23223680242ce0c02af405a61a6aa0”
Dialog(“Login”).WinButton(“OK”).Click
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/142615.html原文链接:https://javaforall.net