How to use If statement in EggPlant to check a connection is enabled or not.
For Example:
Check if ‘XXXX’ connection is enabled.
If connect "XXX’ enabled
RunWithNewResults "ScritpName’
else
Connect "XXXX’
RunWithNewResults “ScriptName”
end if