Update Selenium test results in JIRA using ZAPI plugin

Пікірлер: 87

  • @sasikumar-bh2mo
    @sasikumar-bh2mo3 жыл бұрын

    #Jagadeesh very nice explanation that Used my project ... super bro

  • @dewanganskitchen1117
    @dewanganskitchen11173 жыл бұрын

    How to integrate zypher with selenium.....what code we have to write in eclipse and what dependency we have to add without using Jenkins...?

  • @suresh4401
    @suresh44014 жыл бұрын

    Can we use the same process for integrating Selenium(Python- Pytest Framework) with JIRA using ZAPI ?

  • @jayceesuarez1556
    @jayceesuarez15564 жыл бұрын

    @ Jagadeesh do you have an API documentation on how to pass results in JIRA by sending it via API call?

  • @user-bg5pl6ug8r
    @user-bg5pl6ug8r11 ай бұрын

    Hi I try this integration but when run the job only one test case is include in the test cycle why another test cases is not include in the test cyle the test clase have 10 test cases

  • @vaibhavsharmasfedel5954
    @vaibhavsharmasfedel59545 жыл бұрын

    Hi @Jagadeesh, Can you please give a link to the xml report you are generating using surefire ?

  • @thyristor100
    @thyristor1002 ай бұрын

    In entire video, where did u show the results in JIRA?

  • @usrinivas5328
    @usrinivas53284 ай бұрын

    i have question if we execute testng framework how to automatically trigger automation testng results report to zephyr in jira , it has to trigger execution status automatically in zephyr by exectuing our automation scripts, how to do it can anyone explain it please

  • @pratikshadixit7918
    @pratikshadixit7918 Жыл бұрын

    Hi @jagdeesh I need to integrate selenium with Jira for updating the test case status as paa fail but in our project we dont have jenkins we are executing our test cases in AWS Ec2 instance so is it possible to integrate

  • @shruthishru3553
    @shruthishru35533 жыл бұрын

    Hi Jagadeesh, ur way to briefing is really easy to understand. Got a picture in mind about the flow..thank you..please let me know if you have any clue on how to get the api keys ( secret and access) for trail account.. because I have searched and couldn't able to find it and I'm stuck in validation part in jenkins.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Hi, Thanks for your kind words. Did you manage to install zapi plugin, please?

  • @shruthishru3553

    @shruthishru3553

    3 жыл бұрын

    @@JagadeeshJayachandran yes ... installed

  • @kumark21
    @kumark214 жыл бұрын

    Hi Jagadeesh, Thank you for the detailed explanation. I am facing below issue, please help me out. [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:43 min [INFO] Finished at: 2019-12-10T14:28:16+05:30 [INFO] ------------------------------------------------------------------------ Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did leafNodes run? For example, C:\Users\icon\.jenkins\workspace\CMSNew\Automation\target\surefire-reports\TEST-TestSuite.xml is 20 min old TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/testng-results.xml testng-results.xml was last modified before this build started. Ignoring it. testng-results.xml was last modified before this build started. Ignoring it. Saving reports... Found matching files but did not find any TestNG results. [ZapiTestResultReporter] [INFO] Examining test results... Build result is FAILURE null Problem parsing JUnit test Results. Error parsing surefire reports. Please ensure "Publish JUnit test result report is added" as a post build action Build step 'Publish test result to Zephyr for JIRA' marked build as failure Finished: FAILURE

  • @mayurdugad8629
    @mayurdugad86295 жыл бұрын

    Hi @Jagadeesh, How to integrate Selenium cucumber framework with Jira Zephyr?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    @mayur, I have not tried with cucumber, but as long as you are using Jenkins to run the build it should work.

  • @pallaviarora882
    @pallaviarora8825 жыл бұрын

    Hi @Jagdeesh ...thanks for the video.. I am trying to connect my local jira instance to Jenkins.I have installed Zephyr and Zapi add ons in jira.but I am not getting the option to generate the keys in JIRA.Also,I am not getting any option to add Zephyr base url in Jenkins.I am able to connect Jenkins and Jira though and can see my project name and testcyle name but not able to proceed.Could you pls help.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    Are you trying with Jira cloud or Jira server?

  • @mayurdugad8629
    @mayurdugad86295 жыл бұрын

    Hi @Jagadeesh, I have getting the "Could not establish the connection " error. When entering the Jira Cloud credential.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    Sorry could reply on time, hope this is fixed

  • @ramitdhamija6655
    @ramitdhamija66554 жыл бұрын

    Hi @Jagadeesh, found a query while watching above video. I have Jira including their plugin Zephyr and ZAPI. I am running my code from Jenkins as shown in the video. My code is in Java+TestNG and I have not added a Junit Plugin for Jenkins. My tests runs fine but console output shows: Build result is SUCCESS null Problem parsing JUnit test Results. Error parsing surefire reports. Please ensure "Publish JUnit test result report is added" as a post build action Build step 'Publish test result to Zephyr for JIRA' marked build as failure Finished: FAILURE On Jira it still shows Unexecuted. Need your help here. Many Thanks !!

  • @kumark21

    @kumark21

    4 жыл бұрын

    Hello @Ramit Dhamija, I am also facing same issue, did you find the solution??

  • @gamelover83
    @gamelover832 жыл бұрын

    Hi Jagadeesh, thanks for the video. I see Zephyr plug in is a trial version and free for 7 days only. What happens after that? Do we have to purchase it if at all we need to continue using it?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    2 жыл бұрын

    Yes we have to purchase unfortunately

  • @maneeshshakthivel_9brollno251
    @maneeshshakthivel_9brollno2513 жыл бұрын

    Hi @Jagadeesh, Is the same method followed in jira server too using zephyr and zapi??

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Hopefully Yes.

  • @aaronr4142
    @aaronr41425 жыл бұрын

    Hi @Jagadeesh! How did you do the update using ZAPI API?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    You need to generate the Key from jira, were you able to do that?, if you can tell where you stuck at, I can help.

  • @rajatlilhare965
    @rajatlilhare9652 жыл бұрын

    Hi @jagadeesh ,Can I get .xml file, I want to check the format of that file, or can you share the link of github if there is this code present.

  • @jayesh911sf
    @jayesh911sfАй бұрын

    Hi Jagadeesh, I dont know if you'll see this message. This video is very informative, but is it possible for you to share the github link to your public projects?

  • @virginia.faustino4935
    @virginia.faustino49353 жыл бұрын

    Hi, thanks so much for your tutorial... I'm new in this world... I have a problem, in my target folder is not any testrepor.xml. So I don't know how to continue.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Thanks, to get the XML file, please update your project to Maven with TestNg. You should have maven surefire plugin in your POM.xml

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Refer this link to set up plugin: maven.apache.org/surefire/maven-surefire-report-plugin/usage.html

  • @krishnadasari9863
    @krishnadasari98634 жыл бұрын

    Hi Jagadeesh Thanks for the video, one scenario like we need to update the screenshot to every test step, is it possible? Eg: Home page(after login success) test step and logout page test steps are there. I need to attach those two screenshots to my test steps automatically. Please guide me

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    Hi Krishna, I have not tried this scenario, let me give a shot.

  • @krishnadasari9863

    @krishnadasari9863

    4 жыл бұрын

    @@JagadeeshJayachandran - Thanks for reply , as dev team/ stake holders are expecting like whenever test case failed we need to attach a screenshot for particular test step

  • @meenakshiramachandran1981
    @meenakshiramachandran19815 жыл бұрын

    Hi @Jagadeesh, Thanks for the video. I am facing invalid user credentials issue upon clicking Test Configuration in Manage Jenkins - > Zephyr For JIRA - Test Management Configuration, but I have keyed in valid credentials only. Do you have any recommendations here?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    Did you try entering email I'd?

  • @ukraniane

    @ukraniane

    5 жыл бұрын

    The same issue. Did you solve the problem?

  • @santoshkumar-uz8yj

    @santoshkumar-uz8yj

    5 жыл бұрын

    @@ukraniane did you solved it

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    If invalid user credentials persists, please raise a ticket at www.getzephyr.com/support

  • @santoshkumar-uz8yj

    @santoshkumar-uz8yj

    5 жыл бұрын

    @@JagadeeshJayachandran Thanks

  • @aanchalsrivastava8550
    @aanchalsrivastava85502 жыл бұрын

    how can we get this project code

  • @oppositeopposite6601
    @oppositeopposite66015 жыл бұрын

    @jagadeesh is there any way to execute the test cases without narrating the test case summary according to the project structure

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    If you are not narrating then it would create a new test case.

  • @deepakp5523

    @deepakp5523

    4 жыл бұрын

    @jagadeesh can we map the test cases using test case IDs by appending the test case ID to the test method name? Ex. TC25 is my test case ID, I'll name the corresponding test method as TC25_mytestmethod. Is there any option to do that?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    @@deepakp5523 you can do that, I am sure it would work.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    @@deepakp5523 Yes, you need to write your test methods and package name in a way that appears as a scenario.

  • @deepakp5523

    @deepakp5523

    4 жыл бұрын

    @@JagadeeshJayachandran is it the only way to map?

  • @chmounika2888
    @chmounika28884 жыл бұрын

    Hi Jagadeesh, I hope you will help me in this. I have learnt selenium webdriver with Java, I can work on TestNG, Data driven Framework, pom. I joined a company saying I have 2 years experience in automation. They didn't mention anything about API testing, in interview or interview call letter. But now one manager called and asked us(some other new joiner and me) to automate jira using API. She said yes as she have exp in API. We need to work on it tomorrow. What should I do now. Should I tell him that I didn't work on API before. Please give me suggestion.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    Hi Mounika, yes you should tell them that you have not worked with APIs before, therefore you might need more effort than planned" be specific about the expected delivery time. Coming to the learning part, you can definitely learn through working directly rather than learning everything first and kick starting the work, because these learning concept never ends. So don't worry get help from others and google of course and with a little bit of additional effort you can complete this work. So I would say Don't explicitly tell them that you don't know, tell them you need to explore because you haven't worked on it before, since you have automation background you can do it.

  • @chmounika2888

    @chmounika2888

    4 жыл бұрын

    @@JagadeeshJayachandran thank you so much for your time and help, I will do the same.

  • @anandn1792
    @anandn17924 жыл бұрын

    Thank you Jagadeesh for uploading the video, it's very helpful. Can you please help to resolve below issue - Integration between Zephyr and Jenkins is working fine. When we click on Test configuration it is "Validated Successfully". Now the problem for is when a new job is created and under Post-Build actions -> Publish test result to Zephyr for Jira, it is not popping up Projects that are created in Jira. In Project Name it is showing No Projects. JIRA URL is fine, it is showing whatever we have configured Manage Jenkins -> Configure System. Please suggest us how to fix this problem.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    That's wierd, will look into this.

  • @akshatsekra7059

    @akshatsekra7059

    4 жыл бұрын

    I am also getting the same problem. any solution?

  • @akshatsekra7059

    @akshatsekra7059

    4 жыл бұрын

    Ok this has been fixed. while configuring the Zephyr, we need to provide API token generated in JIRA . i was passing JIRA username and password

  • @Anu-uz7ko

    @Anu-uz7ko

    Жыл бұрын

    Hi @@JagadeeshJayachandran @Anand N, I am facing the same issue, did anyone find a fix?

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    Жыл бұрын

    @@Anu-uz7ko Hi Anu, Sorry to hear that you couldn't integrate, could you check with JIRA help desk, could be some issue with your ID.

  • @rajatlilhare965
    @rajatlilhare9652 жыл бұрын

    Hi @jagadeesh, I want integrate zephyr/zapi with Azure DevOps. So that I can push my result files which are in the form of .xlsx & .png files. So Can u tell me zephyr supports .xlsx file, .xlsx file is used for test driven framework so we are reading test data from .xlsx file & writing the result pass/fail after comparing with expected result. I m using python-selenium without any framework like pytest.

  • @rajatlilhare965

    @rajatlilhare965

    2 жыл бұрын

    Or can you provide your email or contact number if possible.

  • @lisandrofernando8533
    @lisandrofernando85334 жыл бұрын

    I have a doubt on the process of integration Selenium and TestRails

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    What's the doubt, please.

  • @lisandrofernando8533

    @lisandrofernando8533

    4 жыл бұрын

    My doubt is which dependencies exactly to add on my POM file, TesNG listeners implementation, I have been trying but I cannot get it.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    4 жыл бұрын

    @@lisandrofernando8533 your code is working?

  • @lisandrofernando8533

    @lisandrofernando8533

    4 жыл бұрын

    Not yet, can you bring a demo with TestNG integration with TestRails?

  • @ritikaverma575
    @ritikaverma5753 жыл бұрын

    Hi , can we do this for BDD framework

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Yes, as long as you have a report configured in jenkins.

  • @santoshkumar-uz8yj
    @santoshkumar-uz8yj5 жыл бұрын

    Hi jagadeesh, Im geeting error:ssl exception...could you please help me

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    On which screen you are getting this error,please?

  • @santoshkumar-uz8yj

    @santoshkumar-uz8yj

    5 жыл бұрын

    @@JagadeeshJayachandran jenkins configure system page.....when i do test connection

  • @santoshkumar-uz8yj

    @santoshkumar-uz8yj

    5 жыл бұрын

    @@JagadeeshJayachandran jenkins configuration page

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    5 жыл бұрын

    Is it possible for you to share me the screenshot pls? or I guess you need to raise a ticket in www.getzephyr.com/support

  • @santoshkumar-uz8yj

    @santoshkumar-uz8yj

    5 жыл бұрын

    @@JagadeeshJayachandran hi that error is gone.....now im getting invalid credentials error

  • @aanchalsrivastava8550
    @aanchalsrivastava85502 жыл бұрын

    can u make video of data generator poc in automation

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    2 жыл бұрын

    Could you add more details please

  • @aanchalsrivastava8550

    @aanchalsrivastava8550

    2 жыл бұрын

    @@JagadeeshJayachandran like data generator source for database in automation test data generator

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    2 жыл бұрын

    @@aanchalsrivastava8550 will check ✅

  • @Barsath1000
    @Barsath10003 жыл бұрын

    Thank you so much for tutorial. We are using Robot framework to automate scripts. Can we use same process to integrate with Robot Tests-Jenkins-Zephyr integration. Please share your contact/mail address to reach you to explain our framework & reporting structure.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    Are you using Python?

  • @Barsath1000

    @Barsath1000

    3 жыл бұрын

    @@JagadeeshJayachandran Yes, we are using Python packages and Robot keywords to develop scripts. We installed all packages on Python3.x and scripts written using robot inbuilt keywords. For example *** Test Cases *** Login Page open browser ${SiteUrl} ${Browser} Input Text ${username} nouser@test.com sleep 30 sec Input Text ${psw} nopsw click button ${sigin} close browser command to run above script is, cmdprompt>robot filename.robot We will get the .xml & .html files as a reports after execute the above command. Can we use .xml file to update the test status in Zephyr by using Zapi plugin ?. Please ping/reply to my mail id basheervit@gmail.com to have detailed explanation. We are happy to have 1:1 chat to explain about our project framework structure details.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    @@Barsath1000 Have you configured Jenkins?

  • @Barsath1000

    @Barsath1000

    3 жыл бұрын

    @@JagadeeshJayachandran yes. It is working now. we added --xunit file.xml at the time running robot script. Now my new question. For failed tests we will get message in xml file, right. Is it possible to append that error message to Failed zephyr test ???.

  • @JagadeeshJayachandran

    @JagadeeshJayachandran

    3 жыл бұрын

    @@Barsath1000 you have to replace your report with surefire report, please check the video again.

Келесі