How to handle Webtable in Selenium

Simple way to handle Webtable in Selenium Web Automation

Steps/coding/dom inspecting logic:

  1. Right Click and Inspect html for table
  2. Identify the patern for colum 1 of table
  3. Carefully observe the xpath of column 1 row 1 to row 3
  4. Notice that xpath has “tr[1]/td[1]”, “tr[2]/td[1]” , “tr[3]/td[1]” etc for following rows in colmn 1
  5. Use For loop and replace tr[1],tr[2],tr[3] with for loop variable “i”

What’s QA Architect and what are the responsibilities

WHAT’S QA ARCHITECT AND WHAT ARE THE RESPONSIBILITIES

QA Architect role for a team or organization is critical for success. QA Architect roles can be following based on the what the team’s immediate needs and objectives,

  1. Could be a thinker to bring innovations especially for a matured agile team.
  2. Could be a trainer for a team which is not so matured with technology. QA Architect would help accelerate automation delivery here.
  3. Could be leader who gives technical direction and build strategy in selecting right tools , techniques and technologies
  4. A short term problem solver or a facilitator for long term process improvement.

Apart from Web and API automation skills, QA Architect must need to have following skills and technology knowledge,

  1. Experience in any of the cloud Techonologies like AWS, Azure or any similar one in market. Please refer AWS articles
  2. Experience in DevOps toolchain, please refer
    1. Jenkins, Jenkins pipeline creation, Jenkinsfile maintenance etc,
    2. Dockerfile creation, maintenance, container review, debugging knowledge
    3. Ansible, AWX console usage, playbook maintenance,
    4. SonarQube report analysis, rules settings, etc
    5. Jira, Confluence usages for automation results integration
    6. Gatling performance or similar performance test integration to Jenkins pipeline to make sure the workflow includes performance stage as well.
  3. Kibana visualization, ELK stack building and integration. This will help real time reporting on automation results and metrics.
  4. AI, Machine learning knowledge, experience on AI , ML tools and framework or libraries like Tensorflow
  5. Programming skills in Java, powershell, Python, R, Database experience, web development experience etc

What is contract testing

What is contract testing?

Contract testing is famous in microservices world. When we consider less numbers of microservices,  then contract testing is not so necessary.However when you look at the Amazon or Netflix microservices mesh, it is countless. Such cases it is extremely difficult for developer or tester to maintain unit/automation test suite as per the microservices development chnages.
Contract testing is the best possible solution currently offered for this situation. In contract testing, a mocked service is created to represent the provider.  There are commercial or opensource tools available to stimulate this. In short, contract is set of predefined requests and responses created by automation or developer team to do their testing.

How to read pdf content in java for automation project

How to read pdf content in java?

Apache PDFBox and FontBox jar available can be useful here. Add these two libraries to your Maven Pom.xml or build.gradle dependencies.
Then write java code to parse your PDF files to create POJOs.
What is POJO in javaPOJO stands for Plain java object and it has not restrictions or class path dependency.

What is google App Engine

What is Google’s App Engine ?

Google provides platform as service or PaaS via Google’s App Engine.App Engine is a cloud computing platform where development and hosting of applications can be done.Other feature is App engine scales up on demand basis when the requests are more.
App Engine supports almost all development technologies like Go, Java , Python, .NET, ruby.
Python web frameworks like Flask, Django all can run on App Engine.

How to setup angular project

How to setup Angular project and generate components ?

  1. install latest nodejs from nodejs.org
  2. Go to git bash/powershell ISE/CMD
  3. type following commands,
  4. install Angular : npm install -g @angular/cli
  5. ng new my-newweb-app
  6. ng g c myFirstModule or type mg generate component myFirstModule (optional)
  7. go to project folder ” my-newweb-app ” via commandline itself
  8. type mg serve -o

Other programming notes

select [(ngModel)]=”value” (change)=”selected()”

option *ngFor=”let item of data” [ngValue]=”item”>{{item.name}}</option
</select

selected(){
alert(this.value.name)
}

data:Array = [
{id: 0, name: “Test “},
{id: 1, name: “Test2”}
];

div>  <input ref-email placeholder=”text here” />  </div

What is ELK

What is ELK (Elastic search, Logstash, Kibana) ?

ELK stack is a combination of 3 open-source products as below,

  1. Elasticsearch, a search and analytics engine.
  2. Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
  3. Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts.
    In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch. 
    Then Kibana would read the data from Elasticsearch and visualize it.

DevOps vs DevSecOps vs NetOps

What is DevOps vs DevSecOps vs NetOps ?

DevOps is the practice of using set of tools, processes and practices to get good agility in software implementation to customers. It combines Dev (software development ) and Ops (information operations). DevOps shortens the development lifecycles and provides Continous Integration & Delivery. 
DevSecOps is when security features are included in DevOps CI/CD flow.
NetOps is when network services are packaged to DevOps.

Jenkins job vs pipeline

What is Jenkins jobs and Jenkins pipeline ?

Jenkins jobs and Jenkins pipeline are essentially same, however pipeline is more staged flow of jobs. For Jenkins pipeline, Jenkinsfile is used.
What is Jenkinsfile?Jenkinsfile is a text file placed in the root project directory. The Jenkinsfile has multiple stages like build, unit test, sonar test, functional,  regression, integration,  performance testing, deployment etc.

Indian recipes

Stuffed Mussels

stuffedmussels

Yummy Keralian Fried Stuffed Mussels /arikadukka

