Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package automation.Pages;


import java.io.IOException;
import org.junit.Assert;
import automation.ExplorerSuite;
import automation.SharedCodeClass;
import po.CommonPO;
import po.EWV_Admin_ModifyUserPO;



/***
*
* @author EKutsenko,
* @version 1.2
*/


public class EWV_Admin extends ExplorerSuite {
CommonPO common;
EWV_Admin_ModifyUserPO admin;
String description;


public void localRunner() throws IOException, InterruptedException{
common = new CommonPO(driver);
admin = new EWV_Admin_ModifyUserPO(driver);

String pdiDental = "200617203000952"; //PDI for Dental Claim

SharedCodeClass.loadEWVPage(pdiDental);


verifyPDFPriveleges("Verify that admin is able to give user privileges so that "
+ "they can upload and delete PDF references");

}



//Verify that admin is able to give user privileges so that they can upload and delete PDF references
public void verifyPDFPriveleges(String description) throws IOException {

try {
common.ewvAdminClick();
// admin.tabClickCreateUser();
// admin.setUserName("Test User");
// admin.setEmail("test@test.test");
// admin.selectCheckBox("Allow Attachment Exporting");
// admin.selectCheckBox("Allow Attachment Editing");
// admin.buttonCreateUserClick();
// Assert.assertTrue(description, admin.isSuccess());
SharedCodeClass.assertPassed(description);
} catch (AssertionError | Exception e) {
SharedCodeClass.assertFailed(description, e);
}
}


}