I got a project to convert Silk Test
to some other GUI testing framework. I can't understand how the Silk Test script organized by [-]
and [+]
signs.
are there someone help me to understand the meaning? Here is a sample script
[+] if(AssignSymbolToCatalogNumber.Exists(4))
[ ] AssignSymbolToCatalogNumber.setActive()
[ ] Sleep(1)
[ ] AssignSymbolToCatalogNumber.notMapToCatalog.SetFocus()
[ ] AssignSymbolToCatalogNumber.notMapToCatalog.Click()
[ ] WaitForDialogExists (Keep)
[-] if !Keep1.Exists (1)
[ ] ResLog.LogFail ("The number {i} Keep dialog did not pop up!")
[ ] goto EndProgram
[-] else
[ ] Keep1.SetActive ()
[ ] Keep1.RadioList1RL.Select ("#1")
[ ] Keep1.ShowEditDialogAfterEachCK.Check ()
[ ] Keep1.OK.Click ()
[ ]
[ ] WaitForDialogExists (InsertEditChildComponent)
[-] if !InsertEditChildComponent.Exists (1)
[ ] ResLog.LogFail ("Insert/Edit child component dialog did not pop up!")
[ ] goto EndProgram
[-] else
[ ] InsertEditChildComponent.SetActive ()
[ ] InsertEditChildComponent.ParentSiblingPB.Click ()
[ ]
[ ] Sleep (1)