When testing my application in IDE, I wanted to use some hard coded test data instead of Every time loading the dynamic data. System.capabilities.isDebugger is the boolean property which is true when we are testing in IDE or special Debug Player.

Here is the sample code that I’ve used

[tabcontainer] [/tabcontainer] [tabcontent]
<pre>if (!System.capabilities.isDebugger) {
        _myxml.load(xmlPath+"?"+"policynumber="+policynumber+"&amp;PolyType="+PolyType+"&amp;strSelectAgentCode="+strSelectAgentCode+"&amp;strCountryCode="+strCountryCode+"&amp;policyStatus="+policyStatus+"&amp;AgncyCde="+AgncyCde+"&amp;passinagency="+passinagency);
} else {
        _myxml.load("xml/table.xml");
}
</pre>
[/tabcontent]