CollectionsUsage
CollectionsUsage
candy lawsuit north license vast juice indoor age help old scale mutual
Use Case:
when we try to retrieve the more than one match of elements
when we handle multiple tabs/windows
When we retrieve option from the dropdown using getOptions() method
Map - We can use Maps or hashMaps in selenium when we want to read key-pair values;
For example, when we read data from the properties files or JSON file, we would be
using HashMaps along with Selenium.
Some examples are:
A map of error codes and their descriptions.
A map of zip codes and cities.
A map of managers and employees. Each manager (key) is associated with a list of
employees (value) he manages.
A map of classes and students. Each class (key) is associated with a list of
students (value).
--------------------------------------------------
reverse of number, array, string - done
reverse the words - done
check palindrome & string, amstrong number - done
fibnacci, factorial, prime, even or odd - done
remove duplicate characters in string, num in array - done
Excel read & write and retrieve data from property file - done
handle Webtable - done
connect DB & retrieve data from DB
String - substring,
------------------------------------
Test Plan:
A test plan for software project can be defined as a document that defines the
scope, objective, approach and emphasis on a software testing effort
Components of Test plan include- Test plan id, features to be tested, test
techniques, testing tasks, features pass or fail criteria, test deliverables,
responsibilities, and schedule, etc.
Test plan is carried out by a testing manager or lead that describes how to test,
when to test, who will test and what to test
Test Strategy:
Test strategy is a set of guidelines that explains test design and determines how
testing needs to be done
Components of Test strategy includes- objectives and scope, documentation formats,
test processes, team reporting structure, client communication strategy, etc.
A test strategy is carried out by the project manager. It says what type of
technique to follow and which module to test
---------------------------------------
STLC
Requriement Analysis - testplanning- test case development- Test Env setup- Test
Execution - Test Closure
SDLC
Ideation - Requriement Analysis - Design - Development - Test - Deploy -
Maaintaince
Bug LC
New - assigned - open(rejected or deferred) - fixed - retest (open) - verify -
close
PTLC
Non Functiona Req - Test Strategy - Test Design - Test Execution - Test Results &
Analysis - Benchmarks & Recommendations