开发者

How do I use javascript to click OK on a standard alert for iphone UI

开发者 https://www.devze.com 2023-02-14 06:27 出处:网络
HI, I\'m pretty new to scripting but I\'m automating test scripts for the iphone. I\'m expecting a standard alert named \"Unable to Log In\" when I click a login button. However, I am unable to automa

HI, I'm pretty new to scripting but I'm automating test scripts for the iphone. I'm expecting a standard alert named "Unable to Log In" when I click a login button. However, I am unable to automate the clicking of the 'OK' button on the alert.

I am new 开发者_JS百科to this so please forgive my ignorance if this sounds like a stupid question.


The UIAApplication should return the alert through its alert property.

0

精彩评论

暂无评论...
验证码 换一张
取 消