The invention discloses a graphical user interface and an establishing method thereof for automated testing. The establishing method includes the following steps: S1, establishing an initial interface including a menu bar, a testing button for starting testing, a first display area displaying product information, a second display area displaying script configuration information and a third display area displaying a testing result; S2, establishing a configuration menu, a first sub menu and a second sub menu; S3, establishing a tested product configuration window interface including a dialog box for inputting product information and a first confirming button; S4, establishing a testing script configuration window interface including a fourth display area, a fifth display area, an adding button and a second confirming button. The graphical user interface for the automated testing is established by using Tcl/Tk language, the automated testing can be displayed directly, a graphical layout of the interface is balanced and attractive, an application program interface (API) can be provided, and cross-platform testing is easy to achieve.