[Wikitech-l] [Selenium] How to use?

2011-02-02 Thread Benedikt Kaempgen
Hi,

I have some difficulties to use the actual Selenium framework for testing MW
and an extension:

- In trunk, selenium tests are both in tests/selenium and
maintenance/tests/selenium. Why is that?

- If I want to test Mediawiki versions other than the latest, how would I do
that if files for both the testrunner and the application under test are
only in trunk?

Or is there just too much going on for Selenium testing at the moment that
one should wait?

Regards,

Benedikt

--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)

Benedikt Kämpgen
Research Associate

Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany

Phone: +49 721 608-47946 (!new since 1 January 2011!)
Fax: +49 721 608-46580 (!new since 1 January 2011!)
Email: benedikt.kaemp...@kit.edu
Web: http://www.kit.edu/

KIT – University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Selenium] How to use?

2011-02-02 Thread Janesh Kodikara

- Original Message - 
From: "Benedikt Kaempgen" 
Newsgroups: gmane.science.linguistics.wikipedia.technical
To: 
Sent: Wednesday, February 02, 2011 6:27 PM
Subject: [Selenium] How to use?

Hi Benedikt,
I will get back to you on this tomorrow.
Thanks
Janesh



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] [Selenium] How to use?

2011-02-03 Thread Janesh Kodikara

- Original Message - 
From: "Benedikt Kaempgen" 
Newsgroups: gmane.science.linguistics.wikipedia.technical
To: 
Sent: Wednesday, February 02, 2011 6:27 PM
Subject: [Selenium] How to use?
I got following for your answer.

Hi Janesh,

We checked with latest trunk and test scripts available only at 
tests/selenium. Earlier test were located at maintenance/tests/selenium but 
later moved to one level up. So now the tests should be available only at 
tests/selenium level.

The tests were written against latest code because the idea is to regress 
test the system after latest changes. We can use the scripts against older 
versions if there are no major changes which would break the script.

Details of Selenium framework is available at 
http://www.mediawiki.org/wiki/SeleniumFramework and there is a readme file 
which describes the behavior for installer test scripts.

Regards,
Jinesh De Silva 


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] [Selenium] How to use?

2011-02-03 Thread Benedikt Kaempgen
Thanks for the quick answer.

Unfortunately, I still don't know how to apply testing to older MW versions.
I am familiar with the documentation, it is good, but does not answer all
relevant questions. But I will figure out...

Keep up the good work!

Best,

Benedikt


--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)

Benedikt Kämpgen
Research Associate

Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany

Phone: +49 721 608-47946 (!new since 1 January 2011!)
Fax: +49 721 608-46580 (!new since 1 January 2011!)
Email: benedikt.kaemp...@kit.edu
Web: http://www.kit.edu/

KIT – University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association


-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Janesh Kodikara
Sent: Thursday, February 03, 2011 9:11 AM
To: Wikimedia developers
Subject: Re: [Wikitech-l] [Selenium] How to use?


- Original Message - 
From: "Benedikt Kaempgen" 
Newsgroups: gmane.science.linguistics.wikipedia.technical
To: 
Sent: Wednesday, February 02, 2011 6:27 PM
Subject: [Selenium] How to use?
I got following for your answer.

Hi Janesh,

We checked with latest trunk and test scripts available only at 
tests/selenium. Earlier test were located at maintenance/tests/selenium but 
later moved to one level up. So now the tests should be available only at 
tests/selenium level.

The tests were written against latest code because the idea is to regress 
test the system after latest changes. We can use the scripts against older 
versions if there are no major changes which would break the script.

Details of Selenium framework is available at 
http://www.mediawiki.org/wiki/SeleniumFramework and there is a readme file 
which describes the behavior for installer test scripts.

Regards,
Jinesh De Silva 


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Selenium] How to use?

2011-02-03 Thread Chad
On Thu, Feb 3, 2011 at 10:16 AM, Benedikt Kaempgen
 wrote:
> Unfortunately, I still don't know how to apply testing to older MW versions.
>

Selenium support has only existed in 1.17/trunk, so it's not really possible
to setup for older versions.

-Chad

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] [Selenium] How to use?

2011-02-03 Thread Markus Glaser
Hi Benedict,

at the moment, the framework is still work in progress, so it is not shipped 
with any current releases (afaik). Also, using it requires some changes in the 
includes folder as well as the new maintenance class, which is not available 
until MW 1.16. But there is hope for you, I know at least one implementation of 
the framework with MW 1.15.3 ;) I put some notes on backporting the framework 
on http://www.mediawiki.org/wiki/Selenium_Framework#Backporting, although this 
may not yet be exhaustive.

Cheers,
Markus

-Ursprüngliche Nachricht-
Von: wikitech-l-boun...@lists.wikimedia.org 
[mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Benedikt Kaempgen
Gesendet: Donnerstag, 3. Februar 2011 16:17
An: Janesh Kodikara; Wikimedia developers
Betreff: Re: [Wikitech-l] [Selenium] How to use?

Thanks for the quick answer.

Unfortunately, I still don't know how to apply testing to older MW versions.
I am familiar with the documentation, it is good, but does not answer all 
relevant questions. But I will figure out...

Keep up the good work!

Best,

Benedikt


--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)

