SlideShare a Scribd company logo
TESTLINK INTEGRATOR
(TESTLINK SELENIUM INTEGRATION VIATESTNG LISTENER)
HiroshTharaka
Quality Assurance Engineer (Automation  Research and Development  Performance)
What does it do???
Updates theTestcase status inTestLink
as the AutomatedTest methods executed.
FLOW
Test XML File
Test Class
(TestNG)
Project Listener
(TestNG)
TestlinkInteractor
(UtilityClass)
TestLink API 2.0
Project Data
ProjectName
PlanName
BuildName
ITestResult Object
(result)
TestLinkTestCaseID
TestLink
Testlink Data
DevKey
ServerURL
Selenium Automation Framework
*
ProjectData.java
Config.properties
Add/Set the testlink testcase idin
each test method
How can you make use of it???
Ex : in each test method,
TestlinkInteractor.setTlTestCaseID("TP-277");
1
/**
* TP-277 : Method Comment
*/
@Test(priority = 1)
public void exampleTestMethod() {
TestlinkInteractor.setTlTestCaseID("TP-277");
// content of the test method…
}
*All you have to do is simply set theTestcase ID
in each of your test method.
Make sure that all the test-cases inTestLink are marked as
AUTOMATEDforEXECUTIONTYPE
What you should make sure before using
theTestlinkInteractor???
Make sure the projectCommonpackage consists with the
projectListener
What you should make sure before using
theTestlinkInteractor???
Ex : for Project EMS,
emsCommon  emsListener.java
All the projects (EMS, GFN, SNI, IMS) in framework contains a listener.
Therefore you don’t have to worry about the listener for now…….
Creating the Plan and the Build inTestLink
• Create aTestPlan (Ex:TestPlanAutomation0001)
• Select CurrentTest Plan
• Create aTestBuild (Ex:TestBuildAutomation0001 / Open:Checked)
• DO NOT! - Add / Remove Platform
• Add / RemoveTest Cases to the Plan (Add Selected + Save Order)
• Test Cases are in Automated Execution state
Once the test cases are complete in each sprint,
Add every test case to the ‘Automation Plan’ apart from the ‘Sprint Plan’ !!!
One time configuration for EACH PROJECT
Summary of Information
PROJECT
NAME
TEST PLAN TESTBUILD LISTNER TESTSUITE
IMS (IPM) IMSAutomationTestPlan IMSAutomationBuild IMSListener AutomationTestSuiteIMS
IMS
(Lyceum)
EMSAutomationTestPlan EMSAutomationBuild EmsListener AutomationTestSuiteEMS.xml
General
Finance
GFAutomationTestPlan GFAutomationBuild GFListener AutomationTestSuiteGFN
Stores &
Inventory
SNIAutomationTestPlan SNIAutomationBuild SNIListener AutomationTestSuiteSNI
Library LibraryAutomationRegression
TestPlan
LibraryAutomationRegression
Build
LibraryListener AutomationTestSuiteLIB
TestLinkInteractor.java
is there in the framework now….
ThankYou!

More Related Content

What's hot

Create an architecture for web test automation
Create an architecture for web test automationCreate an architecture for web test automation
Create an architecture for web test automation
Elias Nogueira
 
An Introduction to Unit Test Using NUnit
An Introduction to Unit Test Using NUnitAn Introduction to Unit Test Using NUnit
An Introduction to Unit Test Using NUnit
weili_at_slideshare
 
The Future of QA at Atlassian
The Future of QA at AtlassianThe Future of QA at Atlassian
The Future of QA at Atlassian
Atlassian
 
Unit Testing Using N Unit
Unit Testing Using N UnitUnit Testing Using N Unit
Unit Testing Using N Unit
Gaurav Arora
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?
Knoldus Inc.
 
Katalon Studio - GUI Overview
Katalon Studio - GUI OverviewKatalon Studio - GUI Overview
Katalon Studio - GUI Overview
Katalon Studio
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
Cuelogic Technologies Pvt. Ltd.
 
Test automation process
Test automation processTest automation process
Test automation process
Bharathi Krishnamurthi
 
Test Case Creation in Katalon Studio
Test Case Creation in Katalon StudioTest Case Creation in Katalon Studio
Test Case Creation in Katalon Studio
RapidValue
 
TestNG Session presented in Xebia XKE
TestNG Session presented in Xebia XKETestNG Session presented in Xebia XKE
TestNG Session presented in Xebia XKE
Abhishek Yadav
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
Ganuka Yashantha
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
Zeba Tahseen
 
N Unit Presentation
N Unit PresentationN Unit Presentation
N Unit Presentation
priya_trivedi
 
API Testing following the Test Pyramid
API Testing following the Test PyramidAPI Testing following the Test Pyramid
API Testing following the Test Pyramid
Elias Nogueira
 
Katalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing teamKatalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing team
Katalon Studio
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
Swati Bansal
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
shreyas JC
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
Kerry Buckley
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with Postman
Postman
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
QASymphony
 

What's hot (20)

Create an architecture for web test automation
Create an architecture for web test automationCreate an architecture for web test automation
Create an architecture for web test automation
 
An Introduction to Unit Test Using NUnit
An Introduction to Unit Test Using NUnitAn Introduction to Unit Test Using NUnit
An Introduction to Unit Test Using NUnit
 
The Future of QA at Atlassian
The Future of QA at AtlassianThe Future of QA at Atlassian
The Future of QA at Atlassian
 
Unit Testing Using N Unit
Unit Testing Using N UnitUnit Testing Using N Unit
Unit Testing Using N Unit
 
Why Katalon Studio?
Why Katalon Studio?Why Katalon Studio?
Why Katalon Studio?
 
Katalon Studio - GUI Overview
Katalon Studio - GUI OverviewKatalon Studio - GUI Overview
Katalon Studio - GUI Overview
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
Test automation process
Test automation processTest automation process
Test automation process
 
Test Case Creation in Katalon Studio
Test Case Creation in Katalon StudioTest Case Creation in Katalon Studio
Test Case Creation in Katalon Studio
 
TestNG Session presented in Xebia XKE
TestNG Session presented in Xebia XKETestNG Session presented in Xebia XKE
TestNG Session presented in Xebia XKE
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
N Unit Presentation
N Unit PresentationN Unit Presentation
N Unit Presentation
 
API Testing following the Test Pyramid
API Testing following the Test PyramidAPI Testing following the Test Pyramid
API Testing following the Test Pyramid
 
Katalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing teamKatalon Studio - Best automation solution for software testing team
Katalon Studio - Best automation solution for software testing team
 
Selenium Concepts
Selenium ConceptsSelenium Concepts
Selenium Concepts
 
Test automation using selenium
Test automation using seleniumTest automation using selenium
Test automation using selenium
 
Web application testing with Selenium
Web application testing with SeleniumWeb application testing with Selenium
Web application testing with Selenium
 
Continuous Quality with Postman
Continuous Quality with PostmanContinuous Quality with Postman
Continuous Quality with Postman
 
RESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
 

Viewers also liked

Test link
Test linkTest link
Test link
DialogWebdesign
 
Working Flow of Opensource Testlink
Working Flow of Opensource TestlinkWorking Flow of Opensource Testlink
Working Flow of Opensource Testlink
usha kannappan
 
Linkedin
LinkedinLinkedin
Linkedin
Greg_Hughes
 
Btd presentation-2011
Btd presentation-2011Btd presentation-2011
Btd presentation-2011
kinow
 
Testlink Test Management with Teamforge
Testlink Test Management with TeamforgeTestlink Test Management with Teamforge
Testlink Test Management with Teamforge
CollabNet
 
Installation instruction of Testlink
Installation instruction of TestlinkInstallation instruction of Testlink
Installation instruction of Testlink
usha kannappan
 
Introduction to testlink
Introduction to testlinkIntroduction to testlink
Introduction to testlink
Sumara Khan
 
Test link jira soap integration
Test link jira soap integrationTest link jira soap integration
Test link jira soap integration
Erol Selitektay
 
Excel to TestLink
Excel to TestLinkExcel to TestLink
Excel to TestLink
Erol Selitektay
 
Introduction To Testlink
Introduction To TestlinkIntroduction To Testlink
Introduction To Testlink
guest1425e3
 
Automated testing with Openshift
Automated testing with OpenshiftAutomated testing with Openshift
Automated testing with Openshift
Oleg Popov
 
installation_manual
installation_manualinstallation_manual
installation_manual
tutorialsruby
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
Surbhi Saxena
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Eliane Collins
 
TestLink
TestLinkTestLink
TestLinkISsoft
 
The automated tests inside Openshift
The automated tests inside OpenshiftThe automated tests inside Openshift
The automated tests inside Openshift
Oleg Popov
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introduction
David Ionut
 
working flow of Testlink1.7
working flow of Testlink1.7working flow of Testlink1.7
working flow of Testlink1.7
guest4daeff
 
Digital Leadership, Reputation and Being Your Best Self
Digital Leadership, Reputation and Being Your Best SelfDigital Leadership, Reputation and Being Your Best Self
Digital Leadership, Reputation and Being Your Best Self
Paul Brown
 
Funny Slideshow
Funny SlideshowFunny Slideshow
Funny Slideshow
moto
 

Viewers also liked (20)

Test link
Test linkTest link
Test link
 
Working Flow of Opensource Testlink
Working Flow of Opensource TestlinkWorking Flow of Opensource Testlink
Working Flow of Opensource Testlink
 
Linkedin
LinkedinLinkedin
Linkedin
 
