diff options
author | 2018-01-31 17:19:00 +0200 | |
---|---|---|
committer | 2018-01-31 17:19:00 +0200 | |
commit | 1cfb08779ea0e00be69e072a940b3063e049fe6b (patch) | |
tree | 6602a900387c8393ed0dcd81c0539381632903c6 /vid-automation/src/main/java/vid/automation/test/sections/CreateNewInstancePage.java | |
parent | 2f20b001b9243e0f8b44aecc768ec265fd538732 (diff) |
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d
Issue-ID: VID-86
Signed-off-by: Ofir Sonsino <os0695@att.com>
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.java | 21 |
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 00000000..2eef9b3a --- /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); + } + +} |