Jenkins - test results analyzer is not showing any result - jenkins-plugins

We are having Jenkins job for UI tests developed in C#. We tried using Test Result Analyzer plugin for the test results. But we are unable to view any results.Test Result Analyzer report actual Result
Kindly, let us if we have provide any other information to view the results.

You need to
publish testing or JUnit test result in post build section
give path to **/target/surefire-reports/testng-results.xml
Here are some screen shots.

Related

QAF Perfecto - Not able to consume test data from XML

When trying to consume data from XML in the project in Quantum Perfecto, I am getting Lexing error. I have attached the scenario with this and the error.
Evern the same error is seen in quantum starter kit project too.
#GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages
#GKY #Test
Scenario Outline: Verify Borrower complete Getting To Know You Page
Given User already Signed with "<emailaddress>" and "<password>"
Examples: {'key' : 'blenddata.borrower.dataset'}
You didn't provided details of the editor you are using. This looks like error from editor and not related to quantum project. I hope you will be able to run your test without any issue. You can try using qaf bdd editors.
Furthermore you can start using BDD2 syntax instead of Gherkin. BDD2 is advanced syntax and compatible with most of the gherkin editors. In BDD2 syntax your feature file may look like below:
#GettingToKnowYou
Feature: Verify the Borrower can Navigate through Getting To Know You Pages
#GKY #Test
#key:blenddata.borrower.dataset
Scenario Outline: Verify Borrower complete Getting To Know You Page
Given User already Signed with "<emailaddress>" and "<password>"
In run configuration for feature files which is written in BDD2 you need to use BDDTestFactory2

How to generate the code coverage report in Jenkins. What extra plugins/Configuration one has to do to get the code coverage

I'm not able to get the code coverage report in Jenkins for my .net web Api solution even after adding run settings file. In jenkin dashboard its showing empty html table for the report. How will I resolve this issueenter image description here

Drupal 7 - How can we debug SQL query errors

I am new to Drupal, and while interacting with database sometimes I get this error:
Error
The website encountered an unexpected error. Please try again later.
How do I debug this issue?
How can I can see which and what query is causing the issue?
Have a look at Drupal Devel Module. After enabling it, in the config page (Admin > Configuration > Development > Development Options) you should check the first option.
Checkbox that should be selected (sorry, mine is in Spanish!)
Then, you will see a list of queries to the database every time you load a page. The time needed to perform the query is also shown. This way you can identify which queries have a bad performance.
Hope it helps

DTM connectivity to SiteCatalyst

I am trying to setup DTM to report to Adobe analytics. I have pasted the header/footer code on my page and I see in fiddler that the "page load" and field level tracking is triggering DTM scripts. But I am unable to see anything in my report suite on Site catalyst.
As per DTM documentation, I have altered the AppMeasurement.js to have the report suite ID
var s = new AppMeasurement();
s.account = "myreportsuiteidonsitecatalyst";
/*
============== DO NOT ALTER ANYTHING BELOW THIS LINE ! ===============
Am I missing anything? Please help.
There's most likely an error in your DTM code. You can use the Chrome extension here to troubleshoot your DTM configuration: http://help-forums.adobe.com/content/adobeforums/en/marketing-cloud-forum/adobe-marketing-cloud.topic.html/forum__lkzf-_dtm_switchdt.html.
In addition, there are fantastic videos here which walk you through the setup of DTM and the configuration of the Analytics tool within DTM: https://outv.omniture.com/ (under Dynamic Tag Management)
You also have to have the tracking server information set either in the code editor window or the UI.
This is the problem even I was facing too.
I have analyzed this problem and get something which is very helpful but not able how to rectify this problem.
As you know sitecatalyst set s_vi cookie in our browser which is persistent, with help of this cookie we came to know that reports are reflecting in sitecatalyst reports. But while using DTM s_vi is not getting set in browser and hences no reflection of reprts in sitecatalyst.
I run my pages in Chrome and found that no cookie is being set in that browser but while using IE s_fid is being created subsitute of s_vi when s_vi not able to create.
So something wrong is with this.
you can check your cookie like _satellite.readcookie('s_vi') or _satellite.readcookie('s_fid')

How to custom/append browser name in the method of testng reports in selenium webdriver?

I want to append the browser name in the method of testng. So I can differentiate that for which browser my test case has been failed.
Your help is really appreciable.
There are different ways of achieving your requirement. One of them is to,
Customize the testng reports
-Use ReportNG plugin - http://reportng.uncommons.org/
-Use Listeners and Reporters class of TestNG API
Get Browser type information and use it in custom reports
-Pass a parameter from testng for the browser type
-Based on the driver used, you can know which browser it is running

Resources