Learning Python+selenium Automation Thoughts

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.