0% found this document useful (0 votes)
20 views5 pages

Ajay Second round interview Question and Answers

The document contains a series of interview questions and answers related to software testing and programming, including explanations of agile testing processes, agile ceremonies, and specific programming tasks such as generating a Fibonacci series and reversing a string. It also covers automation techniques in Selenium, compatibility testing, and connecting to devices using Appium on cloud platforms like BrowserStack and Perfecto. Key concepts such as story points, template validation in AEM, and the SAP Commerce Backoffice are also discussed.

Uploaded by

sambit2131
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views5 pages

Ajay Second round interview Question and Answers

The document contains a series of interview questions and answers related to software testing and programming, including explanations of agile testing processes, agile ceremonies, and specific programming tasks such as generating a Fibonacci series and reversing a string. It also covers automation techniques in Selenium, compatibility testing, and connecting to devices using Appium on cloud platforms like BrowserStack and Perfecto. Key concepts such as story points, template validation in AEM, and the SAP Commerce Backoffice are also discussed.

Uploaded by

sambit2131
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Ajay Second round interview Question and Answers.

1. Explain agile testing process and story points

Answer:- Agile testing is a software testing approach that aligns with the Agile development
methodology, where testing happens continuously throughout the development process, integrating
with developers to identify and fix defects early and often, rather than waiting until the end of
development; while "story points" are a unit of measurement used in Agile to estimate the relative
effort required to complete a user story, helping teams prioritize tasks based on complexity rather
than just time needed

2) Write program for Fibonacci series

Answer:- import java.util.Scanner;

public class FibonacciIterative {

public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);

System.out.print("Enter the number of terms: ");

int n = scanner.nextInt();

scanner.close();

int first = 0, second = 1;

System.out.print("Fibonacci Series: " + first + " " + second);

for (int i = 2; i < n; i++) {

int next = first + second;

System.out.print(" " + next);

first = second;

second = next;

}
3) How do you automate frame/ drop down in selenium ?

Answer:- To automate a frame or dropdown in Selenium, you primarily use


the switch_to.frame() method to access the frame and then use the Select class to interact with the
dropdown element, selecting options based on their visible text, index, or value attribute using
methods like select_by_visible_text(), select_by_index(), and select_by_value() respectively.

4) Explain the agile ceremonies?

Answer:- Agile ceremonies are: Sprint Planning, Daily Scrum (Stand-up), Sprint Review, and Sprint
Retrospective.

Explanation of each ceremony:

 Sprint Planning:

This meeting occurs at the start of each sprint, where the team defines the sprint goal, selects user
stories from the product backlog, and creates a plan for completing them within the sprint
timeframe.

 Daily Scrum (Stand-up):

A short, daily meeting where each team member briefly shares what they completed yesterday, what
they plan to work on today, and any roadblocks they are facing.

 Sprint Review:

At the end of a sprint, the team presents their completed work to stakeholders, demonstrating the
functionality and gathering feedback on what worked well and what needs improvement.

 Sprint Retrospective:

A reflective meeting where the team discusses what went well during the sprint, what could be
improved, and how to adapt processes for future sprints.

Key points about Agile ceremonies:

 Timeboxed: Each ceremony has a defined time limit to maintain focus and efficiency.

 Collaboration: All team members, including the Product Owner and Scrum Master, actively
participate in these ceremonies.

 Continuous Improvement: The feedback loop provided by the ceremonies allows teams to
identify areas for improvement and adapt their approach.

5) Write program for Reverse string


Answer:- // Java Program to Reverse a String

// Using for loop

import java.io.*;

import java.util.Scanner;

class GFG {

public static void main(String[] args) {

String s = "Geeks";

String r = "";

char ch;

for (int i = 0; i < s.length(); i++) {

// extracts each character

ch = s.charAt(i);

// adds each character in

// front of the existing string

r = ch + r;

System.out.println(r);

5) How to automate drop down?

Dropdowns in Selenium can be handled using different approaches depending on whether they are
standard dropdowns (using <select> tag) or custom dropdowns (without <select> tag).
6) How do you validate templates in AEM ?

Answer - In Adobe Experience Manager (AEM), templates define the structure of pages. To ensure
templates are correctly implemented, you can use different validation techniques:

Validate Templates Using AEM Console

Validate Template Policy and Allowed Components

Validate Templates Using CRXDE (JCR Repository)

7) What is Hybris back office

SAP Commerce (Hybris) Backoffice is a web-based administration tool that allows business users to
manage and configure different aspects of an SAP Commerce (Hybris) system. It is built on the
Backoffice Framework, which provides a flexible and customizable UI for managing e-commerce
operations.

8) How do you perform compatibility testing?

Answer:- Compatibility Testing is a type of software testing that ensures an application works
correctly across different environments, including browsers, operating systems, devices, and
networks.

9) How do you connect to devices on browser stack or perfecto using appium ?

Answer:- To connect to devices on BrowserStack or Perfecto using Appium, you need to configure
your Appium test script with specific desired capabilities that specify the cloud provider
(BrowserStack or Perfecto), your credentials, the desired device, and the application you want to
test, essentially telling Appium where to run your tests on their cloud infrastructure; this is done by
setting specific capability values in your test code when creating a new Appium session.

Key steps involved:

 Set up Appium:

Install Appium on your system and configure it to work with your chosen programming language.

 Get credentials:

Obtain your unique username and access key from your BrowserStack or Perfecto account.

 Desired Capabilities:
 Platform Name: Specify the platform (Android or iOS).

 Device Name: Select the specific device you want to test on from the cloud
provider's list.

 App: Provide the path to your application (either locally uploaded or a URL on the
cloud platform).

 BrowserStack/Perfecto Specific Capabilities: Add additional capabilities required by


the platform like "browserstack.user" for your BrowserStack username, or
"perfecto.securityToken" for your Perfecto security token.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy