Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
TESTLINK INTEGRATOR
(TESTLINK SELENIUM INTEGRATION VIATESTNG LISTENER)
HiroshTharaka
Quality Assurance Engineer (Automatio...
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
Projec...
Add/Set the testlink testcase idin
each test method
How can you make use of it???
Ex : in each test method,
TestlinkIntera...
1
/**
* TP-277 : Method Comment
*/
@Test(priority = 1)
public void exampleTestMethod() {
TestlinkInteractor.setTlTestCaseI...
Make sure that all the test-cases inTestLink are marked as
AUTOMATEDforEXECUTIONTYPE
What you should make sure before usin...
Make sure the projectCommonpackage consists with the
projectListener
What you should make sure before using
theTestlinkInt...
Creating the Plan and the Build inTestLink
• Create aTestPlan (Ex:TestPlanAutomation0001)
• Select CurrentTest Plan
• Crea...
Summary of Information
PROJECT
NAME
TEST PLAN TESTBUILD LISTNER TESTSUITE
IMS (IPM) IMSAutomationTestPlan IMSAutomationBui...
TestLinkInteractor.java
is there in the framework now….
ThankYou!
TESTLINK INTEGRATOR
Upcoming SlideShare
Loading in …5
×

of

TESTLINK INTEGRATOR Slide 1 TESTLINK INTEGRATOR Slide 2 TESTLINK INTEGRATOR Slide 3 TESTLINK INTEGRATOR Slide 4 TESTLINK INTEGRATOR Slide 5 TESTLINK INTEGRATOR Slide 6 TESTLINK INTEGRATOR Slide 7 TESTLINK INTEGRATOR Slide 8 TESTLINK INTEGRATOR Slide 9 TESTLINK INTEGRATOR Slide 10 TESTLINK INTEGRATOR Slide 11
Upcoming SlideShare
Test link
Next
Download to read offline and view in fullscreen.

2 Likes

Share

Download to read offline

TESTLINK INTEGRATOR

Download to read offline

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

TESTLINK INTEGRATOR

  1. 1. TESTLINK INTEGRATOR (TESTLINK SELENIUM INTEGRATION VIATESTNG LISTENER) HiroshTharaka Quality Assurance Engineer (Automation Research and Development Performance)
  2. 2. What does it do??? Updates theTestcase status inTestLink as the AutomatedTest methods executed.
  3. 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. 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. 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. 6. Make sure that all the test-cases inTestLink are marked as AUTOMATEDforEXECUTIONTYPE What you should make sure before using theTestlinkInteractor???
  7. 7. 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…….
  8. 8. 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
  9. 9. 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
  10. 10. TestLinkInteractor.java is there in the framework now…. ThankYou!
  • christianseegraef

    Sep. 2, 2019
  • KhaoulaKARAM2

    Jun. 18, 2019

Views

Total views

1,259

On Slideshare

0

From embeds

0

Number of embeds

7

Actions

Downloads

23

Shares

0

Comments

0

Likes

2

×