|
List Info
Thread: some questions on writing automatic test script.
|
|
| some questions on writing automatic
test script. |

|
2007-09-25 02:26:47 |
Hi,all
Glad to join this maillist! Please let me have a short
self-introduction first. I am Canghua Qu , QA of OpenSource
Department , BEIJING REDFLAG CHINESE 2000 SOFTWARE CO. LTD .
You can call me Canghua for short. Our company is trying to
do as many contributions as we can on OOo for a long time .
As OOo testtool is cool for testing , I am studing automatic
test . We have added some feathers into OOo, we want to use
such good tool in our testing works . Then we will submit
scripts if necessary.
I am a freshmen on OOo testtool field , and I have problems
on writing script:
1. How to move mouse onto ruler in a writer document ? I
have just found "ViewRuler" to enable or disable
it. But I want to move mouse onto it, and click right mouse
, then check out the menu poped out.
2. How to decide the specified x/y-position ? And (1,1)
means top left , what's the "top left" means?
Just in the body of the writer or of the window is visible
? when I tried to use it , I just got the cursor in the
first position like after typing <Mod1 Home> .
3. In a testcase , shall we need to check out the format of
a paragrah of a writer document ,like: Indent , spacing,
line spacing?
Could anybody tell me how to deal with it , or could you
tell me where I can get the solution? I have tried to google
, and search in maillist. But I can't get the answer.
Thank you very much !
Best Regards,
Canhua
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
For additional commands, e-mail: dev-help qa.openoffice.org
|
|
| Re: some questions on writing automatic
test script. |

|
2007-09-27 05:02:52 |
Hi Canghua,
I would always try to avoid using mouse moves in testtool
scripts. The
usually fail, as soon as the screen resolution of the test
machine
differ from the resolution, where the test was created.
Mouse moves are
also quite hard to debug, when something goes wrong. For
most of the
features, you mention here, using Menu::Format::Paragraph...
should be
easier.
Best regards
Peter
P.S.: Have a nice October holiday.
quch wrote:
> Hi,all
>
> Glad to join this maillist! Please let me have a short
self-introduction first. I am Canghua Qu , QA of OpenSource
Department , BEIJING REDFLAG CHINESE 2000 SOFTWARE CO. LTD .
You can call me Canghua for short. Our company is trying to
do as many contributions as we can on OOo for a long time .
As OOo testtool is cool for testing , I am studing automatic
test . We have added some feathers into OOo, we want to use
such good tool in our testing works . Then we will submit
scripts if necessary.
>
> I am a freshmen on OOo testtool field , and I have
problems on writing script:
> 1. How to move mouse onto ruler in a writer document ?
I have just found "ViewRuler" to enable or disable
it. But I want to move mouse onto it, and click right mouse
, then check out the menu poped out.
>
> 2. How to decide the specified x/y-position ? And (1,1)
means top left , what's the "top left" means?
Just in the body of the writer or of the window is visible
? when I tried to use it , I just got the cursor in the
first position like after typing <Mod1 Home> .
>
> 3. In a testcase , shall we need to check out the
format of a paragrah of a writer document ,like: Indent ,
spacing, line spacing?
>
> Could anybody tell me how to deal with it , or could
you tell me where I can get the solution? I have tried to
google , and search in maillist. But I can't get the
answer.
>
> Thank you very much !
>
> Best Regards,
> Canhua
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
> For additional commands, e-mail: dev-help qa.openoffice.org
>
--
Peter Junge
Open Source Strategy Director
北京红旗中文贰仟软件技术有限公司
Beijing Redflag Chinese 2000 Software Co., Ltd.
Building No.2, Block A, Huilongsen, 18 Xihuan South Street
Beijing Economic-Technological Development Area
Beijing - P.R.China
Tel:+86-10-51570010 ext.6212
http://www.ch2000.com.cn
http://www
.ch2000.com.cn/english/index.htm
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
For additional commands, e-mail: dev-help qa.openoffice.org
|
|
| Re: Re: some questions on writing
automatic test script. |

