I am trying to download diff image of base and checkpoint url created by applitools.
I found test result handler which does this. Here is the link:
https://help.applitools.com/hc/en-us/articles/360007188111-TestResultsHandler-a-way-to-download-diffs-baseline-and-current-images
While running repo I am getting errors.
How to make it work? Anyone has example that works?
I am using java selenium.
I work on the Applitools technical support team. I understand that you're running into an issue with downloading the diff images when using the TestResultsHandler class in Java.
It is tough to say exactly what the issue is that you're experiencing without seeing the error messages as well as your code. In any case, here is an example of the TestResultsHandler usage.
Alternatively, you can also use the Eyes Utilities JAR which also provides the capability of downloading the differences.
Lastly, if you're still running into issues, please feel free to reach out to us directly by opening a ticket via this web form.
I have designed a report using crystal reports v14.1. The report contains some bar charts which are generated using data from MySQL database. All works well when I am previewing the report in the designer..
But when I am opening the same report in crystal report viewer from my program I am getting this error:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com/businessobjects/visualization/pfjgraphics/PFJSummaryInfo---- Error code:-2147467259 Error code name:failed
All my other reports are working fine. This is the first report containing charts. I have found same question on various websites but no solution to the error, particularly solution in java. Any help is appreciated!
Found the solution.
Please update your Libraries to include the missing jar file.
Latest version of JRC can be found at the below link
For more info:
https://archive.sap.com/documents/docs/DOC-29757
Direct download link for JRC v12.2.220:
http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.220.zip
I have written a code in Java using Web SDK to open folders present in Microstrategy Desktop and list all the reports. Next thing that I want is to be able to get the data stored under the "Notes" section of each report. I have attached the screenshot of how the Notes section looks like.
Just like we are able to create a WebWorkingSet on a report instance and use getFilter() or getMetrics() methods to obtain the filters applied or metrics used for that particular report, is there any method or way in which I can extract the "Notes" written for that report as a string or anything from this report instance?
I'm using Microstrategy Developer version 10.7 and Web SDK Java development through Eclipse environment.
Any help or hints are always appreciated. Am also OK with any other approach, if suggested. Please help me.
1. Screenshot1 on how Notes look like in Microstrategy Desktop
2. Screenshot2 on how Notes appear when opened
I believe the easiest way to do this is to retrieve the WebReportDefinitionImpl and then call getAnnotations() on it.
See below:
WebReportDefinitionImpl report = (WebReportDefinitionImpl) wos.getObject(
reportID,
EnumDSSXMLObjectTypes.DssXmlTypeReportDefinition,
true);
String notes = report.getAnnotation();
I wrote a blog post on reverse engineering MicroStrategy Web and Command Manager if you're interested.
I am running contiperf with mvn test and I get a report in the folder "contiperf -report", but I do not see any images/pictures either in the report or in the folder.
Does anybody have the same problem and know how to solve it? Does the computer needs to be online to make this work? I am not online when executing my contiperf tests.
Cheers
Magnus
Yes, you must be online because charts are generated with Google chart API. Here an example of charts :
<img src='http://chart.apis.google.com/chart?cht=lxy&chs=320x240&chd=t:47,48,49,50,51,52,53,54|0,80,75,1,0,0,0,0&chxt=x&chxr=0,0,54&chds=0,54,0,100&chf=c,lg,0,FFFFFF,0,FFFF88,1&chm=B,FFE69B,0,0,0|Aavg,666666,0,1,15|Amed,666666,0,1,15|A90%,666666,0,2,15' width='320', height='240'/
it generates beautiful reports. what version you are using? the only problem i find is sometimes i am getting pergen space error but nothing to do with contiperf.
I don't think you need to be online. it is like junit test reports and running off your maven test
I have a Java Application and I need to get a Jasper report located in Alfresco. Once I have the report I need to add some parameters and then compile it and generate a PDF.
I know this is possible, using alfresco API and Jasper Report API. I have searched in Java-backed Web Scripts Samples but I don't understand the examples, because i'm new in Alfresco and Java, so any clue would be appreciated.
You might be interested in Benjamin Rodriguez' Jasper Reports Dashlet which he submitted as part of last year's Dashlet Challenge. The dashlet makes it possible to configure and run Jasper reports from within the Share UI. This isn't exactly what you are trying to do but it may be a good source of example code.