Benedikt Kämpgen
Research Associate

Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany

Phone: +49 721 608-47946 (!new since 1 January 2011!)
Fax: +49 721 608-46580 (!new since 1 January 2011!)
Email: benedikt.kaemp...@kit.edu
Web: http://www.kit.edu/

KIT - University of the State of Baden-Wuerttemberg and National Research 
Center of the Helmholtz Association


-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Janesh Kodikara
Sent: Thursday, February 03, 2011 9:11 AM
To: Wikimedia developers
Subject: Re: [Wikitech-l] [Selenium] How to use?


- Original Message -
From: "Benedikt Kaempgen" 
Newsgroups: gmane.science.linguistics.wikipedia.technical
To: 
Sent: Wednesday, February 02, 2011 6:27 PM
Subject: [Selenium] How to use?
I got following for your answer.

Hi Janesh,

We checked with latest trunk and test scripts available only at tests/selenium. 
Earlier test were located at maintenance/tests/selenium but later moved to one 
level up. So now the tests should be available only at tests/selenium level.

The tests were written against latest code because the idea is to regress test 
the system after latest changes. We can use the scripts against older versions 
if there are no major changes which would break the script.

Details of Selenium framework is available at 
http://www.mediawiki.org/wiki/SeleniumFramework and there is a readme file 
which describes the behavior for installer test scripts.

Regards,
Jinesh De Silva 


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] [Selenium] How to use?

2011-02-05 Thread Benedikt Kaempgen
Thanks!

The reason I asked is that SMW currently is tested for MW versions below
1.18. 

Best,
Benedikt


--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)

Benedikt Kämpgen
Research Associate

Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany

Phone: +49 721 608-47946 (!new since 1 January 2011!)
Fax: +49 721 608-46580 (!new since 1 January 2011!)
Email: benedikt.kaemp...@kit.edu
Web: http://www.kit.edu/

KIT – University of the State of Baden-Wuerttemberg and
National Research Center of the Helmholtz Association


-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Markus Glaser
Sent: Thursday, February 03, 2011 4:57 PM
To: Wikimedia developers
Subject: Re: [Wikitech-l] [Selenium] How to use?

Hi Benedict,

at the moment, the framework is still work in progress, so it is not shipped
with any current releases (afaik). Also, using it requires some changes in
the includes folder as well as the new maintenance class, which is not
available until MW 1.16. But there is hope for you, I know at least one
implementation of the framework with MW 1.15.3 ;) I put some notes on
backporting the framework on
http://www.mediawiki.org/wiki/Selenium_Framework#Backporting, although this
may not yet be exhaustive.

Cheers,
Markus

-Ursprüngliche Nachricht-
Von: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] Im Auftrag von Benedikt
Kaempgen
Gesendet: Donnerstag, 3. Februar 2011 16:17
An: Janesh Kodikara; Wikimedia developers
Betreff: Re: [Wikitech-l] [Selenium] How to use?

Thanks for the quick answer.

Unfortunately, I still don't know how to apply testing to older MW versions.
I am familiar with the documentation, it is good, but does not answer all
relevant questions. But I will figure out...

Keep up the good work!

Best,

Benedikt


--
Karlsruhe Institute of Technology (KIT)
Institute of Applied Informatics and Formal Description Methods (AIFB)

Benedikt Kämpgen
Research Associate

Kaiserstraße 12
Building 11.40
76131 Karlsruhe, Germany

Phone: +49 721 608-47946 (!new since 1 January 2011!)
Fax: +49 721 608-46580 (!new since 1 January 2011!)
Email: benedikt.kaemp...@kit.edu
Web: http://www.kit.edu/

KIT - University of the State of Baden-Wuerttemberg and National Research
Center of the Helmholtz Association


-Original Message-
From: wikitech-l-boun...@lists.wikimedia.org
[mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Janesh Kodikara
Sent: Thursday, February 03, 2011 9:11 AM
To: Wikimedia developers
Subject: Re: [Wikitech-l] [Selenium] How to use?


- Original Message -
From: "Benedikt Kaempgen" 
Newsgroups: gmane.science.linguistics.wikipedia.technical
To: 
Sent: Wednesday, February 02, 2011 6:27 PM
Subject: [Selenium] How to use?
I got following for your answer.

Hi Janesh,

We checked with latest trunk and test scripts available only at
tests/selenium. Earlier test were located at maintenance/tests/selenium but
later moved to one level up. So now the tests should be available only at
tests/selenium level.

The tests were written against latest code because the idea is to regress
test the system after latest changes. We can use the scripts against older
versions if there are no major changes which would break the script.

Details of Selenium framework is available at
http://www.mediawiki.org/wiki/SeleniumFramework and there is a readme file
which describes the behavior for installer test scripts.

Regards,
Jinesh De Silva 


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l