Credit Cards owning and usage

Why one should have credit cards? It has more pros than cons. My answers will justify it. Credit cards have more pros than cons, making them a valuable asset when used responsibly. Credit cards offer rewards points, discounts, and other benefits for necessary purchases in our daily lives. They can be helpful during emergencies orContinue reading "Credit Cards owning and usage"

User Story

User stories are short, simple descriptions of a requirement told from the perspective of the person who would like a new feature. They typically follow a common template that is used to foster alignment with the work at hand and is not limited to tech or agile teams. The beauty of this sentence is that itContinue reading "User Story"

Study table

https://ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=IN&source=ac&ref=tf_til&ad_type=product_link&tracking_id=rajeev2018-21&marketplace=amazon&region=IN&placement=B08HQL67D6&asins=B08HQL67D6&linkId=8615ce4e0e3a8f268daa1dfe93c2fad2&show_border=false&link_opens_in_new_window=false&price_color=333333&title_color=0066c0&bg_color=ffffff

API Testing

Unit testing is too far inside the system. Integration testing of groups of components is closer, but not quite.More specifically, let's go back and understand how we defined our use cases. There are two main approaches to use cases. SMART, and INVEST. While there's supposedly differences between them, they're not all that important. The importantContinue reading "API Testing"

Most Common PM questions

How do you prioritize among competing features? How do you say no to people? What is your favorite (software) product and why? How would you improve it? Tell me about how use data to make decisions. How would you describe our product to someone? How do you know if a product is well designed? WhatContinue reading "Most Common PM questions"

Git command troubleshoot

git - strange branch merge error that I am not sure how to solve When I type git status in terminal, I get this error message: # On branch master # Your branch and 'origin/master' have diverged, # and have 1 and 2 different commits each, respectively. # Untracked files: # (use "git add ..."Continue reading "Git command troubleshoot"

Some most common terms used in E-commerce world

GMV: GMV stands for Gross Merchandise Value. It’s the total value of merchandise sold over a period of time through an eCommerce site. This term denotes the growth of the business, or more precisely, it indicates how useful the site is in selling merchandise. NMV: NMV stands for Net Merchandise Value. This value is calculated after deductingContinue reading "Some most common terms used in E-commerce world"

30 Product Vision Interview Questions

1. Design a website that sell shoes 2. Design a calculator for kids 3. Design a better oven 4. Design a stove for people in wheelchairs 5. Design an alarm clock for blind people 6. Design an app for your favorite sport 7. Design an app that sells tickets 8. Design a bookcase for kidsContinue reading "30 Product Vision Interview Questions"

Most popular HR round Interview questions and answers:

1.IT IS EVIDENT THAT THERE IS SOME GAP WITH REGARDS TO YOUR WORK HISTORY. WHY SO? I felt I needed a break from the constant work to take some time off for myself and family and to explore the other work possibilities as I am constantly driven. I am happy I took that break asContinue reading "Most popular HR round Interview questions and answers:"

Important Jenkins command

URL http://<jenkins.server>/restart http://<jenkins.server>/safeRestart http://<jenkins.server>/exit http://<jenkins.server>/safeExit http://<jenkins.server>/quietDown http://<jenkins.server>/cancelQuietDown Remote API URL can be invoked by a Remote API. Using wget: $ wget --user=<user> --password=<password> http://<jenkins.server>/restart $ wget --user=<user> --password=<password> http://<jenkins.server>/safeRestart $ wget --user=<user> --password=<password> http://<jenkins.server>/exit $ wget --user=<user> --password=<password> http://<jenkins.server>/safeExit $ wget --user=<user> --password=<password> http://<jenkins.server>/quietDown $ wget --user=<user> --password=<password> http://<jenkins.server>/cancelQuietDown Using cURL: $ curl -X POSTContinue reading "Important Jenkins command"

How to create Java Maven Project using Terminal

Goto to termical -> Any Folder -> e.g. Documents Create file -> mkdir new_workspace Goto -> cd new_workspace Type below commands mvn archetype:generate -DgroupId=com.expedia.cli -DartifactId=flightsBookingcli -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false You can see Maven Project created in the folder by typing in terminal -> type . Important Maven commands: mvn dependency:sources -> will download all missing jars andContinue reading "How to create Java Maven Project using Terminal"

How to do Database Testing using My Sql and MongoDB

How to install Mongo DB -> MongoDB Installation URL to add Maven dependency and Jar files for MongoDB -> MongoDB Installation Guide Source Code for Mongo DB Test: package DatabaseTesting; import com.mongodb.BasicDBObject; import com.mongodb.Cursor; import com.mongodb.MongoClient; import com.mongodb.client.FindIterable; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoDatabase; import org.bson.Document; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class DatabaseTestingMongoDBContinue reading "How to do Database Testing using My Sql and MongoDB"

How to generate TestNG report in Intellij

From Edit Configurations On the "Listeners tab", Use default listeners should be checked. And Output directory should be set correctly. Check on Use default reporters option which will create test-output folder in your root folder with all reports. In addition to above steps if you still face the issue, you can even add Listener likeContinue reading "How to generate TestNG report in Intellij"

A proper QA process that helps to catch bugs during development phase.

1. We need to break free from the classical roles and responsibilities of QA Here we are a customer-facing unit, and we hear from our customers about issues they experience and what features they would like to see in our product. On the other end, we actively participate in design discussions, offering the input weContinue reading "A proper QA process that helps to catch bugs during development phase."

Ways to scroll a page using Selenium WebDriver in Java

1.If you want to scroll the page vertically to perform some action, you can do it using the following JavaScript. ((JavascriptExecutor)driver).executeScript(“window.scrollTo(0, document.body.scrollHeight)”); Where ‘JavascriptExecutor’ is an interface, which helps executing JavaScript through Selenium WebDriver. You can use the following code to import. import org.openqa.selenium.JavascriptExecutor;  2. If you want to scroll at a particular element, you needContinue reading "Ways to scroll a page using Selenium WebDriver in Java"

Page Object Model

It is a design pattern to create Object Repository for web UI elements. One page class for each web page in the application Page class - Find the WebElements of Web page Page class - contains Page methods which perform actions on those WebElements Advantages: Makes our code cleaner and easy to understand Easy toContinue reading "Page Object Model"