Merge automation from ECOMP's repository
[vid.git] / vid-automation / src / main / java / org / onap / sdc / ci / tests / utilities / EcompPortalUtilities.java
1 package org.onap.sdc.ci.tests.utilities;
2
3 import org.openqa.selenium.By;
4 import org.openqa.selenium.WebElement;
5
6 public class EcompPortalUtilities {
7
8         public static void swichFrames(By by){
9                 WebElement appImage = GeneralUIUtils.getClickableButtonBy(by, 3 * 60);
10                 appImage.click();
11                 GeneralUIUtils.getDriver().switchTo().frame(1);
12         GeneralUIUtils.waitForBackLoader();
13                 GeneralUIUtils.waitForAngular();
14                 GeneralUIUtils.getWebElementByClassName("applicationWindow");
15         }
16
17 }