完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我必须为.NET风格的TestExec SL 7.1.1创建一堆(500+)动作定义。
使用动作定义编辑器手动执行此操作是不可能的。 有没有办法从自己的应用程序读取和写入* .umd文件格式? 在此先感谢JonasEdited:jdoerr于2012年11月21日凌晨3:29发布 以上来自于谷歌翻译 以下为原文 I have to create a bunch (500+) of action definitions in .NET style for TestExec SL 7.1.1. It is impossible to do that by hand using the Action Definition Editor. Is there a way to read and write the *.umd file format from an own application? Thanks in advance, Jonas Edited by: jdoerr on Nov 21, 2012 3:29 AM |
|
相关推荐
3个回答
|
|
嗨Jonas,我担心创建动作的唯一方法是通过动作定义编辑器。
我们没有API来编写编码操作。 但是,如果您说如何从测试计划中的操作读取或写入参数,我们确实有API来控制它。 谢谢。 此致,Cynthia编辑:Cynthia于2012年11月28日上午8:17 以上来自于谷歌翻译 以下为原文 Hi Jonas, I'm afraid the only way to create action is through the action definition editor. We do not have the API to create actions from codings. However, if you are saying how to read or write the parameters from or into the action in a testplan, we do have the API to control this. Thanks. Regards, Cynthia Edited by: Cynthia on Nov 28, 2012 8:17 AM |
|
|
|
xiaoqi110 发表于 2019-4-17 21:01 嗨辛西娅,谢谢你的回复。 我已经假设没有直接的API。 我们仍然希望实现自己的文件编写器。 你有关于二进制格式的任何提示还是私有的? 是否值得对其进行逆向工程或是否包含任何校验和/签名? 如果您建议不要尝试这个,是否有另一种方法可以实现像“动作提供者”这样的东西,例如: 可以在TestExec中加载的程序集,它在“插入操作”窗口中提供了一系列操作,并在测试运行期间调用? 如您所见,我们确实需要以编程方式提供操作,因为手动操作越来越多。 感谢您的支持。 此致,乔纳斯 以上来自于谷歌翻译 以下为原文 Hi Cynthia, thanks for your reply. I already assumed that there is no direct API. We still have the hope for implementing an own file writer. Do you have any hints concerning the binary format or is it private? Is it worth to reverse engineer it or are there any checksums/signatures included? If you advise not to try this, is there another way to implement something like an "action provider", e.g. an assembly that can be loaded in TestExec which provides a bunch of actions in the "Insert Action" window and which is invoked during test run? As you see, we really need to provide actions programmatically since the manual effort increases more and more. Thanks for your support. Regards, Jonas |
|
|
|
嗨乔纳斯,我们从未尝试过使用二进制格式来编辑动作,我们也不会建议用户也这样做。 我认为也没有办法实施“行动提供者”。 原因是产生动作只进行一次,可以重复使用。 我认为你有一个很好的观点,即当要实施多达500个动作时,手动执行它将花费太多精力。 我会将此反馈给R& D,这可以将其视为我们未来的增强之一。 但是,目前,这是不可能的。 对不起。 以上来自于谷歌翻译 以下为原文 Hi Jonas, We have never tried using binary format to edit action and we would not advice user to do it as well. I do not think there is a way to implement the "action provider" as well. The reason was that producing the action is only done once and it can be repeatedly used. I do think you have a good point that when as much as 500 actions were to be implemented, it would be too much effort to do it manually. I would feedback this to R&D and this can consider this as 1 of our future enhancement. However, currently, it is really not possible. I'm sorry. |
|
|
|
只有小组成员才能发言,加入小组>>
1330 浏览 0 评论
2396 浏览 1 评论
2215 浏览 1 评论
2084 浏览 5 评论
2972 浏览 3 评论
1230浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
781浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
1028浏览 0评论
1333浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-13 05:27 , Processed in 1.545123 second(s), Total 81, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号