0% found this document useful (0 votes)
7 views

2n round interview question

The document outlines various software testing concepts and practices, including agile testing processes, automation techniques in Selenium for frames and dropdowns, and validation methods in Adobe Experience Manager (AEM). It also describes the Hybrid backoffice in SAP commerce, compatibility testing procedures, agile ceremonies, and integration with testing platforms like BrowserStack and Perfecto using Appium. Each section provides essential steps and key points for effective implementation and understanding of these topics.

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 DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

2n round interview question

The document outlines various software testing concepts and practices, including agile testing processes, automation techniques in Selenium for frames and dropdowns, and validation methods in Adobe Experience Manager (AEM). It also describes the Hybrid backoffice in SAP commerce, compatibility testing procedures, agile ceremonies, and integration with testing platforms like BrowserStack and Perfecto using Appium. Each section provides essential steps and key points for effective implementation and understanding of these topics.

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 DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1) Explain agile testing process and story points

 Agile testing is a software testing approach that aligns with the Agile methodology where testing happens
through out the development process integrating with developer to identify and fix defects early and often
rather that waiting until the end of the development
 Story points are unit of measurement used in agile to estimate the relative effort required to complete a
user story which helps team to priorities task based on complexity

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


For Frame

 We need to locate the frame Element


WebElement frameElemrnt = driver.findElement(By.id(“myFrame”));
 Wen need to switch to that frame
driver.switchTo().frame(frameElemrnt);
 Now we can locate and interact elements inside of the frame.
 To go back we can use
driver.swicthTo().defaultContent();

For Dropdown

 We need to locate the dropdownElement


WebElement dropdownElement = driver.findElement(By.id(“myDropdown”));
 Then we need to create a select Object using dropdownElement
Select select = new Select(dropdownElement );
 Then we need to use the select obj’s method to choose an option
o Select.selectByVisibleText(“option text”)
o Select.selectByValue(“option value”)
o Select.selectByIndex(index)

3) How do validate templates in AEM ?


 In Adobe Experience manager templates define structure of pages. To ensure templates are correctly
implemented we use different validation technique. Such as =>
o Validate template using AEM Console
o Validate template using CRXDE
o Validate template Policy and Allowed Components

4) What is Hybrid backoffice ?

 SAP commerce (Hybrid) backoffice is a web based administration tool that allows business user to manage
& configure different aspects of an SAP commerce (Hybrid) System.
 It is built on the backoffice framework which provide flexible and customizable UI for managing
e-commerce operations.
5) How do you perform compatibility testing ?
Compatibility testing is a type of software testing that ensures an application works correctly across diffrene
environment including browsers, devices, internet, OS.
 1st we need to identify the target parameters.
 Then we need to create compatibility matrix
 Set up a test environment
 Execute test cases
 Lastly verify the results

6) Explain the agile ceremonies?


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

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

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


 To connect to Browserstack or perfecto device using Appium we need to configure our Appuim test scripts
with the necessary capabilities including the cloud provided URL, credential and device specification.
 Setting up your Appium environment
o Ensure appium is installed and configured on our system
o Using Appium inspector / Appium Desktop for a GUI based approach to configuring your tests and
inspecting elements.

 BrowserStack integration
o Create an account on BrowserStack and obtain the username and aceess key form the account
settings
o Uploading the application .apk / .ipa to broswerStack and not the resulting app URL.
o Configure capabilities
 platformName: set to Android / ios
 deviceName: Specify the desired device
 autimationName : set to UiAutomator2 for android / XCUITest for ios
 app : app_url obtained from the BroswerStack
 broswerstack_username and broswerstack_acceesskey
 osversion
 browserstack_app_url : same app_url used for app

DesiredCapabilities capabilities = new DesiredCapabilities();


capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "Samsung Galaxy S20");
capabilities.setCapability("automationName", "UiAutomator2");
capabilities.setCapability("app", "YOUR_APP_URL_FROM_BROWSERSTACK"); // Replace with
your app URL
capabilities.setCapability("browserstack_username", "YOUR_USERNAME"); // Replace with your
username
capabilities.setCapability("browserstack_accessKey", "YOUR_ACCESS_KEY"); // Replace with
your access key
o we will use the configured capabilities to start an appium seesion with the browserstack server

 Perfecto integration:
o Sign up on perfecto and obtain your private cloud URL and security token.
o Upload our application on perfecto
o Configure capabilities:
 Platformname : set to android/ios
 Devicename : specify the desired device
 Automationanem : uiAutomator2 for android or XCUITest for ios
 Apppackage : for andoird specify the app package
 App activity : for android specify the application activity
 Security token : perfecto security token
 CloudURL: perfecto private cloud url

DesiredCapabilities capabilities = new DesiredCapabilities();


capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "Samsung Galaxy S20");
capabilities.setCapability("automationName", "UiAutomator2");
capabilities.setCapability("appPackage", "YOUR_APP_PACKAGE_NAME"); // Replace with your
app package name
capabilities.setCapability("appActivity", "YOUR_APP_ACTIVITY"); // Replace with your app
activity
capabilities.setCapability("securityToken", "YOUR_SECURITY_TOKEN"); // Replace with your
security token
capabilities.setCapability("cloudUrl", "YOUR_PERFECTO_CLOUD_URL"); // Replace with your
Perfecto cloud URL
o We will use the configured capabilities to start an appium session with perfecto serve

You might also like