开源软件名称:NetInteractor
开源软件地址:https://gitee.com/kerryjiang/NetInteractor
开源软件介绍:
NetInteractor
Web operation automation library in C# (.NET Core) It can be used for the purposes below: - Web white-box test automation;
- Web operation automation;
- ...
Features: - Xml as script;
- Accept input parameters;
- Extract parameters from the responses of middle steps (output parameters);
- Basic work flow controlling (if);
The Automation ScriptExecute the scriptvar config = ConfigFactory.DeserializeXml<InteractConfig>("Scripts/Shop.config");var executor = new InterationExecutor();var inputs = new NameValueCollection();inputs["CreditCardNumber"] = "0123456789ABCD";inputs["CreditCardExpMonth"] = "04";inputs["CreditCardExpYear"] = "2021";// more input parameters// ...var result = await executor.ExecuteAsync(config, inputs); |
请发表评论