Re: [VCLAuto] How to run under windows?

2012-06-25 Thread Reizinger Zoltán

2012.06.25. 10:29 keltezéssel, Zhe Liu írta:

Oops! I forgot to change project name (testscript->testoo, I think
testscript is too confusing). It doesn't matter.  According to your
screenshot, there is no problem. At next step,
you need download junit.jar, put it into
testscript/output/lib/junit.jar,  and then refresh project.

PS, I uploaded the new code. Corrected the project name. You can try
the new one.

Thanks,

Now I can run test cases, but only with java 1.7 versions, under Windows 7.

On wiki page you created screenshot, with java 1.6 settings, on 
preferences.


When I start with 1.6.30 the test terminated:
java.lang.UnsupportedClassVersionError: testcase/SayHelloToOO : 
Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:693)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:429)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)


Zoltan


2012/6/25 Reizinger Zoltán :

2012.06.25. 8:40 keltezéssel, Zhe Liu írta:


2012/6/24 Reizinger Zoltán :

Hi,
I tried to follow the wiki description:
http://wiki.services.openoffice.org/wiki/QA/vclauto

I successfully installed eclispse, created project, run build.
No success with running test under windows 7.
Please add more detailed version of running process, to wiki page.

I has updated the wiki. Removed some confusing content. Added some
picture to demonstrate the detail. If it still not works, pls show me
the screenshot of the problem.

I cleared eclipse workspace, when I  import your new code from thw
bugreport: https://issues.apache.org/ooo/show_bug.cgi?id=119998
The testoo not created,  see screenshot:
http://www.flickr.com/photos/48546468@N00/7438663856/in/photostream/lightbox/
Zoltan



I can Use VCL explorer, and see results in eclipse. How can I save the
results to text file?

Currently, It's not able to output the result. I can add it later.

Thanks,
Zoltan













Re: [VCLAuto] How to run under windows?

2012-06-25 Thread Zhe Liu
Oops! I forgot to change project name (testscript->testoo, I think
testscript is too confusing). It doesn't matter.  According to your
screenshot, there is no problem. At next step,
you need download junit.jar, put it into
testscript/output/lib/junit.jar,  and then refresh project.

PS, I uploaded the new code. Corrected the project name. You can try
the new one.

2012/6/25 Reizinger Zoltán :
> 2012.06.25. 8:40 keltezéssel, Zhe Liu írta:
>
>> 2012/6/24 Reizinger Zoltán :
>>>
>>> Hi,
>>> I tried to follow the wiki description:
>>> http://wiki.services.openoffice.org/wiki/QA/vclauto
>>>
>>> I successfully installed eclispse, created project, run build.
>>> No success with running test under windows 7.
>>> Please add more detailed version of running process, to wiki page.
>>
>> I has updated the wiki. Removed some confusing content. Added some
>> picture to demonstrate the detail. If it still not works, pls show me
>> the screenshot of the problem.
>
> I cleared eclipse workspace, when I  import your new code from thw
> bugreport: https://issues.apache.org/ooo/show_bug.cgi?id=119998
> The testoo not created,  see screenshot:
> http://www.flickr.com/photos/48546468@N00/7438663856/in/photostream/lightbox/
> Zoltan
>
>
>>
>>> I can Use VCL explorer, and see results in eclipse. How can I save the
>>> results to text file?
>>
>> Currently, It's not able to output the result. I can add it later.
>>>
>>> Thanks,
>>> Zoltan
>>
>>
>>
>
>



-- 
Best Regards
>From aliu...@gmail.com


Re: [VCLAuto] How to run under windows?

2012-06-25 Thread Reizinger Zoltán

2012.06.25. 8:40 keltezéssel, Zhe Liu írta:

2012/6/24 Reizinger Zoltán :

Hi,
I tried to follow the wiki description:
http://wiki.services.openoffice.org/wiki/QA/vclauto

I successfully installed eclispse, created project, run build.
No success with running test under windows 7.
Please add more detailed version of running process, to wiki page.

I has updated the wiki. Removed some confusing content. Added some
picture to demonstrate the detail. If it still not works, pls show me
the screenshot of the problem.
I cleared eclipse workspace, when I  import your new code from thw 
bugreport: https://issues.apache.org/ooo/show_bug.cgi?id=119998
The testoo not created,  see screenshot: 
http://www.flickr.com/photos/48546468@N00/7438663856/in/photostream/lightbox/

Zoltan




I can Use VCL explorer, and see results in eclipse. How can I save the
results to text file?

Currently, It's not able to output the result. I can add it later.

Thanks,
Zoltan








Re: [VCLAuto] How to run under windows?

2012-06-24 Thread Zhe Liu
That report is generated only when you run testing with ANT. As you
use Eclipse GUI to start testing,  "JUnit" view  will shows the
results.

2012/6/25 Du Jing :
> As written in Wiki,the result will be saved in
> "testoo/../testspace/output",but now in the folder only has logs folder and
> screen folder,no HTML/XML file.
>
> On Sun, Jun 24, 2012 at 1:33 AM, Reizinger Zoltán wrote:
>
>> Hi,
>> I tried to follow the wiki description: http://wiki.services.**
>> openoffice.org/wiki/QA/vclauto
>>
>> I successfully installed eclispse, created project, run build.
>> No success with running test under windows 7.
>> Please add more detailed version of running process, to wiki page.
>>
>> I can Use VCL explorer, and see results in eclipse. How can I save the
>> results to text file?
>>
>> Thanks,
>> Zoltan
>>



-- 
Best Regards
>From aliu...@gmail.com


Re: [VCLAuto] How to run under windows?

2012-06-24 Thread Du Jing
Thanks~

On Mon, Jun 25, 2012 at 2:40 PM, Zhe Liu  wrote:

> 2012/6/24 Reizinger Zoltán :
> > Hi,
> > I tried to follow the wiki description:
> > http://wiki.services.openoffice.org/wiki/QA/vclauto
> >
> > I successfully installed eclispse, created project, run build.
> > No success with running test under windows 7.
> > Please add more detailed version of running process, to wiki page.
> I has updated the wiki. Removed some confusing content. Added some
> picture to demonstrate the detail. If it still not works, pls show me
> the screenshot of the problem.
>
> >
> > I can Use VCL explorer, and see results in eclipse. How can I save the
> > results to text file?
> Currently, It's not able to output the result. I can add it later.
> >
> > Thanks,
> > Zoltan
>
>
>
> --
> Best Regards
> From aliu...@gmail.com
>


Re: [VCLAuto] How to run under windows?

2012-06-24 Thread Zhe Liu
2012/6/24 Reizinger Zoltán :
> Hi,
> I tried to follow the wiki description:
> http://wiki.services.openoffice.org/wiki/QA/vclauto
>
> I successfully installed eclispse, created project, run build.
> No success with running test under windows 7.
> Please add more detailed version of running process, to wiki page.
I has updated the wiki. Removed some confusing content. Added some
picture to demonstrate the detail. If it still not works, pls show me
the screenshot of the problem.

>
> I can Use VCL explorer, and see results in eclipse. How can I save the
> results to text file?
Currently, It's not able to output the result. I can add it later.
>
> Thanks,
> Zoltan



-- 
Best Regards
>From aliu...@gmail.com


Re: [VCLAuto] How to run under windows?

2012-06-24 Thread Du Jing
As written in Wiki,the result will be saved in
"testoo/../testspace/output",but now in the folder only has logs folder and
screen folder,no HTML/XML file.

On Sun, Jun 24, 2012 at 1:33 AM, Reizinger Zoltán wrote:

> Hi,
> I tried to follow the wiki description: http://wiki.services.**
> openoffice.org/wiki/QA/vclauto
>
> I successfully installed eclispse, created project, run build.
> No success with running test under windows 7.
> Please add more detailed version of running process, to wiki page.
>
> I can Use VCL explorer, and see results in eclipse. How can I save the
> results to text file?
>
> Thanks,
> Zoltan
>


[VCLAuto] How to run under windows?

2012-06-23 Thread Reizinger Zoltán

Hi,
I tried to follow the wiki description: 
http://wiki.services.openoffice.org/wiki/QA/vclauto


I successfully installed eclispse, created project, run build.
No success with running test under windows 7.
Please add more detailed version of running process, to wiki page.

I can Use VCL explorer, and see results in eclipse. How can I save the 
results to text file?


Thanks,
Zoltan