Hi James McKenzie, all
Thank you your timely reply. I think if every dialog need to check manually,
the work is large.
but it's necessary.
In function "DialogTest", the following code I don't understand well.
if gDasNicht=0 then
' In Place Translation Feature: not used anymore;
' The matching of the strings on the later migration step never worked.
' Just kept here for historical reasons
Ausgabe = ""
UndRaus = FALSE
while UndRaus = FALSE
Ausgabe = translate
if Ausgabe <> "" OR Ausgabe <> "1" then
if Left ( Ausgabe, 1 ) = "0" then
Ausgabe = Right ( Ausgabe, Len( Ausgabe )- 2 )
AnhaengenAnDatei ( gOfficePath + "trans_output.txt", Ausgabe )
end if
end if
if Ausgabe = "1" then UndRaus = TRUE
wend
else
......
end if
Best Regards
Zhang Hong
Zhang Hong
Beijing Redflag Chinese 2000 Software CO.,LTD
Email:[EMAIL PROTECTED]
2008-04-08
发件人: James McKenzie
发送时间: 2008-04-08 11:03:26
收件人: [email protected]
抄送:
主题: Re: [qa-dev] [Automation]question about "DialogTest"
zhang Hong wrote:
> Hi all,
> I have some questions about automation testing as following:
>
> In Resource test scripts, function "DialogTest" is used often.
> 1. When I read this function, I don't know "gDasNicht=0" stand for what?
>
I think this means that nothing (gDasNicht) is set equal to 0, which is
nothing.
> 2. When I call this funtion to test a window, it will create a snapshot for
> this window(gbSnapShot = TRUE).
> what is the reason to save screenshot? And should I check each picture
> manually?
>
>
Yes, you should do so. That is the purpose of capturing all of those
pictures. You need to look for flaws, such as English being displayed
for NL text. Also, some screens may not display correctly.
James McKenzie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]