官术网_书友最值得收藏!

Support for different runtimes

The Robot Framework not only works on the native python (CPython/pypy installations ), but also supports Java and .NET based runtimes in the form of Jython and ironpython respectively. While there are some features that are exclusive to native Python-or Jython-based Robot Framework installations, most of the functionality is equivalent on all the runtimes. As people might have different OS and application software a stack setup according to their needs or desires, so they can integrate this tool in their existing runtime without requiring a separate runtime.

Based upon the installer environment used, the Robot Framework will create appropriate startup and post-processing scripts:

In addition to these commands used in starting the execution, the Robot Framework can directly be started through the robot.run module itself if the standard Robot Framework is installed. This can also be used instead of the standard commands as the commands also call the module internally. The module can be called if the Python command in use is the one that has the Robot Framework installed:

python -m robot.run
jython .../run.py
ipy -m robot.run

This is handy if the Robot Framework is called by some the Python script. Instead of executing the scripts separately, you can call the framework from inside the same program easily.

The post processing command is useful to recreate test executions in the long run. After the test has been executed, you can save the XML file generated as output without saving any other file. To recreate the report and log files again in future, the rebot command can be used which takes the XML file as an argument and results in the generation of the log and report files without recalling or running the actual tests again.

Command details

The Pybot command provides the following major options:

主站蜘蛛池模板: 岑溪市| 馆陶县| 曲靖市| 永嘉县| 长海县| 西畴县| 平阴县| 呼伦贝尔市| 厦门市| 台东县| 九江市| 环江| 金阳县| 宁化县| 湘潭市| 疏勒县| 南漳县| 屯留县| 华容县| 东乌珠穆沁旗| 通河县| 汝南县| 长治市| 濮阳县| 宁乡县| 于田县| 介休市| 忻州市| 庆元县| 德安县| 繁昌县| 阿城市| 城市| 陈巴尔虎旗| 阿鲁科尔沁旗| 西乡县| 宁国市| 阿拉善盟| 海门市| 廉江市| 周口市|