コード例 #1
0
    private void DoSimpleWindowTestFR()
    {
        Report.TestCaseTitle("Front window on the right side");
        Report.TestStep("Open front window on the right side");

        GWI_FrontWindowsRight.Value = 2;
        Execution.Wait(2000);
        GWI_FrontWindowsRight.Value = 1;

        ICheck observeOpen = new ValueCheck <DWFR_WinPos>(16);

        observeOpen.Activate();
        Execution.Wait(1000);
        observeOpen.Deactivate();

        Report.TestStep("Close front window on the right side");

        GWI_FrontWindowsRight.Value = 0;
        Execution.Wait(2000);
        GWI_FrontWindowsRight.Value = 1;

        ICheck observeClose = new ValueCheck <DWFR_WinPos>(0);

        observeClose.Activate();
        Execution.Wait(1000);
        observeClose.Deactivate();
    }
コード例 #2
0
    private void DoSimpleWindowTestRL()
    {
        Report.TestCaseTitle("Rear window on the left side");
        Report.TestStep("Open rear window on the left side");

        GWI_RearWindowsLeft.Value = 2;
        Execution.Wait(2000);
        GWI_RearWindowsLeft.Value = 1;

        ICheck observeOpen = new ValueCheck <DWRL_WinPos>(16);

        observeOpen.Activate();
        Execution.Wait(1000);
        observeOpen.Deactivate();

        Report.TestStep("Close rear window on the left side");

        GWI_RearWindowsLeft.Value = 0;
        Execution.Wait(2000);
        GWI_RearWindowsLeft.Value = 1;

        ICheck observeClose = new ValueCheck <DWFL_WinPos>(0);

        observeClose.Activate();
        Execution.Wait(1000);
        observeClose.Deactivate();
    }