Beispiel #1
0
        public ReportIssue FillFields(ReportIssueData data)
        {
            Select.SelectValueByName("category_id", data.Category);
            Select.SelectValueByUILabel("Reproducibility", data.Reproducibility);
            Select.SelectValueByUILabel("Severity", data.Severity);
            Select.SelectValueByUILabel("Priority", data.Priority);
            Select.SelectValueByUILabel("Select Profile", data.SelectProfile);
            TextField.FillValueBy_UiName("Platform", data.Platform);
            TextField.FillValueBy_UiName("OS", data.OS);
            TextField.FillValueBy_UiName("OS Version", data.OSVersion);
            TextField.FillValueBy_CodeName("summary", data.Summary);
            TextArea.FillValueBy_CodeName("description", data.Description);
            TextArea.FillValueBy_UiName("Steps To Reproduce", data.StepsToReproduce);
            TextArea.FillValueBy_UiName("Additional Information", data.AdditionalInformation);
            if (data.Status_isPublic)
            {
                Radio.SelectRadio("View Status", "public");
            }
            else
            {
                Radio.SelectRadio("View Status", "private");
            }
            CheckBox.CheckUncheckCheckbox("Report Stay", data.Report_Stay);

            return(this);
        }
 public ViewIssues FillViewIssuesDetailsFields(ReportIssueData data)
 {
     TextArea.FillValueBy_CodeName("bugnote_text", data.note);
     Button.ClickButton("Add Note");
     return(this);
 }