From 6027915f0e5a2f5a67e834f997c95c7620f83261 Mon Sep 17 00:00:00 2001 From: "U-BASIS\\zhaohui" Date: Fri, 5 May 2017 17:22:55 -0400 Subject: [PATCH] 2640: Pass a full title name to WinzardOperator instead of a partial name --- .../sleuthkit/autopsy/testing/AutopsyTestCases.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java b/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java index d36c168a3e..b44b050e9b 100755 --- a/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java +++ b/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java @@ -107,7 +107,7 @@ public class AutopsyTestCases { public void testStartAddImageFileDataSource() { logger.info("Starting Add Image process"); - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); //select the toggle button for Disk Image or VM File it will be the first button created and proceed to next panel JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 0); jtbo.clickMouse(); @@ -123,7 +123,7 @@ public class AutopsyTestCases { public void testStartAddLogicalFilesDataSource() { logger.info("Starting Add Logical Files process"); - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); //select the toggle button for Logical Files it will be the third button created and proceed to next panel JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 2); jtbo.clickMouse(); @@ -139,7 +139,7 @@ public class AutopsyTestCases { } public void testAddSourceWizard1() { - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); while (!wo.btFinish().isEnabled()) { new Timeout("pausing", 1000).sleep(); // give it a second (or five) to process } @@ -155,7 +155,7 @@ public class AutopsyTestCases { new Timeout("pausing", 10000).sleep(); logger.info("Looking for hash lookup module in ingest job settings panel"); - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); JTableOperator jto = new JTableOperator(wo, 0); int row = jto.findCellRow("Hash Lookup", 2, 0); jto.clickOnCell(row, 1); @@ -201,7 +201,7 @@ public class AutopsyTestCases { public void testConfigureIngest2() { logger.info("Looking for keyword search module in ingest job settings panel"); - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); JTableOperator jto = new JTableOperator(wo, 0); int row = jto.findCellRow("Keyword Search", 2, 0); jto.clickOnCell(row, 1); @@ -234,7 +234,7 @@ public class AutopsyTestCases { } JButtonOperator jbo2 = new JButtonOperator(jdo, "OK", 0); jbo2.pushNoBlock(); - WizardOperator wo = new WizardOperator("Add Data"); + WizardOperator wo = new WizardOperator("Add Data Source"); new Timeout("pausing", 10000).sleep(); // let things catch up wo.btNext().clickMouse(); }