Finally, I stepped into the path of learning automation. Originally is to exclude the code, but did not think really seriously to learn the time, found that he is interesting, finished homework feel good to have a sense of accomplishment. Learning process, also encountered a lot of problems, try to find a solution to the problem, can not find a solution, there are colleagues to ask. This kind of learning opportunity, very rare AH.
Have now learned the environment, Python basic grammar, element positioning (element positioning specifically taught a few courses, the job also done 3, 4 times, from the switch iframe, switch handle, return to the superior, find the element page, and then based on the ID, name, text, CSS, class, XPath and other positioning methods, locate the element, and then manipulate it, such as parameters, drop-down box selection, multi-box selection, Excel form action, click OK or Cancel button, clear text box after all, and mouse & keyboard operation.
Plus unittest can organize a single use case into a test set, and then run each of the use cases to generate a test report.
Next, we will begin to learn encapsulation, apply, refueling refueling ... ^_^
Learning Python+selenium Automation Thoughts