Squish: Added new test cases/suite for project templates

initial commit

Change-Id: I0000bc8d3d0304ac37b135ea7b9c893b1054c958
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
Jan Kerekes
2012-05-10 12:46:43 +02:00
committed by Robert Löhning
parent 6026a4a51c
commit 20afae749d
7 changed files with 93 additions and 0 deletions
+2
View File
@@ -198,8 +198,10 @@ def logApplicationOutput():
try:
output = waitForObject("{type='Core::OutputWindow' visible='1' windowTitle='Application Output Window'}", 20000)
test.log("Application Output:\n%s" % output.plainText)
return str(output.plainText)
except:
test.fail("Could not find any Application Output - did the project run?")
return None
# get the output from a given cmdline call
def getOutputFromCmdline(cmdline):