In this work, we report on our experience indefining and applying a model-based approach for the automaticgeneration of test scripts for product variants in software productlines. The proposed approach is the result of an effort leveragingthe experiences and results from the technology transfer activitieswith our industrial partner Bombardier Transportation. Theproposed approach employs metamodelling and model transfor-mations for representing different testing artefacts and makingtheir generation automatic. We demonstrate the industrial ap-plicability and efficiency of the proposed approach using theBombardier Transportation Aventra software product line. Weobserve that the proposed approach mitigates the developmenteffort, time consumption and consistency drawbacks typical oftraditional strategies.