Wednesday, February 20, 2013

Rational Functional Tester: Calling RFT scripts from using xml tags


This will help to call RFT scripts in xml, if anyone using 'ant' this will help them to embed code to invoke RFT scripts.

<java classname="com.rational.test.ft.rational_ft" fork="true" maxmemory="1024m">
        <fileset dir="C:\Program Files\IBM\SDP\FunctionalTester\bin\">
        <include name="rational_ft.jar" />
        <jvmarg line="-Drational_ft.install.dir=&quot;C:\Program Files\IBM\SDP\jdk_\jre\bin&quot;" />
        <arg line="-rt.bring_up_logviewer false -datastore &quot;D:\RFT-Dev\Project&quot; -playback RFTTestSet5.testcase4.TestScript1" />
        <arg line="-args -scriptArg ${scriptValue}" />

No comments:

Post a Comment