简体   繁体   English

如何在fitnesse的表格单元格中添加展开和折叠选项

[英]How to add expand and collapse option in the table cell in fitnesse

I'm working on automation tool which uses fitnesse tool to get the data and compare. 我正在研究使用fitnesse工具来获取数据并进行比较的自动化工具。 My table has all the data and i've the fixture to take that data and process and return the results. 我的表具有所有数据,而我拥有获取该数据并进行处理并返回结果的装置。 If the case is pass i show just pass but if the case is failed, i've to show more information in the table cell. 如果案例通过,则显示通过,但如果案例失败,则必须在表格单元格中显示更多信息。 I want to show the failure content in the expand and collapse view. 我想在展开和折叠视图中显示失败内容。 Can i add expand and collapse view in a cell of a table in fitnesse? 我可以在Fitnesse的表格单元格中添加展开和折叠视图吗? I tried to add but the wiki markup syntax is getting disturbed if i add or the expand / collapse view is coming out of table and showing separately. 我尝试添加,但是如果我添加或展开/折叠视图不在表格中并单独显示,则Wiki标记语法会受到干扰。 Can i include the expand / collapse view in the table cell? 我可以在表格单元格中包含展开/折叠视图吗?

Thanks in advance. 提前致谢。

You can put a collapsible section inside a cell using the "nesting" markup: !( and )! 您可以使用“嵌套”标记将可折叠部分放在单元格内:!(和)!

Example: 例:

|cell|!(nested
!*> collapsible
line
line
line
*!
content)!|cell|

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM