[AHK_Adobe_Flash_Player_10.3.183.25]

We want to succeed, but we can't because of CORE-6737, so, temporally add some hardcoded sleep calls.
Tested, works on both win2k3 sp2 and ROS r57536.

svn path=/trunk/ahk_tests/; revision=1834
This commit is contained in:
Edijs Kolesnikovičs 2012-10-12 05:47:00 +00:00
parent c598953ada
commit 08c915e60d

View File

@ -162,8 +162,16 @@ if bContinue
TestsFailed("'Adobe® Flash® Player 10.3 Installer' window with 'Install' button failed to appear.")
else
{
SendInput, {TAB}{SPACE} ; Focus and check 'I have read and agree' checkbox
SendInput, {TAB}{TAB}{ENTER} ; Focus and hit 'INSTALL' button
sleep, 200 ; FIXME: added hardcoded sleep calls due to CORE-6737
SendInput, {TAB}
sleep, 200
SendInput, {SPACE} ; Focus and check 'I have read and agree' checkbox
sleep, 200
SendInput, {TAB}
Sleep, 200
SendInput, {TAB}
Sleep, 200
SendInput, {ENTER} ; Focus and hit 'INSTALL' button
}
}
@ -182,7 +190,9 @@ if bContinue
TestsFailed("'Adobe® Flash® Player 10.3 Installer' window is not active anymore.")
else
{
SendInput, {TAB}{ENTER} ; Focus and hit 'DONE' button
SendInput, {TAB}
Sleep, 200
SendInput, {ENTER} ; Focus and hit 'DONE' button
WinWaitClose, Adobe® Flash® Player 10.3 Installer,,3
if ErrorLevel
TestsFailed("Unable to close 'Adobe® Flash® Player 10.3 Installer' window.")