1. After recording the script from selenium ide1.8.1, convert it to the python2 (Remote Control) script. Pay attention to the Instance name space. If there are spaces, the Class Name of the converted Python script also has spaces, which may cause Syntax problems.
Solution: Replace space.
2. If the converted script contains Chinese characters, an Encoding Error is often reported, that is, non-ASCII character '\ xe7' in file.
Solution: Add #-*-coding: UTF-8-*-in the first line of the python File -*-
3. In the firefox11.0 browser, selenium ide1.8.1 does not support the dropdownlist of kendoui very well. Selenium uses the CSS selector to select the option by default, which is often unavailable.
Solution: we need to use XPath to select the target.
4. How does selenium ide1.8.1 send the Enter key or other special keys to the webpage?
Solution: commamd uses keypress and the value uses the ASCII code of the Return key.