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

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

riatest-integrator

  • 资源大小:8.79 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分: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
0.167761s