Added smoke test to close UI setup dialogs
authorMaciej Seroka <maciejs@symbian.org>
Fri, 20 Nov 2009 09:46:23 +0000
changeset 781 2e4219f93467
parent 780 88a53db207db
child 782 5cb8e066851e
Added smoke test to close UI setup dialogs
common/tools/ats/smoketest/apploader/testdata/smoketest_apploader.ini
common/tools/ats/smoketest/notepad/conf/smoketest_notepad.cfg
common/tools/ats/smoketest/notepad/conf/ui_TestNpdApi.cfg
--- a/common/tools/ats/smoketest/apploader/testdata/smoketest_apploader.ini	Thu Nov 19 17:25:45 2009 +0000
+++ b/common/tools/ats/smoketest/apploader/testdata/smoketest_apploader.ini	Fri Nov 20 09:46:23 2009 +0000
@@ -32,10 +32,12 @@
 delay2	=5000
 key3	=EKeyDevice0
 delay3	=5000
-key4	=EKeyDevice1
+key4	=EKeyDevice0
 delay4	=5000
 key5	=EKeyDevice1
 delay5	=5000
+key6	=EKeyDevice1
+delay6	=5000
 
 [SMOKE_APP_LAUNCH_0009]
 program	=eshell.exe
--- a/common/tools/ats/smoketest/notepad/conf/smoketest_notepad.cfg	Thu Nov 19 17:25:45 2009 +0000
+++ b/common/tools/ats/smoketest/notepad/conf/smoketest_notepad.cfg	Fri Nov 20 09:46:23 2009 +0000
@@ -1,3 +1,8 @@
+[Test]
+title Send key events to close UI setup dialogs
+run testscripter c:\smoketest\ui_TestNpdApi.cfg 1
+[Endtest]
+
 [Test]
 title Fetch Template & Cancel (-ve)
 run testscripter c:\smoketest\ui_TestNpdApi.cfg 4
--- a/common/tools/ats/smoketest/notepad/conf/ui_TestNpdApi.cfg	Thu Nov 19 17:25:45 2009 +0000
+++ b/common/tools/ats/smoketest/notepad/conf/ui_TestNpdApi.cfg	Fri Nov 20 09:46:23 2009 +0000
@@ -1,14 +1,25 @@
 //#1
 [Test]
-title Press LSK
+title Send key events to close UI setup dialogs
 pause 2000
 presskey global EKeyDevice0
+pause 5000
+presskey global EKeyDevice0
+pause 5000
+presskey global EKeyDevice0
+pause 5000
+presskey global EKeyDevice0
+pause 5000
+presskey global EKeyDevice1
+pause 5000
+presskey global EKeyDevice1
+pause 5000
 [Endtest]
 
 //#2
 [Test]
 title Press RSK
-pause 10000
+pause 15000
 presskey global EKeyDevice1
 [Endtest]