report

What is the reporting tool that you would use? [closed]

落爺英雄遲暮 提交于 2019-12-06 16:09:24
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I need a tool that handle both on-screen and printed reports, via my C# application. I'm looking for simple, standard and powerful. I

Appium+Python之生成html测试报告

走远了吗. 提交于 2019-12-06 15:59:58
思考:测试用例执行后,如何生成一个直观漂亮的测试报告呢? 分析 : 1.unittest单元测试框架本身带有一个textTestRunner类,可以生成txt文本格式的测试报告,但是页面不够直观 2.我们可以导入第三方库,比如常用的HTMLTestRunner类,可以生成html格式测试报告    3.首先去下载HTMLTestRunner_PY3.py脚本(我这里采用Python3.7),然后放置在Python3.7路径下的Lib目录下,使用时需要导入(即import HTMLTestRunner_PY3) HTMLRunner_PY3脚本下载见本人另一篇博文: https://www.cnblogs.com/ZoeLiang/p/10230495.html 代码示例如下: if __name__ == " __main__ " : # 实例化测试套件 suite = unittest.TestSuite() # 加载测试用例 suite.addTest(TestCase( " test_login " )) # 生成测试报告 # 选择指定时间格式 timestr = time.strftime( ' %Y-%m-%d%H%M%S ' , time.localtime(time.time())) # 定义测试报告存放路径和报告名称 Report = os.path.join(

Pytest: how to display generated report after test run?

自闭症网瘾萝莉.ら 提交于 2019-12-06 15:26:22
I am using pytest in combination with the pytest-html plugin which generates an HTML report after the test has run. I am using an auto-wired session fixture to automatically open the generated HTML report in a browser: @pytest.fixture(scope="session", autouse=True) def session_wrapper(request): print('Session wrapper init...') yield # open report in browser on Mac or Windows, skip headless boxes if platform.system() in ['Darwin', 'Windows']: html_report_path = os.path.join(request.config.invocation_dir.strpath, request.config.option.htmlpath) open_url_in_browser("file://%s" %html_report_path)

Pentaho single Dashboard for multiple reports using ajax

空扰寡人 提交于 2019-12-06 14:41:09
问题 I have made multiple copies of dashboard for different reports to render. so url changes for each report in the browser and whole page needs to be refreshed. Day before yesterday i came to know that any component can be refreshed [ Refresh all components of Pentaho CDE dashboard ] I wanna know if i can use single pentaho dashboard to render different reports over single reporting component, using ajax calls by clicking different buttons/links? I feel there should be some way arround this. 回答1

Get images from db by fields.function on QWeb report - Odoo 8

余生长醉 提交于 2019-12-06 14:37:33
I want to print an image getting it by a fields.function for any image in my database. I am trying the following: def _get_image(self, cr, uid, ids, name, args, context=None): res = dict.fromkeys(ids) for record_browse in self.browse(cr, uid, ids): partner = self.pool.get('res.partner').browse(cr,uid,6,context=None).image res[record_browse.id] = base64.encodestring(partner) return res _columns = { 'image': fields.function(_get_image, string="Image", type="binary"), } but in qweb report I got: File "/opt/*/openerp/addons/base/ir/ir_qweb.py", line 791, in value_to_html raise ValueError("Non

Google Analytics PDF reports not displaying data

六月ゝ 毕业季﹏ 提交于 2019-12-06 14:28:06
问题 Since a few days back our custom dashboard reports (scheduled e-mail PDFs) are not showing any data and the layout is broken. There has not been any changes done to the dashboards and they’ve been working for months. When generating and sending the PDF reports manually they show up just fine. The only difference in the reports is that a text that wasn't there before has been added: "All users on your account, regardless of permissions, will soon be able to see who else has access to that

Junit create report without ant/maven

落花浮王杯 提交于 2019-12-06 14:21:37
问题 Is it possible to create a report from JUnit without Ant or Maven? Because I call the tests with velocitycode, and the velocitycodes calls a method. And that method calls all the tests. So I can get a response from it, the failures/errors/runs etc. But I want to create a report with it.. Or do I need to create html stuff by myself? I created the methods and testmethods in Java, so I will do everything in Java, except the call, thats in Velocity code. Velocitycode: ${custom.test} Java code:

Really simple XLS from XML datasource - Jasper

孤街醉人 提交于 2019-12-06 14:13:00
问题 I have a very simple XML datasource structured like this: <datasource> <row> <column>Some text 1</column> <column>Some text 2</column> <column>Some text 3</column> </row> <row> <column>Some text 4</column> <column>Some text 5</column> <column>Some text 6</column> </row> <row> <column>Some text 7</column> <column>Some text 8</column> <column>Some text 9</column> </row> </datasource> And I want to create a very simple XLS report formatted like this: ------------------------------------------- |

OpenERP - Report Creation

大城市里の小女人 提交于 2019-12-06 13:54:24
问题 I am trying to create a new report with report plugin and openoffice but I don't know how to assign it in the OpenERP system. Is there someone who can give me exact steps for creation of new report and integration with openerp? Thanks in advance! 回答1: Here are the steps to create the OpenERP RML report. open open-office.org tools menu extension manager go to - base_report_designer plugin →openerp_report_designer.zip restart open-office open a new report add a loop ( select your DB) add loop

set fontstyle of a column of a crystal report programatically?

陌路散爱 提交于 2019-12-06 13:34:41
how to -change (set ) font for a column of a crystal report programatically (dont want to use 'Format editor' at design time)? whats the syntax used to access the field (column ) of detail section of the crystal report ..? thanks in advance . Changing Font style,Font Size,and Font at runtime in Crystal Report use following code,this will run properly: you can use TextObject or FieldObject Depending on your condition.here am using FieldObject. FieldObject MyText (FieldObject)Repotrdocumentobject.ReportDefinition.ReportObjects[i]; MyText.ApplyFont(new Font("Arial", 11f,FontStyle.Bold)); here i