Exemple #1
0
 public void ValidateSDCR(string SelectOption)
 {
     if (SelectOption == active)
     {
         ((IJavaScriptExecutor)Drive.driver).ExecuteScript("arguments[0].scrollIntoView(true);", ActiveSDCR);
         CustomWait.WaitFortheLoadingIconDisappear2000();
         ActiveSDCR.Click();
         CustomLib.MultipleAlertMessages();
     }
     else if (SelectOption == New)
     {
         ((IJavaScriptExecutor)Drive.driver).ExecuteScript("arguments[0].scrollIntoView(true);", NewSDCR);
         CustomWait.WaitFortheLoadingIconDisappear2000();
         NewSDCR.Click();
         CustomWait.WaitFortheLoadingIconDisappear2000();
         CustomLib.MultipleAlertMessages();
     }
 }