Automation build plan--remote server(Jenkins bamboo)
os--linux(no ui)--headless browser
switch real browser to headless browser
if the os is windows or Mac use chrome in real browser mode
else os is linux use headless chrome browser mode
CI/CD Pipeline
WebApplication(developer)--UnitTest(JUnit,NUnit,PyUnit)
Test Automation developer(SDET)--(TestNG,CuCumber framework)
smoke,integration,regression test suite
Jenkins/Bamboo CI/CD tool (EveryThing done by Job)
bitbucket--code repository
Application build plan-compile code and run unit test
Automation build plan-run smoke integration regression test
Why do we need test on Jenkins/Bamboo?
Local:Devople automation on your laptop & Debugging your code
smoke test--build plan
integration test
code freeze--no new application code deploy
regression test--on demand(based on release)new feature bug fix
sanity test--part of regression test
database test
api test
Run test on Schedule--nightly test execution,hourly test execution--every 3 hours
Corn job - corn expression
BDD Framework(behaviour data driven)
Cucumber framwork , restAssuredApi test
[Link] File(written by Gherkin languange)--business logic
Feature,Scenario,
Given(Precondition)
when(Action)
then(verification)
and --for multiple steps
but---negative steps
Scenaryo outline Example(For parameterized test)
Background(for repeated steps)
Cucumber Hook--before after annotaion(by default Junit)
business logic-feature file( .feature)-a definition of test suite(Function of
application)
[Link] definition (code)--code logic
[Link] runner(@Runwith cucumberOptions)