The invention discloses an encoding-free Selenium automated test method and system. The method comprises the following steps: A, automatically acquiring xpath and test data of a test element from a page according to pre-configured element keywords and rules, and generating or updating a test case; B, configuring a test plan, test steps and the test case and generating a configuration file; C, reading configuration information of the test case, and judging whether the verification content is correct or not; D, sorting out execution results of the test case and outputting a test report, whereinthe test case comprises a case number, element Xpath, a case description, an execution action, verification content and a verification result. According to the scheme, test personnel can quickly and efficiently perform automatic testing, and the coverage rate and the execution efficiency of automated testing are greatly increased.