Sikuli IDE throws below error while importing the modules essentially with import subprocess Code: Error Message: [info] Sikuli vision engine loaded. [info] Windows utilities loaded. [info] VDictProxy loaded. [error] Stopped [error] An error occurs at line 3 [error] Error message: Traceback (most recent call last): File “C:\Users\GOVARD~1\AppData\Local\Temp\sikuli-tmp6393242728040316401.py”, line 3, in import subprocess File “C:\Program Files\Sikuli […]
Similar to various powerful modules, Perl comes with various modules for web scraping, that is extracting required information from web HTML pages. Below is a sample script that I authored to extract the movies information from www.justtollywood.com web site pages. Output:
This program is to illustrate how tools like HtmlAsText usually work.
Requirement: You are a programmer/web developer/QA tester, you require to ensure that web page designed/tested is using HTML5. How to find HTML version of Web page: Any browser detects the HTML version of the web pages by reading the very first line of a web page that is a declaration of <!DOCTYPE>. The <!DOCTYPE> […]
Configure Database connection strings for Tomcat via Server.xml configuration file: …TomcatConfServer.xml Configure DB connection entry in GlobalNamingResources and Realm tags <?xml version=”1.0″ encoding=”UTF-8″?> <Server> <Listener className=”org.apache.catalina.mbeans.GlobalResourcesLifecycleListener”/> <Listener className=”org.apache.catalina.mbeans.ServerLifecycleListener”/> <GlobalNamingResources> <Environment name=”simpleValue” type=”java.lang.Integer” value=”30″/> <Resource auth=”Container” description=”User database that can be updated and saved” name=”UserDatabase” type=”org.apache.catalina.UserDatabase” pathname=”conf/tomcat-users.xml” factory=”org.apache.catalina.users.MemoryUserDatabaseFactory”/> <Resource name=”jdbc/myprod” type=”javax.sql.DataSource” driverClassName=”oracle.jdbc.driver.OracleDriver” password=”myP@ssw0rD” maxIdle=”5″ […]
Environment: Lets consider you have a web site that is developed in PHP with MySQL DB in the backend and pages being served via the Apache Web Server. All are freeware technologies with appropriate licensing terms. End User input to Webpage and Webpage to Php script: A user login and/or registration page will prompt […]