[LDTP-Dev] Re: Evolution Map file

Patrick Gu Patrick.Gu at Sun.COM
Mon Oct 17 04:24:32 PDT 2005


Shaheed, updated save2draft test case. Thanks for your comments.
I found mnuClose index is 9 in my local evo.


Shaheed Shaik wrote:

>Hi Patrick,
>ttt
>Nice work. Now you might have observed that how easy to write scripts
>using LDTP :). Few comments from my side:
>-selectrowpartialmatch ('frmEvolution-Mail', 'ttblMailFolderTree',
>folder), this step is not required as we can open compose window
>irrespective of the selected folder.
>-click ('frmEvolution-Mail', 'btnNew'), after this step it would be
>better if we use 'waittillguiexist' function instead of just sleeping
>and log based on the return value of that function.
>-after saving the draft, it would be better if we close the compose
>window. BTW, 'activatewin' is not required as LDTP is robust enough to
>find the window based on given window name in the component function
>itself :).
>-in verification logic it would be nice if we verify all the fields that
>we have set before saving the draft and also log the cause of failure if
>it fails. What i mean to say is before 'log ('Save to Draft failed',
>'fail')' it would be nice if we add appropriate cause of failure.
>
>Please feel free to comment on scripts written by us also :). BTW,
>please send your scripts to Ldtp-dev :).
>
>Thanks,
>Shaheed.
>
>On Fri, 2005-10-14 at 09:06 +0000, Patrick Gu  wrote:
>  
>
>>I finished the 'save to draft' and please review. A small issue is
>>    
>>
>when 
>  
>
>>I try to use selectmenuitem('frmComposeamessage', 'mnuClose') to close
>>    
>>
>
>  
>
>>the dialog and back to main frame.
>>ldtp say no child component about mnuClose.
>>So I comments that line and I still have to some polish work for
>>    
>>
>script.
>  
>
>>My steps is compose a new message, save to draft and check it with 
>>selectrow by subject.
>>
>>
>>
>>Shaheed Shaik wrote:
>>
>>    
>>
>>>Hi Patric,
>>>
>>>I have attached the map file.
>>>
>>>Regards,
>>>shaheed.
>>>
>>>      
>>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: save2draft.tar
Type: application/x-tar
Size: 6656 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/ldtp-dev/attachments/20051017/ca506e92/save2draft.tar


More information about the Ldtp-dev mailing list