Consider this: control the execution of tests and the comparison of actual outcomes to predicted outcomes. Problem:We need to record a function's interface (including at different versions/levels) so that at runtime saved and dynamic input can be passed from the ATB database to the test function and the test functions output parameters saved for later comparison. Solution: Perfect world would have required no stub creation but to achieve this ATB application would need to call your test function dynamically passing and recording parameters. Most CA Plex sites have achieved this with functions with NO parameters and only one language but imagine supporting parameters and many languages. Secondly in order to record a CA Plex functions interface it should be possible one day to use only Model API to interrogate the model but at the time Model API was not mature enough (this should help thou once the kinks have been ironed out PLEXAPI ENUMOBJATTRIBUTES AND ENUMSAFEARRAYOBJATTRIBUTES.) So why not harness the ability of CA Plex WinC clients functions to call the different platforms. Create a WinC function for every test function which will fulfill two roles:
Check Your Settings |