aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-04-22 15:58:38 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-04-22 15:58:38 +0300
commitfa5e1c45ab2da4e988cf256c0e5ec521288e537f (patch)
tree4ee0608e0382757f5a9ad7f7681c89b65691b20e /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation
parentde099bd3b50b8ea52b212b8d322626582c2648be (diff)
downloadTango-fa5e1c45ab2da4e988cf256c0e5ec521288e537f.tar.gz
Tango-fa5e1c45ab2da4e988cf256c0e5ec521288e537f.zip
Implemented some UI test automation for Job create/delete.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/Developer.cs22
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/UI.cs13
2 files changed, 35 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/Developer.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/Developer.cs
new file mode 100644
index 000000000..2f0437d43
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/Developer.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.MachineStudio.Common.Automation
+{
+ public class Developer
+ {
+ public static String JobsDataGrid { get; set; } = nameof(JobsDataGrid);
+ public static String NewJobButton { get; set; } = nameof(NewJobButton);
+ public static String DeleteJobButton { get; set; } = nameof(DeleteJobButton);
+ public static String DuplicateJobButton { get; set; } = nameof(DuplicateJobButton);
+ public static String ToJobsButton { get; set; } = nameof(ToJobsButton);
+ public static String SaveJobButton { get; set; } = nameof(SaveJobButton);
+ public static String AddSegmentButton { get; set; } = nameof(AddSegmentButton);
+ public static String AddBrushStopButton { get; set; } = nameof(AddBrushStopButton);
+ public static String SegmentsListBox { get; set; } = nameof(SegmentsListBox);
+ public static String BrushStopsListBox { get; set; } = nameof(BrushStopsListBox);
+ }
+}
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/UI.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/UI.cs
new file mode 100644
index 000000000..2c200e10f
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Automation/UI.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.MachineStudio.Common.Automation
+{
+ public class UI
+ {
+ public static String LoginButton { get; set; } = nameof(LoginButton);
+ }
+}