aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java')
-rw-r--r--vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java b/vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java
new file mode 100644
index 000000000..2eef9b3af
--- /dev/null
+++ b/vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java
@@ -0,0 +1,21 @@
+package vid.automation.test.sections;
+
+import org.openecomp.sdc.ci.tests.utilities.GeneralUIUtils;
+import vid.automation.test.Constants;
+import vid.automation.test.model.Service;
+
+/**
+ * Created by itzikliderman on 13/06/2017.
+ */
+public class CreateNewInstancePage extends VidBasePage {
+
+ public CreateNewInstancePage clickCloseButton() {
+ GeneralUIUtils.clickOnElementByTestId(Constants.BrowseASDC.MSO_COMMIT_DIALOG_CLOSE_BUTTON, 30);
+ return this;
+ }
+
+ public String generateInstanceName() {
+ return generateInstanceName(Constants.CreateNewInstance.SERVICE_INSTANCE_NAME_PREFIX);
+ }
+
+}