Fried Stuffed Mussels /arikadukka is a South Indian – Kerala recipe, there could be other ways to prepare this.

ingredient 1 – Grind and mix the onions or shallots, grated coconut, curry leaves, fennel seeds, green / red chilies, ginger, and garlic
ingredient 2 – mix salt water to rice powder and make a paste mixture (add salt to taste)
ingredient 3 – mix olive oil and turmeric powder, corriander powder, red chilli powder, rice powder and salt and make a spicy mixture. You can add any other powders like garam masala, black pepper if you like

– Clean the Mussel Shells in water to remove any sand or mud and unwanted things.
– Boil the mussels in turmeric water with a pinch of salt. Make sure the shells partially opens.
– mix ingredient 1 & 2
– Stuff the mussels with the above mixed ingredient 1 & 2
– Steam cook the stuffed mussels for 20-25 minutes with low flame, keep aside to cool.
– Take the mussels out of their shells.
– Heat oil in pan and dip stuffed mussels in this above ingredient 3
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Mahi mahi fish curry

mahi1


Mahi mahi fish curry

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – black tamarind, asafoetida , fenugreek powder

– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– after the contents get boling,put the mahi mahi fish cubes in it and cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Noollappam and Kuruma

Ingredient 1 – Brown rice idiappam powder from store, boilded water, salt and mix it to make a dough

– put the Ingredient 1 (dough) in idiyappam maker and press it or squeeze it to idili plates
– fill little water and make it boil in idili cooker and place the idili pates in it
– keep it in steam for 10 minutes in medium to high flames.
– idiappam goes well with Kuruma or roaster chicken curry.

Recipes for Kuruma
Ingredient 1 – you can choose any vegetables of your choice – here I took cubes of potato, green piece, carrot, muchroom, red pepper, green banana, cauliflower, salt , water, green chilly, turmeric, onion cubes, ginger & garlic

– put the Ingredient 1 pressure cooker and whistle it 1-2 times
– pour coconut milk, corriander leaves and pinch of garam masala to taste.
– cook it in low flame for 5 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Egg Masala

eggmasala


Egg Masala

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Appam and Egg Masala

appam

Appam and Egg Masala

Appam and Egg Masala
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Appam
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Paneer grill

paneergrill


Paneer grill

Ingredient 1 – onion, olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder
Ingredient 2 – Paneer.
– Fire up the grill

– Grind and mix Ingredient 1 with Ingredient 2
– Once the Grill is set, place the Paneer on it
– Grill it untill it is cooked well
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Crab Masala

crab

Crab Masala

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Crabs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Egg Masala

eggmasala


Egg Masala

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Boiled Eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Chicken Curry

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Boneless Chicken pieces.

– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

chickencurry

Potato Curry

Potato Curry

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Potato pieces.

– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Shrimp Curry

chickencurry3


Shrimp Curry

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Boneless Chicken pieces.

– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Eggplant grill

eggplantbake2


Eggplant grill

Ingredient 1 – olive oil, ginger , garlic, red chilly powder, turmeric, salt, cumin powder, garam masala, coriander powder
Ingredient 2 – Eggplant sliced as shown in picture.
– Fire up the grill
– Grind and mix Ingredient 1 with Ingredient 2
– Once the Grill is set, place the Eggplant on it
– Grill it untill it is cooked well

Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Chicken Biryani

chickenbriyani

Chicken Biryani

Ingredient 1 – soak rice into water for 20 min
Ingredient 2 – onion, cardamom, cloves, corriander, graham masala, salt, bay leaves, cumin, pepper, ginger and garlic paste etc. Ingredient 3 – Chicken pieces
– cook Ingredient 1 in water until it is half cooked.
– add oil into Large vessel , heat it and add Ingredient 2 and Ingredient 3 it
– cook it for 20-30 min and take it out but keep a layer of the mixture in the vessel
– above that layer, add a layer of half cooked rice and then add a layer of cooked mixture of Ingredient 2 and 3. – make multiple layers of rice and cooked mixture of Ingredient 2 and 3.
– Then close the vessel and cook it in very slow flame for 30 min
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Salmon Biryani

chickenbriyani


Salmon Biryani

Ingredient 1 – soak rice into water for 20 min
Ingredient 2 – onion, cardamom, cloves, corriander, graham masala, salt, bay leaves, cumin, pepper, ginger and garlic paste etc. Ingredient 3 – Salmon pieces
– cook Ingredient 1 in water until it is half cooked.
– add oil into Large vessel , heat it and add Ingredient 2 and Ingredient 3 it
– cook it for 20-30 min and take it out but keep a layer of the mixture in the vessel
– above that layer, add a layer of half cooked rice and then add a layer of cooked mixture of Ingredient 2 and 3. – make multiple layers of rice and cooked mixture of Ingredient 2 and 3.
– Then close the vessel and cook it in very slow flame for 30 min
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Fish fry

fishfry


Fish fry

Ingredient 1 – ginger , garlic, olive oil, red chilly powder, turmeric, salt
Ingredient 2 – cleaned Fish and cut into 3-4 pieces.
– mix ‘Ingredient 1 and 2’.
– add oil in to pan and heat it
– add Fish pieces to the pan.
– Fry the fish untill its coooked
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Omelet

omelet


Omelet

Ingredient 1 – chopped onion,curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – Eggs
– mix ‘Ingredient 1’ in a small pot.
– break the egss and mix it with Ingredient 1 .
– add oil in to pan and heat it
– Fry the Omlet untill its coooked
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.