org.onap migration
[vid.git] / vid-automation / src / main / java / vid / automation / test / sections / CreateNewInstancePage.java
1 package vid.automation.test.sections;
2
3 import org.openecomp.sdc.ci.tests.utilities.GeneralUIUtils;
4 import vid.automation.test.Constants;
5 import vid.automation.test.model.Service;
6
7 /**
8  * Created by itzikliderman on 13/06/2017.
9  */
10 public class CreateNewInstancePage extends VidBasePage {
11
12     public CreateNewInstancePage clickCloseButton() {
13         GeneralUIUtils.clickOnElementByTestId(Constants.BrowseASDC.MSO_COMMIT_DIALOG_CLOSE_BUTTON, 30);
14         return this;
15     }
16
17     public String generateInstanceName() {
18         return generateInstanceName(Constants.CreateNewInstance.SERVICE_INSTANCE_NAME_PREFIX);
19     }
20
21 }