1. A method of automatic testing a subject application written in an object oriented language, the subject application having objects accessible through an interface implementing programming rules and object behavior rules, said method comprising the steps of: a—selecting one of the objects of the subject application and reading information defining the one object; b—using computer automation, extracting information from the selected object, the extracted information including a definition, object methods and attributes of the object interface which are impacted by the object behavior rules and object identification; c—using computer automation, providing a template of source code, the template having variable fields and fixed portions of source code; and d—using computer automation, filling the variable fields of the template with the extracted information, said template fixed portions of source code being in conformance with the programming rules and implementing a scenario for checking a set of object behavior rules, said filling resulting in an automatically generated test source code and in an automatic testing of the subject application by the generated test source code checking logic validity of the subject application independently of testing semantics.