aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java')
-rw-r--r--vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java b/vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java
new file mode 100644
index 00000000..3f8061a7
--- /dev/null
+++ b/vid-automation/src/main/java/vid/automation/test/sections/PnfSearchAssociationPage.java
@@ -0,0 +1,24 @@
+package vid.automation.test.sections;
+
+import org.junit.Assert;
+import org.openecomp.sdc.ci.tests.utilities.GeneralUIUtils;
+import org.openqa.selenium.WebElement;
+import vid.automation.test.Constants;
+
+public class PnfSearchAssociationPage extends VidBasePage {
+ public PnfSearchAssociationPage setPnfName(String pnfName){
+ setInputText(Constants.PnfAssociation.PNF_NAME_TEST_ID, pnfName);
+ return this;
+ }
+ public PnfSearchAssociationPage clickSearchButton() {
+ GeneralUIUtils.clickOnElementByTestId(Constants.PnfAssociation.SEARCH_PNF_TEST_ID, 60);
+ return this;
+ }
+ public PnfSearchAssociationPage clickAssociateButton() {
+ GeneralUIUtils.clickOnElementByTestId(Constants.PnfAssociation.ASSOCIATE_PNF_TEST_ID, 100);
+ return this;
+ }
+
+
+
+}