Esempio n. 1
0
        public void Setup()
        {
            MyWebDriver driver = new MyWebDriver();

            driver.GetDriver();
            _driver          = driver;
            _testCaseHandler = new TestCaseHandler(_driver);
            report           = new BasicReport();
            report.StartReport();
            _screenShotGenerator = new ScreenshotGenerator(_driver);
        }
Esempio n. 2
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        ScreenshotGenerator myScript = (ScreenshotGenerator)target;

        if (GUILayout.Button("Take Photos"))
        {
//			EditorGUILayout.ObjectField(myScript.phones, typeof(PhoneInfo[]) ,true, new GUILayoutOption[]{});
            myScript.GenerateScreenShots();
        }
    }