Btd presentation-2011
Btd presentation-2011Btd presentation-2011
Btd presentation-2011
 
Testlink Test Management with Teamforge
Testlink Test Management with TeamforgeTestlink Test Management with Teamforge
Testlink Test Management with Teamforge
 
Installation instruction of Testlink
Installation instruction of TestlinkInstallation instruction of Testlink
Installation instruction of Testlink
 
Introduction to testlink
Introduction to testlinkIntroduction to testlink
Introduction to testlink
 
Test link jira soap integration
Test link jira soap integrationTest link jira soap integration
Test link jira soap integration
 
Excel to TestLink
Excel to TestLinkExcel to TestLink
Excel to TestLink
 
Introduction To Testlink
Introduction To TestlinkIntroduction To Testlink
Introduction To Testlink
 
Automated testing with Openshift
Automated testing with OpenshiftAutomated testing with Openshift
Automated testing with Openshift
 
installation_manual
installation_manualinstallation_manual
installation_manual
 
Testlink_Version 0.3
Testlink_Version 0.3Testlink_Version 0.3
Testlink_Version 0.3
 
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
Scrum gathering Paris 2013 -  test automation strategy for Scrum ProjectsScrum gathering Paris 2013 -  test automation strategy for Scrum Projects
Scrum gathering Paris 2013 - test automation strategy for Scrum Projects
 
TestLink
TestLinkTestLink
TestLink
 
The automated tests inside Openshift
The automated tests inside OpenshiftThe automated tests inside Openshift
The automated tests inside Openshift
 
TestLink introduction
TestLink introductionTestLink introduction
TestLink introduction
 
working flow of Testlink1.7
working flow of Testlink1.7working flow of Testlink1.7
working flow of Testlink1.7
 
Digital Leadership, Reputation and Being Your Best Self
Digital Leadership, Reputation and Being Your Best SelfDigital Leadership, Reputation and Being Your Best Self
Digital Leadership, Reputation and Being Your Best Self
 
Funny Slideshow
Funny SlideshowFunny Slideshow
Funny Slideshow
 

Similar to TESTLINK INTEGRATOR

Spring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing SupportSpring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing Support
Sam Brannen
 
Mxunit
MxunitMxunit
Mxunit
VIkas Patel
 
Test ng for testers
Test ng for testersTest ng for testers
Test ng for testers
Colombo Selenium Meetup
 
Testing Web Apps with Spring Framework 3.2
Testing Web Apps with Spring Framework 3.2Testing Web Apps with Spring Framework 3.2
Testing Web Apps with Spring Framework 3.2
Sam Brannen
 
Junit and testNG
Junit and testNGJunit and testNG
Junit and testNG
Марія Русин
 
S313352 optimizing java device testing with automatic feature discovering
S313352 optimizing java device testing with automatic feature discoveringS313352 optimizing java device testing with automatic feature discovering
S313352 optimizing java device testing with automatic feature discovering
romanovfedor
 
Dev labs alliance top 20 testng interview questions for sdet
Dev labs alliance top 20 testng interview questions for sdetDev labs alliance top 20 testng interview questions for sdet
Dev labs alliance top 20 testng interview questions for sdet
devlabsalliance
 
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
LinkCompanyAdmin
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
Stanislav Tiurikov
 
Unit testing and test driven development using vs
Unit testing and test driven development using vsUnit testing and test driven development using vs
Unit testing and test driven development using vs
Abhimanyu Singhal
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
doai tran
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
techgajanan
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
mehramit
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023
Scott Keck-Warren
 
Strategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source FrameworksStrategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source Frameworks
Dimitry Polivaev
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
Levon Apreyan
 
Appium TestNG Framework and Multi-Device Automation Execution
Appium TestNG Framework and Multi-Device Automation ExecutionAppium TestNG Framework and Multi-Device Automation Execution
Appium TestNG Framework and Multi-Device Automation Execution
pCloudy
 
Introducing Struts 2
Introducing Struts 2Introducing Struts 2
Introducing Struts 2
wiradikusuma
 
Apex Testing and Best Practices
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best Practices
Jitendra Zaa
 
Backend Development - Django
Backend Development - DjangoBackend Development - Django
Backend Development - Django
Ahmad Sakhleh
 

Similar to TESTLINK INTEGRATOR (20)

Spring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing SupportSpring 3.1 and MVC Testing Support
Spring 3.1 and MVC Testing Support
 
Mxunit
MxunitMxunit
Mxunit
 
Test ng for testers
Test ng for testersTest ng for testers
Test ng for testers
 
Testing Web Apps with Spring Framework 3.2
Testing Web Apps with Spring Framework 3.2Testing Web Apps with Spring Framework 3.2
Testing Web Apps with Spring Framework 3.2
 
Junit and testNG
Junit and testNGJunit and testNG
Junit and testNG
 
