如何gearte HTML报告 [英] how to gearte HTML report

查看:58
本文介绍了如何gearte HTML报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi


i am excutig测试用例,我需要生成html报告



cotaind



测试用例名称rESULT

Tc001通过

Tcoo2 fAIL

...... ....



....

so own



这个数据我有我的DICTIOARY..COLLECTION

hi
i am excutig the test case and i need to genrate the html report

which cotaind

Test Case name rESULT
Tc001 PASS
Tcoo2 fAIL
... ......

....
so own

THIS DATA I HAVE I MY DICTIOARY..COLLECTION

推荐答案

只需为你的字典使用一个简单的for循环,生成HTML字符串,保存&显示它。而已。



带有for循环的词典 [ ^ ]

字符串连接 [ ^ ]

保存文件 [ ^ ]

&

更多............... ............................... [ ^ ]
Just use a simple for loop for your dictionary, generate HTML string, save & display it. That's it.

Dictionary with for loop[^]
String concatenation[^]
Save files[^]
&
For more..............................................[^]


这篇关于如何gearte HTML报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