aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org/onap/sdc/ci/tests/utilities/EcompPortalUtilities.java
blob: bded65be89e7b3491d08d9f98d1629bf8f01fd62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.onap.sdc.ci.tests.utilities;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

public class EcompPortalUtilities {

	public static void swichFrames(By by){
		WebElement appImage = GeneralUIUtils.getClickableButtonBy(by, 3 * 60);
		appImage.click();
		GeneralUIUtils.getDriver().switchTo().frame(1);
    	GeneralUIUtils.waitForBackLoader();
		GeneralUIUtils.waitForAngular();
		GeneralUIUtils.getWebElementByClassName("applicationWindow");
	}

}