gpt4 book ai didi

javascript - 在 xml 文件中搜索 testcomplete 中的特定属性值

转载 作者:行者123 更新时间:2023-11-27 23:02:59 25 4
gpt4 key购买 nike

我有一个 xml 文件,其中需要特定标记的值。我使用 testcomplete 作为工具并使用 c# 脚本对其进行编码。关于如何做到这一点有什么建议吗?

最佳答案

要在 TestComplete 中使用 XML 文件,您可以使用以下对象:

XML DOM objects. You can use these objects to work with any XML file. Working with these objects requires more efforts and knowledge of XML DOM. However, we suggest that you use these objects to work with XML files.

TestComplete’s Storages object. You use the methods and properties of this object to write data to and read it from XML files. However, this object works only with XML files created with the Storage.XML method (such files have a specific format, they include sections, subsections and options). For more information on this, see Section Object. If you try to open an XML file that has another format by using the Storage.XML method, an error will occur.

enter link description here

关于javascript - 在 xml 文件中搜索 testcomplete 中的特定属性值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36886891/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com