59 lines
2.7 KiB
Java
59 lines
2.7 KiB
Java
|
package com.machint.automation.PageObject;
|
||
|
|
||
|
import org.openqa.selenium.By;
|
||
|
|
||
|
import com.machint.automation.Utils.ActionClass;
|
||
|
|
||
|
public class ERF_PageObject extends ActionClass
|
||
|
{
|
||
|
//Login Deatails
|
||
|
|
||
|
public static String Username = "UserIdentifier";
|
||
|
public static String Password = "Password";
|
||
|
public static String Login = "//button[@id='sub']";
|
||
|
|
||
|
//After login
|
||
|
|
||
|
public static String ERF = "//span[@class='menu-item-title' and text()='Employee Requisition Form']";
|
||
|
public static String Position = "//input[@id='Position']";
|
||
|
public static String No_of_Positions = "NoOfPositions";
|
||
|
public static String Client_Project = "Client";
|
||
|
public static String Project_ID = "ProjectID";
|
||
|
public static String Department = "Department";
|
||
|
public static String Location = "Location";
|
||
|
public static String External_Hiring = "ExternalHiring";
|
||
|
public static String Reason_for_Request = "ReasonForHiring";
|
||
|
public static String Salary_Range = "SalaryRange";
|
||
|
public static String Reporting = "Reporting";
|
||
|
public static String Target_Date_to_Fill = "inactvIcon";
|
||
|
|
||
|
//Please tick (√) To be filled by indentor mandatorily
|
||
|
|
||
|
public static String Laptop = "//label[text()='Laptop']";
|
||
|
public static String Bag = "//label[text()='Bag']";
|
||
|
public static String HRIS = "//label[@class='rb_ rb_standard radioLabel' and text()='Yes']";
|
||
|
|
||
|
//Job Specifications
|
||
|
|
||
|
public static String Job_Responsibilities = "Responsibilities";
|
||
|
public static String Special_Accountabilities = "$PpyWorkPage$pAccountabilities";
|
||
|
public static String Additional_Inputs_to_Roles = "RoleAuthority";
|
||
|
|
||
|
//Competencies Required
|
||
|
public static String IFrame = "//div[@id='workarea']//div[@id='moduleGroupDiv']//div[@class='iframe-wrapper yui-module' and @style='display: block;']//div[@class='bd dynamicContainer']/iframe";
|
||
|
|
||
|
public static String Practice = "Practice";
|
||
|
public static String Domain = "$PpyWorkPage$pDomain";
|
||
|
public static String Is_Certification_Required = "IsCertificationRequired";
|
||
|
public static String Certifications = "//select[@name='$PpyWorkPage$pCertification']";
|
||
|
public static String Technical_Competency = "//span[@id='CTRL_TA']/textarea[@id='TechnicalCompetency']";
|
||
|
public static String Behavioural_Competency = "//textarea[@id='BehaviorCompetency']";
|
||
|
public static String Qualification = "//select[@id='Qualification']";
|
||
|
public static String Overall_Experience_In_Years = "//select[@name='$PpyWorkPage$pOverallExpYears']";
|
||
|
public static String Relevant_Experience_In_Years = "//select[@id='RelevantExpYears']";
|
||
|
public static String Submit = "//button[@class='Strong pzhc pzbutton' and text()='Submit']";
|
||
|
By logoff = By.xpath("//a[@onclick='pd(event);']//span[@class='menu-item-title-wrap']/span[text()='Log off']");
|
||
|
|
||
|
|
||
|
}
|