Abstract:
Testing is performed to evaluate product quality, and for improving it, by identifying defects and problems. Model based testing is the automatic generating of software test procedure, using models. Using a manual testing process is very time consuming. This research proposes a method to automate testing to reduce time. Test script is a term used in automating tests. A test script is an executable script that can run one or more test cases. Writing a test script for each test case for any System under Test (SUT) is difficult and time consuming, and complex to maintain, we must reduce the effort and improve the quality. And an automated test script is more expensive to write and requires more effort and time. Object Management Group (OMG) adopted a new framework called Model Driven Architecture (MDA). In MDA automated transformations play a key role. The aim of MDA is to decrease the cost of development and increase the quality of the product through automation and making artifact reusable. This is realized through developing Platform Independent Model (PIM), Platform Specific Model (PSM) and transformation or mapping rules. In this research MDA is used to automate testing by generating PSM instance automatically from PIM using standard mapping tool like Query/ View/ Transformation (QVT), where a PIM metamodel represents the test cases and PSM metamodel represents the test scripts. The result shows test script could be generated from test case abstraction level with less programming skills if we scope the platform for a class of technology, but still more effort is needed to standardize PSM. Generally the development time and effort could be reduced. As well as testing quality which could be improved and so simplifies the maintenance of the testscripts.