Question
Complete an animated GUI testing tool for the previous GUI.jar file. Your tool window is placed at the upper left corner of the screen. The
Complete an animated GUI testing tool for the previous GUI.jar file. Your tool window is placed at the upper left corner of the screen. The window includes three buttons: Record, Stop and Play. The Record button stores all the mouse move and press events for activities inside the MyGUI window. The Stop button terminates the recording. The Play button executes the recorded steps based on the same time progression. Run the first 10 test cases that were prepared by your team last week
The Robot class and its method setAutoWaitForIdle (Links to an external site.) are useful. A thread for running the animation is necessary.
The previous GUI.jar file was a simple program where we had numbers in a txt file and placed them into the JTextFields and added them together. For example if the file was this
1 1
2 3
4 5
The JTextFields would show 1 + 1 = 2 and then 2 + 3 = 5 etc...
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started