-
Day 1 Basics of Web testing
-
1Basic Sample Functionality Check Lists User name 1 1.1 It accepts alphanumeric characters along with the special characters 1.2 Checks whether only the special characters like _,
-
2Usability Testing: 1 Web page content should be correct without any spelling or grammatical errors 2 All fonts should be same as per the requirements. 3 All the text should be prop
-
3Functional Testing (Testing the features and operational behavior of a product to ensure they correspond to its specifications.) Test Scenarios 1 Test all the mandatory fi
-
4Compatibility Testing (Comp ability testing is used to determine if your software is compatible with other elements of a system with which it should operate, e.g. Browsers, Operating Sy
-
5Database Testing (In Database testing back-end records are tested which have been inserted through the web or desktop applications. The data which is displaying in the web application
-
6Security Testing (Security Testing involves the test to identify any flaws and gaps from a security point of view.) Test Scenarios 1 Verify the web page which contains imp
-
-
Day 2 Manual Testing
-
1What is Manual Testing? Manual testing is a testing process that is carried out manually in order to find defects without the usage of tools or automation scripting. A test plan document is prepar
-
2Black box testing – Internal system design is not considered in this type of testing. Tests are based on requirements and functionality. White box testing – This testing is based on k
-
3User name 1 1.1 It accepts alphanumeric characters along with the special characters 1.2 Checks whether only the special characters like _, space, - are allowed 1.3 I
-
4Password 2 2.1 Should allow the entry of alphanumeric and special characters 2.2 When the entry is made it should encrypt and display as "*" to the users 2.3 When tab
-
5Session Management 5 5.1 User whose activity is idle for some time should be automatically logged out by expiring his session. (Example: User has gone out to fresh room or to hav
-
6Security Questions & Secret answer 6 6.1 Frame the security question in such a fashion that they are not obvious to be known (What’s your pet’s name? >> Now, is tha
-
7Email 7 7.1 Valid Email address Reason 1 email@domain.com Valid email 2 firstname.lastname@domain.com Email contains dot in the address field 3 email@subdo
-
8Zipcode 8 8.1 Positive, existing -5 digits 94040 accepted 8.2 Non-digits/letter 9404o error message (digits only) 8.3 Non-digit/Sp. Char. 9404@ error message (digits
-
9URL 9 "Only alphanumerics [0-9a-zA-Z], the special characters $-_.+!*'(), and reserved characters used for their reserved purposes may be used unencoded within a URL." 9.1 Unreser
-
-
Day 3 Automation testing
-
1What is Automation Testing? Manual testing is performed by a human sitting in front of a computer carefully executing the test steps. Automation Testing means using an automation tool to execute y
-
2Step 1 - Install Java on your computer Download and install the Java Software Development Kit (JDK) Next – This JDK version comes bundled with Java Runtime Environment (JRE), so you
-
3Please find the below example program to open Google in Firefox browser import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class OpenGoogle { publi
-
4First of all, we will write the scenario of what we will be doing here. Here, we will Login to Gmail account and will automate the below scenarios. Open a Firefox browser Navigate to the URL
-
5Below is the code to make an account on Facebook using Selenium Wedriver: import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.WebDriver; import o
-
6WebDriver allows pop-up windows like alerts to be displayed, unlike in Selenium IDE. To access the elements within the alert (such as the message it contains), we must use the "switchTo().alert()" met
-
7There are two kinds of waits. Implicit wait - used to set the default waiting time throughout the program Explicit wait - used to set the waiting time for a particular instance only Implici
-
8Following methods are used in conditional and looping operations -- isEnabled() is used when you want to verify whether a certain element is enabled or not before executing a command.
-
9When using isEnabled(), isDisplayed(), and isSelected(), WebDriver assumes that the element already exists on the page. Otherwise, it will throw a NoSuchElementException. To avoid this, we should use
-
10Accessing Form Elements Input Box Input boxes refer to either of these two types: Text Fields- text boxes that accept typed values and show them as they are. Password Fields- text boxes th
-
11Links also are accessed by using the click() method. Consider the below link found in Mercury Tours' homepage. You can access this link using linkText() or partialLinkText() together with cl
-
-
Day 4 Load Testing Jmeter
-
1What is JMeter? jMeter is an Open Source testing software. It is 100% pure Java application for load and performance testing. jMeter is designed to cover categories of tests like load, functi
-
2Step 1 − Verify Java Installation First of all, verify whether you have Java installed in your system. Open your console and execute one of the following java commands based on the operating system
-
3Follow the steps given below to write a test plan − Step 1 − Start the JMeter Window Open the JMeter window by clicking /home/manisha/apache-jmeter-2.9/bin/jmeter.sh. The JMeter window will appe
-
4Thread Group elements are the beginning points of your test plan. As the name suggests, the thread group elements control the number of threads JMeter will use during the test. We can also control the
-
5Controllers JMeter has two types of Controllers − Samplers and Logic Controllers.
-
6Samplers allow JMeter to send specific types of requests to a server. They simulate a user request for a page from the target server. For example, you can add a HTTP Request sampler if you need to per
-
7Logic Controllers let you control the order of processing of Samplers in a Thread. Logic controllers can change the order of a request coming from any of their child elements. Some examples are − Fo
-
8Listeners let you view the results of Samplers in the form of tables, graphs, trees, or simple text in some log files. They provide visual access to the data gathered by JMeter about the test cases as
-
9By default, a JMeter thread sends requests without pausing between each sampler. This may not be what you want. You can add a timer element which allows you to define a period to wait between each req
-
10Open the JMeter window by clicking on /home/manisha/apache-jmeter-2.9/bin/jmeter.sh. The JMeter window appear as below − Rename the Test Plan Change the name of test plan node to Sample Test i
-