Verifyeventexist

From LDTP

Table of contents

Syntax

verifyeventexist ('<window name>', '<component name>')

Description

verifies whether any events are present in a calendar table

Implementation

Returns 1 on success and 0 on no events

Refer: calendar_view.c (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/calendar_view.c)

Example

from ldtp import *

With respect to Evolution-Calendars

verifyeventexist ('Evolution-Calendars', 'calview')