diff options
Diffstat (limited to 'testautomation/extensions/optional/includes/extensions.inc')
-rwxr-xr-x | testautomation/extensions/optional/includes/extensions.inc | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/testautomation/extensions/optional/includes/extensions.inc b/testautomation/extensions/optional/includes/extensions.inc index d873830df760..794e1bf44596 100755 --- a/testautomation/extensions/optional/includes/extensions.inc +++ b/testautomation/extensions/optional/includes/extensions.inc @@ -371,11 +371,18 @@ testcase tExtensionsFunction kontext if active.exists(5) then sTemp = active.getText - try - active.yes - catch - warnlog( "Try...catch: Failed to click Yes-button" ) - endcatch + printlog "Messagebox: " + sTemp + ' We only want to handle the installation target here which only + ' pops up if we have the choice (rights to write to shared layer) + if active.getButtonCount = 3 then + try + active.yes + catch + warnlog( "Try...catch: Failed to click Yes-button" ) + endcatch + else + printlog "No installation target message (this is probably a root-installation)" + endif endif '/// Progress dialog comes up ///' |