mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 02:07:42 +00:00
Make sure to insert name and path in the currect fields
This commit is contained in:
parent
981497d763
commit
e9fcdc5022
@ -174,10 +174,10 @@ public class RegressionTest extends TestCase {
|
|||||||
public void testNewCaseWizard() {
|
public void testNewCaseWizard() {
|
||||||
logger.info("New Case Wizard");
|
logger.info("New Case Wizard");
|
||||||
WizardOperator wo = new WizardOperator("New Case Information");
|
WizardOperator wo = new WizardOperator("New Case Information");
|
||||||
JTextFieldOperator jtfo1 = new JTextFieldOperator(wo, 2);
|
|
||||||
jtfo1.typeText("AutopsyTestCase"); // Name the case "AutopsyTestCase"
|
|
||||||
JTextFieldOperator jtfo0 = new JTextFieldOperator(wo, 1);
|
JTextFieldOperator jtfo0 = new JTextFieldOperator(wo, 1);
|
||||||
jtfo0.typeText(getEscapedPath(System.getProperty("out_path")));
|
jtfo0.typeText("AutopsyTestCase"); // Name the case "AutopsyTestCase"
|
||||||
|
JTextFieldOperator jtfo1 = new JTextFieldOperator(wo, 2);
|
||||||
|
jtfo1.typeText(getEscapedPath(System.getProperty("out_path")));
|
||||||
wo.btNext().clickMouse();
|
wo.btNext().clickMouse();
|
||||||
JTextFieldOperator jtfo2 = new JTextFieldOperator(wo, 0);
|
JTextFieldOperator jtfo2 = new JTextFieldOperator(wo, 0);
|
||||||
jtfo2.typeText("000"); // Set the case number
|
jtfo2.typeText("000"); // Set the case number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user