Hi Zhu Lihua,
you're right - that test does currently not work.
Issue: i85766
I'm working on updating all tests in the Optional-category.
Best wishes
/ Fredrik Haegg
On 25.09.08 05:50, Zhu Lihua wrote:
> Hi,
>
> If I copy a Object, such as a field or a frame with text, what's in the
> clipboard? Do the texts in the field or the frame exist in the clipboard? Do
> they exists in some special way? I can't paste just the text in usual ways.
>
> And because of the same reason I think, the following scripts in the
> "w_field1.inc" doesn't work. We always get warning "subject isn't correct !".
>
>
> [quote]
> testcase tFields_5
> Dim sSubject as String
> sSubject = "This is a Subject"
> printlog "Insert / Fields / Subject"
> '/// <b> Insert / Fields / Subject </b>
> Call hNewDocument
> '/// File / Properties / Description , input some
> '/// + text in Subject
> Call fFileProperties("TabBeschreibung")
> Thema.Settext sSubject
> TabBeschreibung.OK
> '/// Insert / Fields / Subject
> InsertFieldsSubject
> '/// Check if the subject is correct
> Call wTypeKeys "<Shift Left>"
> EditCopy
> if GetClipboardText <> sSubject then
> ^^^^^^^^^^^^^^^^^^^^^^^^--------->This compare does not work, I wonder
> what's in the clipboard.
> Warnlog "Subject isn't correct !"
> end if
> Call hCloseDocument
> endcase
> [/quote]
>
> Thank you!
>
> Best regards,
> Lihua
>
>
>
>
> 2008-09-25
>
--
Sun Microsystems GmbH Fredrik Haegg
Nagelsweg 55 Software Engineer
20097 Hamburg Phone: +49 (0)40 23646 634
Germany Fax: +49 (0)40 23646 650
http://www.sun.de mailto:[EMAIL PROTECTED]
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland
Boemer
Vorsitzender des Aufsichtsrates: Martin Haering
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]