S313352 optimizing java device testing with automatic feature discovering
S313352 optimizing java device testing with automatic feature discoveringS313352 optimizing java device testing with automatic feature discovering
S313352 optimizing java device testing with automatic feature discovering
 
Dev labs alliance top 20 testng interview questions for sdet
Dev labs alliance top 20 testng interview questions for sdetDev labs alliance top 20 testng interview questions for sdet
Dev labs alliance top 20 testng interview questions for sdet
 
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Unit testing and test driven development using vs
Unit testing and test driven development using vsUnit testing and test driven development using vs
Unit testing and test driven development using vs
 
Hybrid automation framework
Hybrid automation frameworkHybrid automation framework
Hybrid automation framework
 
Qtp Presentation
Qtp PresentationQtp Presentation
Qtp Presentation
 
Qtp Training
Qtp TrainingQtp Training
Qtp Training
 
Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023Getting Started with Test-Driven Development at Longhorn PHP 2023
Getting Started with Test-Driven Development at Longhorn PHP 2023
 
Strategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source FrameworksStrategy-driven Test Generation with Open Source Frameworks
Strategy-driven Test Generation with Open Source Frameworks
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
 
Appium TestNG Framework and Multi-Device Automation Execution
Appium TestNG Framework and Multi-Device Automation ExecutionAppium TestNG Framework and Multi-Device Automation Execution
Appium TestNG Framework and Multi-Device Automation Execution
 
Introducing Struts 2
Introducing Struts 2Introducing Struts 2
Introducing Struts 2
 
Apex Testing and Best Practices
Apex Testing and Best PracticesApex Testing and Best Practices
Apex Testing and Best Practices
 
Backend Development - Django
Backend Development - DjangoBackend Development - Django
Backend Development - Django
 

TESTLINK INTEGRATOR

  • 1. TESTLINK INTEGRATOR (TESTLINK SELENIUM INTEGRATION VIATESTNG LISTENER) HiroshTharaka Quality Assurance Engineer (Automation Research and Development Performance)
  • 2. What does it do??? Updates theTestcase status inTestLink as the AutomatedTest methods executed.
  • 3. FLOW Test XML File Test Class (TestNG) Project Listener (TestNG) TestlinkInteractor (UtilityClass) TestLink API 2.0 Project Data ProjectName PlanName BuildName ITestResult Object (result) TestLinkTestCaseID TestLink Testlink Data DevKey ServerURL Selenium Automation Framework * ProjectData.java Config.properties
  • 4. Add/Set the testlink testcase idin each test method How can you make use of it??? Ex : in each test method, TestlinkInteractor.setTlTestCaseID("TP-277");
  • 5. 1 /** * TP-277 : Method Comment */ @Test(priority = 1) public void exampleTestMethod() { TestlinkInteractor.setTlTestCaseID("TP-277"); // content of the test method… } *All you have to do is simply set theTestcase ID in each of your test method.
  • 6. Make sure that all the test-cases inTestLink are marked as AUTOMATEDforEXECUTIONTYPE What you should make sure before using theTestlinkInteractor???
  • 7.
  • 8. Make sure the projectCommonpackage consists with the projectListener What you should make sure before using theTestlinkInteractor??? Ex : for Project EMS, emsCommon  emsListener.java All the projects (EMS, GFN, SNI, IMS) in framework contains a listener. Therefore you don’t have to worry about the listener for now…….
  • 9. Creating the Plan and the Build inTestLink • Create aTestPlan (Ex:TestPlanAutomation0001) • Select CurrentTest Plan • Create aTestBuild (Ex:TestBuildAutomation0001 / Open:Checked) • DO NOT! - Add / Remove Platform • Add / RemoveTest Cases to the Plan (Add Selected + Save Order) • Test Cases are in Automated Execution state Once the test cases are complete in each sprint, Add every test case to the ‘Automation Plan’ apart from the ‘Sprint Plan’ !!! One time configuration for EACH PROJECT
  • 10. Summary of Information PROJECT NAME TEST PLAN TESTBUILD LISTNER TESTSUITE IMS (IPM) IMSAutomationTestPlan IMSAutomationBuild IMSListener AutomationTestSuiteIMS IMS (Lyceum) EMSAutomationTestPlan EMSAutomationBuild EmsListener AutomationTestSuiteEMS.xml General Finance GFAutomationTestPlan GFAutomationBuild GFListener AutomationTestSuiteGFN Stores & Inventory SNIAutomationTestPlan SNIAutomationBuild SNIListener AutomationTestSuiteSNI Library LibraryAutomationRegression TestPlan LibraryAutomationRegression Build LibraryListener AutomationTestSuiteLIB
  • 11. TestLinkInteractor.java is there in the framework now…. ThankYou!

Editor's Notes

  1. DEMO IF REQUIRED