Cogitek RIATest 3 Documentation Copyright © Cogitek Inc.

Debugging application that is being tested

Sometimes you need to debug an application that is being tested by RIATest. To do this you need to run your application in Flex Builder Debugger and make RIATest run test scripts at the same time.

Prepare your application and RIATest project as normal. Make sure you can launch your application from RIATest IDE and record some actions. Close your application. Go to Project|Options and disable the "Launch application" option.

Open your application project in Flex Builder but do not run it yet. In RIATest click "Run|Launch Application" menu. RIATest will start waiting for the Agent connection. You now have 60 seconds to launch your application. Switch to Flex Builder and Run|Debug your application. Your application will load and the Agent will connect to RIATest IDE (you should see the appropriate message in RIATest IDE).

RIATest is now connected to your application and can record actions. Your application is running in Flex Builder and can be debugged.

Note that this is only possible if you are using static compilation (Agent embedding) approach.


Found a typo? Have a suggestion? Please submit your request here.