r2 - 19 Jan 2006 - 21:31:27 - AparnaKadakiaYou are here: OSAF >  Projects Web  >  QualityAssuranceTeam > ChandlerAutomatedTestSystem > CreateNoteTestScript
import tools.QAUITestAppLib as !QAUITestAppLib

# initialization
fileName = "TestNewNote.log"
logger = !QAUITestAppLib.QALogger(fileName, "TestNewNote")

try:
    # creation
    note = !QAUITestAppLib.UITestItem("Note", logger)

    # action
    note.SetAttr(displayName="A note to myself about filing taxes", body="FILE TAXES!")

    # verification
    note.Check_DetailView({"displayName":"A note to myself about filing taxes","body":"FILE TAXES!"})

finally:
    # cleaning
    logger.Close()

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.