summaryrefslogtreecommitdiff
path: root/testautomation/writer
diff options
context:
space:
mode:
authorHelge Delfs [hde] <hde@openoffice.org>2010-11-03 15:29:01 +0100
committerHelge Delfs [hde] <hde@openoffice.org>2010-11-03 15:29:01 +0100
commitfacf2a0d7cb6f8f7ea4a7f8f2c121b0b3a15cbde (patch)
tree1fb3fff9f2a40875d8eeff9b8b32b7371a01e534 /testautomation/writer
parentb43bd81cd15663a0cb843671564489df3e9f7f3e (diff)
automationdev300m91#i115378#assure fields are updated before content is checked
Diffstat (limited to 'testautomation/writer')
-rw-r--r--testautomation/writer/optional/includes/fields/w_fields1.inc12
1 files changed, 11 insertions, 1 deletions
diff --git a/testautomation/writer/optional/includes/fields/w_fields1.inc b/testautomation/writer/optional/includes/fields/w_fields1.inc
index 2f727260b6c2..c6caf2c5fade 100644
--- a/testautomation/writer/optional/includes/fields/w_fields1.inc
+++ b/testautomation/writer/optional/includes/fields/w_fields1.inc
@@ -151,13 +151,23 @@ testcase tInsertFieldsTime
if NOT Len(sTime2) > 7 then Warnlog "Time-format is wrong !"
printlog "Stop for a while ..."
+
'/// Stop for a while , check if the time is still correct
Sleep 2
+ ' update fields
+ Call wTypeKeys "<F9>"
+ ' read field content
Call wTypeKeys "<MOD1 Home>"
Call wTypeKeys "<Shift Right>"
EditCopy
if GetClipboard <> sTime1 then Warnlog "Fixed time is wrong !"
-
+
+ '/// Stop for a while , check if the time is still correct
+ Sleep 2
+ ' update fields
+ Call wTypeKeys "<F9>"
+ ' read field content
+ Call wTypeKeys "<MOD1 Home>"
Call wTypeKeys "<Down><Home>"
Call wTypeKeys "<Shift Right>"
EditCopy