« first day (1436 days earlier)      last day (1721 days later) » 

13:41
public ProcessPage(String num){
        this.setPageIdNumber(num);
        this.fileIndex=0;
        this.elements= Map.of();
        this.generateMaps();
    }

    protected void setPageIdNumber(String num){
        this.pageIdNumber=num;
    }

    private void generateMaps(){
        String one="";
        By two;
        for (int i=0; i<elementNames.length;i++){
            one=elementNames[i];
            two=By.id(Ids1[i]+pageIdNumber+Ids2[i]);
            log.debug(one);
            log.debug(two);
public static final String[] Ids1 = {"ctl00_PlaceHolderMain_Applicant_","ctl00_PlaceHolderMain_Attachment",
"ctl00_PlaceHolderMain_Attachment_","ctl00_PlaceHolderMain_Attachment_","ctl00_PlaceHolderMain_Attachment_",
"ctl00_PlaceHolderMain_Applicant_"};
public static final String[] Ids2= {"Edit_btnAddFromSaved","Edit_btnBrowse",
"Edit_dlDocumentEdit_ctl00_documentEdit_ddlDocType","Edit_btnSave","Edit_dlDocumentEdit_ctl00_documentEdit_txtAFileDescription",
"ActionNoticeAddSuccess"};

public static final String[] elementNames = {"mainApplicantSFA", "addFileButton", "fileTypeSelect","saveFile
2 messages moved from Java

« first day (1436 days earlier)      last day (1721 days later) »