首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > riatest-integrator

riatest-integrator

  • 资源大小:8.79 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

RIATest Integrator supports a simple framework for creating executable Java processes that can be invoked from RIATest scripts and interacted with via standard in/standard out. The original use case for this project was to support "data dip" functionality during functional testing (a la QuickTest Pro), but in theory anything that can be invoked from Java can be integrated. For example, the RIATest script below uses the built-in SqlIntegration class to call out to MySQL and evaluate the values returned from the SQL queries. ``` var GLOBALSQLPATH = "java -jar /path/to/riatestintegration-0.0.1-SNAPSHOT-jar-with-dependencies.jar /path/to/config.properties var GLOBALSQLPROCESS = new Process(GLOBALSQLPATH, PROCESSREDIRECTCONSOLE); function executeSql(sqlString) { GLOBALSQLPROCESS.writeln(sqlString); pause(500); return GLOBAL_SQL_PROCESS.read(); } var amountForTrans

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 杨波 13小时前 成为了本站会员

  • ZS 13小时前 成为了本站会员

  • . 1天前 成为了本站会员

  • 奋斗 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 一天不玩浑身难受 2天前 成为了本站会员

  • Aloha 2天前 成为了本站会员

  • 嘻嘻嘻 2天前 成为了本站会员

  • maihaoweilai 2天前 成为了本站会员

  • 紫麟鹿 2天前 成为了本站会员