//#1
[Test]
title Send key events to close UI setup dialogs
pause 2000
presskey global EKeyDevice0
pause 1000
presskey global EKeyDevice0
pause 1000
presskey global EKeyDevice0
pause 1000
presskey global EKeyDevice0
[Endtest]

//#2
[Test]
title Press RSK
pause 1000
presskey global EKeyDevice1
[Endtest]

//#3
[Test]
title FetchTemplate
bringtoforeground
create TestNpdApi NpdObj
NpdObj TestFetchTemplate
delete NpdObj
sendtobackground
[Endtest] 

//#4
[Test]
title FetchTemplateAndExpectError
bringtoforeground
create TestNpdApi NpdObj
allownextresult -2
NpdObj TestFetchTemplate
delete NpdObj
sendtobackground
[Endtest] 

//#5
[Test]
title NoOfTemaplates
create TestNpdApi NpdObj
NpdObj TestNoOfTemplates
delete NpdObj
[Endtest] 

//#6
[Test]
title TestFetchMemoAndExpectError
bringtoforeground
create TestNpdApi NpdObj
allownextresult -2
NpdObj TestFetchMemo
delete NpdObj
sendtobackground
[Endtest] 

//#7
[Test]
title TestFetchMemo
bringtoforeground
create TestNpdApi NpdObj
NpdObj TestFetchMemo
delete NpdObj
sendtobackground
[Endtest] 

//#8
[Test]
title SaveFileAsMemoUsingFileName
create TestNpdApi NpdObj
NpdObj SaveFileAsMemoUsingFileName 0
delete NpdObj
[Endtest] 

//#9
[Test]
title SaveFileAsMemoUsingFileNameWithEncoding
create TestNpdApi NpdObj
NpdObj SaveFileAsMemoUsingFileName 1
delete NpdObj
[Endtest] 

//#10
[Test]
title SaveFileAsMemoUsingHandle
create TestNpdApi NpdObj
NpdObj SaveFileAsMemoUsingHandle 0
delete NpdObj
[Endtest] 

//#11
[Test]
title SaveFileAsMemoUsingHandleWithEncoding
create TestNpdApi NpdObj
NpdObj SaveFileAsMemoUsingHandle 1
delete NpdObj
[Endtest] 

//#12
[Test]
title TestAddContent
create TestNpdApi NpdObj
NpdObj TestAddContent
delete NpdObj
[Endtest] 

//#13
[Test]
title TestingModel
create TestNpdApi NpdObj
NpdObj Model
delete NpdObj
[Endtest] 

//#14
[Test]
title TestDialog
create TestNpdApi NpdObj
NpdObj TestDialog
delete NpdObj
[Endtest] 

//#15
[Test]
title TestExistsMemoL
create TestNpdApi NpdObj
NpdObj TestExistsMemoL
delete NpdObj
[Endtest] 

//#16
[Test]
title TestNumberOfTemplates
create TestNpdApi NpdObj
NpdObj TestNumberOfTemplates
delete NpdObj
[Endtest] 

//#17
[Test]
title TestCreateModelL
create TestNpdApi NpdObj
NpdObj TestCreateModelL
delete NpdObj
[Endtest] 

//#18
[Test]
title TestNewL
create TestNpdApi NpdObj
NpdObj TestNewL
delete NpdObj
[Endtest] 

//#19
[Test]
title TestProbeMemoL
create TestNpdApi NpdObj
NpdObj TestProbeMemoL
delete NpdObj
[Endtest] 
//#20
[Test]
title TestNewLC
create TestNpdApi NpdObj
NpdObj TestNewLC
delete NpdObj
[Endtest] 

//#21
[Test]
title TestCNotepadApiDestruction
create TestNpdApi NpdObj
NpdObj TestCNotepadApiDestruction
delete NpdObj
[Endtest] 

//#22
[Test]
title TestCreateListDialogL
create TestNpdApi NpdObj
NpdObj TestCreateListDialogL
delete NpdObj
[Endtest] 


//#23
[Test]
title TestCreateViewerDialogL
create TestNpdApi NpdObj
NpdObj TestCreateViewerDialogL
delete NpdObj
[Endtest] 

//#24
[Test]
title TestExecTemplatesL
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecTemplatesL
delete NpdObj
[Endtest] 

//#25
[Test]
title PressKey
pause 4000
presskey global EKeyDevice1
[Endtest]



//#26
[Test]
title TestExecFileViewerUsingFilename
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecFileViewerUsingFilename
delete NpdObj
[Endtest] 


//#27
[Test]
title TestExecFileViewerUsingHandle
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecFileViewerUsingHandle
delete NpdObj
[Endtest] 


//#28
[Test]
title TestCreateViewer
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestCreateViewer
delete NpdObj
[Endtest] 


//#29
[Test]
title TestExecTextViewerL
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecTextViewerL
delete NpdObj
[Endtest] 


//#30
[Test]
title TestExecTextEditorL
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecTextEditorL
delete NpdObj
[Endtest] 


//#31
[Test]
title TestExecReadOnlyTextViewerL
create TestNpdApi NpdObj
bringtoforeground
NpdObj TestExecReadOnlyTextViewerL
delete NpdObj
[Endtest] 
