Squish: Cleaned for-loops

Change-Id: Ide5313c8838aa7ad9ad74cbaed12872ce0a35413
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-02-22 15:43:05 +01:00
committed by Robert Löhning
parent e48e185d2d
commit 0e0158fc3f
6 changed files with 21 additions and 33 deletions
+7
View File
@@ -294,3 +294,10 @@ def getCorrectlyConfiguredTargets():
result.update({target:[version]})
clickButton(waitForObject(":Options.OK_QPushButton"))
return result
def visibleCheckBoxExists(text):
try:
findObject("{type='QCheckBox' text='%s' visible='1'}" % text)
return True
except:
return False