public void Test0205_CopyFile( [ValuesAttribute("StandardFolder", "SecureFolder", "DatabaseFolder")] string folderFrom, [ValuesAttribute("SecureFolder", "StandardFolder", "DatabaseFolder")] string prefix, [ValuesAttribute("Birds.jpg", "Birds.pdf", "Birds.zip")] string fileToMove) { Trace.WriteLine(BasePage.RunningTestKeyWord + "'Copy File to Folder:'" + prefix + fileToMove); var folderTo = folderFrom + "CopyTo" + prefix; var adminFileManagementPage = new AdminFileManagementPage(_driver); adminFileManagementPage.OpenUsingButtons(_baseUrl); adminFileManagementPage.SelectFolderFromTreeView("Root", folderFrom); adminFileManagementPage.CopyFile(folderFrom, folderTo, prefix + fileToMove); adminFileManagementPage.SelectFolderFromTreeView("Root", folderTo); Trace.WriteLine(BasePage.TraceLevelPage + "Verify the File is present in the list"); Assert.IsTrue(adminFileManagementPage.ElementPresent(By.XPath(FileManagementPage.FileView + "//tr/td/div[@title = '" + prefix + fileToMove + "']")), "The File is not copied correctly"); adminFileManagementPage.SelectFolderFromTreeView("Root", folderFrom); Trace.WriteLine(BasePage.TraceLevelPage + "Verify the File is NOT present in the list"); Assert.IsTrue(adminFileManagementPage.ElementPresent(By.XPath(FileManagementPage.FileView + "//tr/td/div[@title = '" + prefix + fileToMove + "']")), "The File is not copied correctly"); }