|
对于这个跳出的页面,若用SQAGetProperty(),怎么写啊!请问是否这个函数只对本页面内的控件起作用。
用SQAWaitForPropertyValue(),好像也不对,代码如下:
Result = SQAWaitForPropertyValue("Caption=Microsoft Internet Explorer", "Enabled",TRUE, 2000)
Result2 = SQAWaitForPropertyValue("Caption=http://sxapp.seekcall.com - 集成商务系统 - Microsoft Internet Explorer", "Enabled",TRUE, 2000)
If Result <> sqaSuccess Then
Window SetContext, "Caption=Microsoft Internet Explorer", ""
PushButton Click, "Text=确定"
Window SetContext, "Caption=商务视窗帐号验证中心- Microsoft Internet Explorer", ""
PushButton Click, "Name=重置"
Elseif Result2 <> sqaSuccess Then
Window SetContext, "Caption=http://sxapp.seekcall.com -集成商务系统 - Microsoft Internet Explorer", ""
Browser NewPage,"HTMLTitle集成商务系统",""
HTMLLink Click, "HTMLText=退出", ""
else
End If
请高手指点帮忙! |
|