|
2007-09-27 21:28:04 |
Hi, Peter,
Thank you very much for your suggestion!
P.S.: See you after our National Day holiday season . Have a
nice hodliday , too!
Best Regards,
Canghua
2007-09-28
>发件人: Peter Junge
>发送时间: 2007-09-28 10:13:47
>收件人: dev qa.openoffice.org
>抄送:
>主题: Re: [qa-dev] some questions on writing automatic
test script.
> Hi Canghua,
>I would always try to avoid using mouse moves in
testtool scripts. The
>usually fail, as soon as the screen resolution of the
test machine
>differ from the resolution, where the test was created.
Mouse moves are
>also quite hard to debug, when something goes wrong. For
most of the
>features, you mention here, using
Menu::Format::Paragraph... should be
>easier.
>Best regards
>Peter
>P.S.: Have a nice October holiday.
>quch wrote:
>> Hi,all
>>
>> Glad to join this maillist! Please let me have a
short self-introduction first. I am Canghua Qu , QA of
>OpenSource Department , BEIJING REDFLAG CHINESE 2000
SOFTWARE CO. LTD . You can call me Canghua for short.
>Our company is trying to do as many contributions as we
can on OOo for a long time . As OOo testtool is cool for
testing , I am studing automatic test . We have added some
feathers into OOo, we want to use such good tool in our
testing works . Then we will submit scripts if necessary.
>
>> I am a freshmen on OOo testtool field , and I have
problems on writing script:
>> 1. How to move mouse onto ruler in a writer
document ? I have just found "ViewRuler" to enable
or disable it. But I want to move mouse onto it, and click
right mouse , then check out the menu poped out.
>>
>> 2. How to decide the specified x/y-position ? And
(1,1) means top left , what's the "top left"
means? Just in the body of the writer or of the window is
visible ? when I tried to use it , I just got the cursor in
the first position like after typing <Mod1 Home > .
>>
>> 3. In a testcase , shall we need to check out the
format of a paragrah of a writer document ,like: Indent ,
spacing, line spacing?
>>
>> Could anybody tell me how to deal with it , or
could you tell me where I can get the solution? I have tried
to google , and search in maillist. But I can't get the
answer.
>>
>> Thank you very much !
>>
>> Best Regards,
>> Canhua
>>
>>
>>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
> For additional commands, e-mail: dev-help qa.openoffice.org
>
>--
>Peter Junge
>Open Source Strategy Director
>北京红旗中文贰仟软件技术有限公司
>Beijing Redflag Chinese 2000 Software Co., Ltd.
>Building No.2, Block A, Huilongsen, 18 Xihuan South
Street
>Beijing Economic-Technological Development Area
>Beijing - P.R.China
>Tel:+86-10-51570010 ext.6212
>http://www.ch2000.com.cn
>http://www
.ch2000.com.cn/english/index.htm
>--------------------------------------------------------
-------------
>To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
>For additional commands, e-mail: dev-help qa.openoffice.org
|
|
| Re: some questions on writing automatic
test script. |

|
2007-09-28 03:40:20 |
Hi,
as mouse moves are always given in percent it should not be
that bad.
But in general I agreee, that mouse moves should only be
used if nothing
else is available or mouse actions are to be tested
espechially.
Best Ragards
Gregor
Peter Junge schrieb:
> Hi Canghua,
>
> I would always try to avoid using mouse moves in
testtool scripts. The
> usually fail, as soon as the screen resolution of the
test machine
> differ from the resolution, where the test was created.
Mouse moves are
> also quite hard to debug, when something goes wrong.
For most of the
> features, you mention here, using
Menu::Format::Paragraph... should be
> easier.
>
> Best regards
> Peter
>
> P.S.: Have a nice October holiday.
>
> quch wrote:
>> Hi,all
>>
>> Glad to join this maillist! Please let me have a
short self-introduction first. I am Canghua Qu , QA of
OpenSource Department , BEIJING REDFLAG CHINESE 2000
SOFTWARE CO. LTD . You can call me Canghua for short. Our
company is trying to do as many contributions as we can on
OOo for a long time . As OOo testtool is cool for testing ,
I am studing automatic test . We have added some feathers
into OOo, we want to use such good tool in our testing works
. Then we will submit scripts if necessary.
>>
>> I am a freshmen on OOo testtool field , and I have
problems on writing script:
>> 1. How to move mouse onto ruler in a writer
document ? I have just found "ViewRuler" to enable
or disable it. But I want to move mouse onto it, and click
right mouse , then check out the menu poped out.
>>
>> 2. How to decide the specified x/y-position ? And
(1,1) means top left , what's the "top left"
means? Just in the body of the writer or of the window is
visible ? when I tried to use it , I just got the cursor in
the first position like after typing <Mod1 Home> .
>>
>> 3. In a testcase , shall we need to check out the
format of a paragrah of a writer document ,like: Indent ,
spacing, line spacing?
>>
>> Could anybody tell me how to deal with it , or
could you tell me where I can get the solution? I have tried
to google , and search in maillist. But I can't get the
answer.
>>
>> Thank you very much !
>>
>> Best Regards,
>> Canhua
>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
>> For additional commands, e-mail: dev-help qa.openoffice.org
>>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe qa.openoffice.org
For additional commands, e-mail: dev-help qa.openoffice.org
|
|
[1-4]
|
|