summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatrickgu <patrickgu>2006-03-14 09:50:50 +0000
committerpatrickgu <patrickgu>2006-03-14 09:50:50 +0000
commit3b4619c5d3ac5b6dd36dd65ee1e10032e6cd1b3b (patch)
tree3dda94ba538253db864723b1d01f12fe6fd70857
parent3c61fd0ee9a06a4e3c069cdd3ed5cdbe0466ec83 (diff)
Comments the txt3 in calendar.py; btnAttachment->btnAttach
-rw-r--r--evolution/appointment-with-attachment.py4
-rw-r--r--evolution/evoutils/calendar.py10
2 files changed, 7 insertions, 7 deletions
diff --git a/evolution/appointment-with-attachment.py b/evolution/appointment-with-attachment.py
index 975918b..50ee2ef 100644
--- a/evolution/appointment-with-attachment.py
+++ b/evolution/appointment-with-attachment.py
@@ -49,7 +49,7 @@ def appointment_withattachment():
try:
log('Create appoinment with attachment','teststart')
- windowname = 'frmAppointment-Nosummary'
+ windowname = 'frmAppointment-*'
filename, summary, location, description, from_date, to_date, from_time, to_time, calendar = read_data()
more_items_todo = 'yes'
@@ -67,7 +67,7 @@ def appointment_withattachment():
flag = 1
else:
try:
- click(windowname,'btnAttachments')
+ click(windowname,'btnAttach')
waittillguiexist('dlgAttachfile(s)')
time.sleep(3)
selectrow ('dlgAttachfile(s)', 'tblFiles', filename)
diff --git a/evolution/evoutils/calendar.py b/evolution/evoutils/calendar.py
index e3e4e87..65a4b2c 100644
--- a/evolution/evoutils/calendar.py
+++ b/evolution/evoutils/calendar.py
@@ -99,7 +99,7 @@ def insert_appointment (windowname, summary, location, description, from_date, f
try:
flag = 0
time.sleep (2)
- settextvalue (windowname, 'txtSummary', summary)
+ setandverify (windowname, 'txtSummary', summary)
#setcontext ('Appointment - No summary', 'Appointment - ' + summary)
time.sleep (2)
if setandverify (windowname, 'txtLocation', location) == 0:
@@ -119,10 +119,10 @@ def insert_appointment (windowname, summary, location, description, from_date, f
if setandverify (windowname, 'txtDate1', from_date) == 0:
log ('Failed to set value in From date entry', 'cause')
raise LdtpExecutionError (0)
- if str(from_time) != '0':
- if setandverify (windowname, 'txt3', from_time) == 0:
- log ('Failed to set value in From time entry', 'cause')
- raise LdtpExecutionError (0)
+ #if str(from_time) != '0':
+ # if setandverify (windowname, 'txt3', from_time) == 0:
+ # log ('Failed to set value in From time entry', 'cause')
+ # raise LdtpExecutionError (0)
if to_date != '0':
if setandverify (windowname, 'txtDate1', to_date) == 0:
log ('Failed to set value in To date entry', 'cause')