Selenium Test Integration with Testlink
The following guide will show to configure selenium to report directly the automated test execution to Testlink.Download the files needed:
- Selenium - http://bit.ly/S9S9xX
- Testlink API Client - http://bit.ly/W31yrF
- Selenium Server - http://bit.ly/W9jTjB
- Teslink Java API - http://bit.ly/11Co8Lw
- In order to make this work, make sure you can add the libraries of the Testlink client API package to your project.
- Your Testlink project must have the test cases as automatic execution and project must be enabled for automation.
- Go to http://localhost/testlink and login with your credentials
- Go to My Settings and generate a new api key.
- Create an interface class named IConstants and paste the following code:
public interface IConstants {
final String DEVKEY = "<code generated by testlink>";
final String URL = "http://localhost/testlink/lib/api/xmlrpc.php";
final String PROJECTNAME = "Testing Project";
final String TESTPLANNAME = "Test Plan Demo";
final String BUILDNAME = "Build Demo";
final String TESTCASENAME = "Test Last Name";
}
hello, can you tell me, where do I save java files?... sorry for my english, but, I dont speak .... thanks
ReplyDeleteHola, tienes que tener un proyecto creado en eclipse como lo indiqué en el paso 3. No te preocupes por el inglés ;)
ReplyDeleteXD ok, te cuento, no me funciona, las librerias me tiran error ya que las librerias que comienzan con org no las encuentra, baje todos los archivos y los agrege pero solo reconoces las librerias testlink, estoy con las versiones 1.9.9. de testlink y la version 2.39 de selenium... saludos
ReplyDeleteSi gustas, puedes pasarme unos pantallazos para darle una ojeada a ver que podría ser, esto lo hice ya hace un tiempo como ves, quizá haya un problema con alguna librería actualizada. Saludos
ReplyDeletehola, tengo creado el proecto, pero me da problemas la libreria en jenkins, sabes por qué puede ser?
ReplyDeleteHola,
ReplyDeletePodrías incluir aquí el error que te está dando?
Este blog es bastante antiguo y probablemente cosas hayan cambiado desde entonces. Trataré de actualizar el contenido.