support platform in GenerateCase.py