Home FAQs Integration

Integration FAQs

Feel free to contact us if you do not find an answer to your question below.

Which third party tools will RIATest work with ?
Can RIATest be used for testing the hybrid model of Flex/ASP.NET?
Can we frame the test cases in NUnit format?
Is it possible to use the same browser which had been opened up by another testing tool?
Is there a way to pass variables to RIATest through my third-party tool?
How to call RIATest from Apache Ant?
Can we launch our application against Tomcat?

Which third party tools will RIATest work with?

RIATest has full support for unattended command line execution, so it can be integrated into your testing framework or build tool if that tool supports calling external programs and passing command line parameters. You can also execute external programs from within RIATest scripts.


Can RIATest be used for testing the hybrid model of Flex/ASP.NET?

RIATest can be used for automating only the Flex part of any mixed/hybrid application.


Can we frame the test cases in NUnit format?

RIATest test cases are written in our RIAScript proprietary script language. Test cases can be only run using RIATest. You may be able to integrate RIATest tests within other testing frameworks if that other framework supports calling external programs.


Is it possible to use the same browser which had been opened up by another testing tool?

You need to instruct RIATest not to open a browser window at all. Just uncheck the project option "Launch application".

At the top of your RIATest scripts place a command to wait for the connection:

setWaitTimeout(1000000); // Set large waiting time
waitfor(isAppConnected("App")); // Wait for the application connect
Make sure you launch RIATest well in advance so that when your Flex application loads in the browser opened by the other testing tool RIATest script is ready waiting for connection.


Is there a way to pass variables to RIATest through my third-party tool?

You can write any data to a file on disk and read file content using the fileGetContents function in RIATest.


How to call RIATest from Apache Ant?

You can use Ant's built-in exec task to call RIATest from your ant projects. For example:

<target name="test" description="test the project">  
  <property environment="env"/> 
  <exec dir="." executable="${env.RIATEST}\riatest.exe" failonerror="true"> 
    <arg line="/b /r /p Components.rtp"/> 
  </exec> 
</target> 


Can we launch our application against Tomcat?

It does not matter exactly how your application SWF is being served to the browser (via Tomcat or any other way). As soon as your application is loaded in the browser and it is allowed to make outgoing TCP connections it will work.


 

Feature Poll

Vote for new RIATest feature: