Exemplo n.º 1
0
 public void CheckRepClaimant(string repClaimant, string repReasonType, string repRelation, string repTaxType, string repTaxID, string repFN, string repMN, string repLN, string repSuffix)
 {
     if (repClaimant.Equals("1"))
     {
         elementUtils.SelectRadioButtonByText(DocumentIntakeDetailsPage.RepReasonType, repReasonType);
         elementUtils.SelectRadioButtonByText(DocumentIntakeDetailsPage.RepRelationshipType, repRelation);
         elementUtils.SelectRadioButtonByValue(DocumentIntakeDetailsPage.RepTaxType, repTaxType);
         if (repTaxType.Equals("1"))
         {
             //  elementUtils.SetStaleElementWait(DocumentIntakeDetailsPage.RepSSN);
             elementUtils.SetElementExistsWait(DocumentIntakeDetailsPage.RepSSN);
             elementUtils.SendKeys(DocumentIntakeDetailsPage.RepSSN, repTaxID);
         }
         else
         {
             // elementUtils.SetStaleElementWait(DocumentIntakeDetailsPage.RepEIN);
             elementUtils.SetElementExistsWait(DocumentIntakeDetailsPage.RepEIN);
             elementUtils.SendKeys(DocumentIntakeDetailsPage.RepEIN, repTaxID);
         }
         elementUtils.SendKeys(DocumentIntakeDetailsPage.RepFirstName, repFN);
         elementUtils.SendKeys(DocumentIntakeDetailsPage.RepMiddleName, repMN);
         elementUtils.SendKeys(DocumentIntakeDetailsPage.RepLastName, repLN);
         elementUtils.SelectDropDownByText(DocumentIntakeDetailsPage.RepSuffix, repSuffix);
         elementUtils.ClickElement(DocumentIntakeDetailsPage.RepSaveAndNext);
     }
 }
        public void FacilityReview(string claimType, string q2comment, string q2answer)
        {
            int size = elementUtils.CountTableRows(ReviewDetailsEGPage.FacilityGridRow);

            elementUtils.ClickElement(ReviewDetailsEGPage.DocAction);
            for (int i = 2; i < size; i++)
            {
                elementUtils.ClickElement(ReviewDetailsEGPage.GetFacilityAction(i));
                elementUtils.ClickElement(ReviewDetailsEGPage.FacilityQ2BullsEye);
                elementUtils.SendKeys(ReviewDetailsEGPage.FacilityQ2Comment, q2comment);
                elementUtils.SelectRadioButtonByText(ReviewDetailsEGPage.FacilityQ2, q2answer);
            }
        }
Exemplo n.º 3
0
        public void PerformDMIReview(string repReasonType, string repDocProvide, string repDocSufficient, string repDocType)
        {
            elementUtils.SelectRadioButtonByText(ClaimantDetailsPage.RepClaimantReason, repReasonType);
            elementUtils.SelectRadioButtonByText(ClaimantDetailsPage.RepClaimantDocument, repDocProvide);
            elementUtils.SelectRadioButtonByText(ClaimantDetailsPage.RepClaimantDocSufficient, repDocSufficient);
            ClickDocument();
            List <string> docId = GetClaimantDocId();

            elementUtils.SelectDropDownByText(ClaimantDetailsPage.RepDMIDocID, docId[0]);
            elementUtils.SelectDropDownByText(ClaimantDetailsPage.RepDMIDocType, repDocType);
            elementUtils.ClickElement(ClaimantDetailsPage.RepApplyEvent);
            elementUtils.SetElementClickableWait(ClaimantDetailsPage.RepApplyEventPopup);
            elementUtils.ClickElement(ClaimantDetailsPage.RepApplyEventPopup);
        }
Exemplo n.º 4
0
 //public void SearchReviewClaimant(string claimantId, string reviewQueueType)
 //{
 //    elementUtils.SendKeys(ReviewQueuePage.ClaimantId, claimantId);
 //    elementUtils.SelectDropDownByText(ReviewQueuePage.ReviewQueueType, reviewQueueType);
 //    elementUtils.ClickElement(ReviewQueuePage.Submit);
 //}
 //public void StartReview()
 //{
 //    elementUtils.ClickElement(ReviewQueuePage.StartReview);
 //}
 //public void CheckOutClaimant(string claimantId)
 //{
 //    int count = 0;
 //    List<string> reviewCIDs = new List<string>();
 //    reviewCIDs = elementUtils.ReadTableColumnData(reviewCIDs, ReviewQueuePage.PendingGridTable, ReviewQueuePage.PendingFirstPart, ReviewQueuePage.GetTableXPathColumnForPendingGrid(4));
 //    foreach (string cid in reviewCIDs)
 //    {
 //        if (claimantId.Equals(cid))
 //        {
 //            elementUtils.ClickElement(ReviewQueuePage.GetXPathForReviewButton(count));
 //            break;
 //        }
 //        count++;
 //    }
 //}
 public void ReviewQ1(string fsaResponse, string rmaResponse)
 {
     elementUtils.SelectRadioButtonByText(ReviewDetailsPLPage.FSAResponseQ1, fsaResponse);
     elementUtils.SelectRadioButtonByText(ReviewDetailsPLPage.RMAResponseQ1, rmaResponse);
 }