REAL-TIME SCENARIO: SET 1 FAQ's

Hi, I am [Mention your name] working as a [Mention your Designation] at [Mention your Company] with [Mention your total years of experience] years of experience in software testing which includes web application, mobile application and API testing.

I had worked in different domains such as [Mention your domains]. Currently, I am working in [Mention your current project] project.

I have worked on both manual and automation testing. As a manual tester, I am good in creating test cases. As an automation tester, I have good experience in Core Java.

I have worked on different frameworks such as BDD with JUnit with integration of Page Object Model and Data-Driven Framework.

I have good experience in handling tools like Selenium, Maven, GIT, JIRA, Postman, Rest Assured, Appium and Jenkins.

In JIRA, I am good in raising defects and tracking them to closure. Currently, I am working in Agile methodology within the Scrum framework.

In my current role, I work on preparing test scenarios, test cases, and test data and I automate them using Java, Selenium WebDriver, and Cucumber with a BDD framework.

I have also developed reusable components in the framework and performed data-driven, cross-browser, and parallel test execution.

Along with automation, I handle manual testing where required, raise and track defects in JIRA, and participate in bug triage meetings.

I have hands-on experience with tools like Maven, Git, and Postman for API testing, and I regularly prepare test reports and status updates.

I also contribute to regression testing, requirement analysis, and discussions to ensure business needs are well covered in testing.

I have been involved in automating native, mobile web, and hybrid applications on both Android and iOS.

I start my day by checking emails to see the tasks assigned to me. Then, I attend the daily stand-up meeting with my team to discuss what I have completed, what I am going to work on, and any blockers.

After that, I take a new pull from the master branch to check for updated code, and I begin scripting and execution. For some test cases, I also perform manual testing.

If any test case fails, I raise a defect and track it until it is fixed. Once my work is done for the day, I push the code to my branch.

After completing a user story, I raise a pull request to merge my code into the master branch. At the end of the day, I send a task status email to my manager.

  • One of the common challenges I face in testing is changing requirements. Many times requirements get updated during the project, and this means we need to rework our test cases and automation scripts, which can be time-consuming.
  • Another challenge is environment issues — sometimes the test environment is not stable, which impacts our execution and test results.
  • And regression testing effort is another key challenge — with frequent builds, running the entire regression suite takes a lot of time, so we have to prioritize and optimize the test cases.
  • One of the challenges I face in automation testing is flaky scripts. Sometimes, the automation scripts fail not because of an actual bug in the application, but due to small UI changes or synchronization issues. This takes extra effort to debug and stabilize the scripts.
  • Another challenge is tight deadlines. Sometimes development takes more time, and the testing time becomes very short. Because of this, we can’t test everything in detail, so we focus on the most important test cases first and make sure the critical areas are covered.
  • The most important challenge that I faced is handling dynamic web elements which means element IDs, names, or other attributes change every time the page reloads or in different sessions, to handle this I have used xpath access in my framework like parent, child, sibling, ancestor, like that.
  • Then Cross browser testing, where I need to execute my scripts in multiple browsers, in this case my script may fail in other browsers apart from Chrome because it may give elements differently, since I will be writing my script based on Chrome Browser only, to handle this I will be start my scripting which supports all browsers together on the starting itself so I don’t want to rework each time.
  • Then handling multi-factor authentication or Captcha while executing my scripts, each time we need to handle using manual intervention, to handle this I will be mocking the API calls and handle that during execution.
  • Then managing test data for automation was difficult in the initial time of framework setup as I used to pass bulk of test data’s using Example keyword in feature file, to handle this I integrated Data driven framework by maintaining the test data in an excel file.
  • Then with constant changes to the application like some features added or removed, we will face stale Element Reference exception which occurs when the element is no longer present in the DOM, to handle this I used Page Object Model design pattern in my framework and I will be updating directly in the POJO classes whenever any locators got updated in DOM.