With help of sfapi, I am able to automate to most of the components, but while trying to check a check box or selecting a radio button, which is of a spark component,it wasn't get automated showing below issue,
Operation Made: container_app.doFlexRadioButton('newVolumeCollectionRadio','')
Error Shown: The Element 'newVolumeCollectionRadio' is not of type 'mx.controls::RadioButton'
After looking into the source code of sfapi, I came to know from the below code snippet, that there is a restriction to automate in case of spark component. Can't we able to use sfapi for automating spark components? Can we customize the code by adding spark support and thereby requesting vmware guys to compile the swf and get the modified build?
Kindly let me know your suggestion on this. It will be very helpful for my automation to proceed further
Code Snippet:
public function doFlexRadioButton(id:String, args:String):String
{
var child:Object = appTreeParser.getElement(id);
if(Tools.getOjectType(child) != ReferenceData.RADIOBUTTON_DESCRIPTION)
{
return ErrorMessages.getError(ErrorMessages.ERROR_TYPE_MISMATCH, [id, ReferenceData.RADIOBUTTON_DESCRIPTION]);
}