Web----Test-----Selenium

Source: Internet
Author: User

Selenium IDE installation on its own Baidu bar.

Make a simple recording of Baidu.

1. Open the Baidu page in Firefox browser.

2. In the Firefox browser menu bar, select Tools, select the Selenium IDE, and open the Selenium IDE.

3. Enter "Http://www.baidu.com" in the base URL in the Selenium IDE

4. Click the Selenium IDE's recording button

5. Go back to Firefox browser and enter "Debbie" in the Baidu search box.

6. Go back to the selenium IDE and stop recording. Playback.

7. Add checkpoints. Right-click in the Selenium IDE table, select Insert New command, select Verifytextpresent in command, and enter the text information you want to check in the input box of value, such as "Debbie". Click Play back, the playback does not appear error.

8. Save. Select a test script, such as Java/junit4/webdriver, under File in the menu bar, export test case as

1.

Web----Test-----Selenium

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.