Exemplo n.º 1
0
 public void AddClipboardCopyOfTubes()
 {
     if (ListOfTubes != null)
     {
         foreach (ElementScope i in ListOfTubes)
         {
             ConfurmTestReactionsField.WaitForClickability();
             var s = FirstTube["clipboard-copy"];
             System.Diagnostics.Debug.WriteLine(s);
             ConfurmTestReactionsField.SendKeys(s).SendKeys(Keys.Enter);
         }
     }
 }
Exemplo n.º 2
0
 public void AddClipboardCopyOfBatches()
 {
     if (ListOfBatches != null)
     {
         foreach (ElementScope i in ListOfBatches)
         {
             ConfurmTestReactionsField.WaitForClickability();
             var s = FirstBatch["clipboard-copy"];
             System.Diagnostics.Debug.WriteLine(s);
             ConfurmTestReactionsField.SendKeys(s).SendKeys(Keys.Enter);
             BDReagentsWorkplacePage bDReagentsWorkplacePage = new BDReagentsWorkplacePage();
             bDReagentsWorkplacePage.SetUsercode();
             while (UserBarcodeForTubesManualDripping.Exists())
             {
                 try { UserBarcodeForTubesManualDripping.SendKeys(Config.UserBarCode).SendKeys(Keys.Enter); }
                 catch (System.Exception e) { break; }
             }
         }
     }
 }