Summary on Web testing and mobile apps
What is the difference between Web Layer (Presentation Tier) vs Application Layer (Logic Tier) vs Database Layer (Data Tier)
- Presentation Layer is the interface to outside world e.g. web site.
- Application Layer is a framework to create the interface to the Web site or Presentation Tier
- Database Layer is the database and associated logic needed to query details.
Web Layer (Presentation Tier)
Contains Virtual Machines and Physical Machines with OS can be Windows, UNIX or Linux
Contains Apache web Server, Apache tomcat, Sun Java Web Server or MS Internet Information Services (IIS)
Application Layer (Logic Tier)
Contains Virtual Machines and Physical Machines with OS can be Windows, UNIX or Linux
Contains Apache tomcat, Red Hat JBoss, BEA Web Logic or IBM WebSphere app server
Database Layer (Data Tier)
Contains Virtual Machines and Physical Machines with OS can be Windows, UNIX or Linux
Contains SQL or Oracle
How to Use WhatsApp in a Web Browser?
1) Go to web.whatsapp.com in a web browser on a computer.
2) Then, on your iOS/Android/Windows mobile phone, open WhatsApp and press the Options on top right corner side
3) then press WhatsApp Web from the options.
4) use iOS/Android/Windows mobile phone to scan the QR code shown on the browser on your computer.
Headless web browsers
headless web browsers or programs are used to stimulate the browsers where there is no GUI is used for browser actions,
If you want to do browser operations or collect data from UI, there programming concepts will be used.
headless web browsers are listed as below,
HtmlUnit – No GUI browser for Java programmers and its pure java implementation, Open source programs. JavaScript support/DOM emulated. mainly used for used for testing purposes or to retrieve information from web sites.
Spynner – Programmatic web browsing module having AJAX support for Python
Ghost – it is a webkit web client written in python. it is WebKit-based. JavaScript supported and Open source.
Watir-webdriver- it an open source Ruby library for automating tests. Complete JAva script Support via Browsers
Twill – Allows users to browse the Web using command-line interface . Supports automated testing on web applications and Open source.
Awesomium – is Chromium-based. and supports JavaScript and provides HTML-powered interfaces.
ZombieJS – Open source headless testing using Node.js. JavaScript support/emulated DOM.
SimpleBrowser – Open source web browser engine designed for automation tasks. It is built for .Net framework and No JavaScript support.