Creating script (test case) for Recording