Add office photos
Engaged Employer

Crestech Software

3.7
based on 76 Reviews
Filter interviews by

Petrofac Interview Questions and Answers

Updated 24 May 2024

Q1. relative xpath vs absolute xpath

Ans.

Relative xpath is based on the current element's position, while absolute xpath starts from the root element.

  • Relative xpath is shorter and more flexible, as it can adapt to changes in the structure of the page.

  • Absolute xpath is longer and more specific, making it more prone to breaking if the page structure changes.

  • Relative xpath is preferred for automation testing as it is more robust and easier to maintain.

  • Absolute xpath is useful when the element's position is fixed and un...read more

Add your answer

Q2. manual vs automation?

Ans.

Automation testing is more efficient for repetitive tasks, while manual testing allows for more exploratory and creative testing.

  • Automation testing is ideal for repetitive tasks that require frequent execution.

  • Manual testing is better suited for exploratory testing and scenarios that require human intuition.

  • Automation can provide faster feedback and increased test coverage.

  • Manual testing allows for more creativity and adaptability in testing approaches.

  • A combination of both m...read more

Add your answer

Q3. waterfall vs agile models

Ans.

Waterfall model is a linear sequential approach, while Agile model is iterative and incremental.

  • Waterfall model follows a sequential process, where each phase must be completed before moving on to the next.

  • Agile model breaks the project into small iterations, allowing for flexibility and continuous feedback.

  • Waterfall model is best suited for projects with well-defined requirements, while Agile is ideal for projects with evolving requirements.

  • Waterfall model has less flexibili...read more

Add your answer

Q4. Locators in selenium

Ans.

Locators in Selenium are used to identify web elements on a webpage for automation testing purposes.

  • Locators can be used to find elements by ID, class name, name, tag name, link text, partial link text, CSS selector, or XPath.

  • Using unique locators is important to ensure stable and reliable test automation scripts.

  • Examples of locators include driver.findElement(By.id("elementID")), driver.findElement(By.className("elementClass")), and driver.findElement(By.xpath("//xpathExpres...read more

Add your answer
Discover Petrofac interview dos and don'ts from real experiences

Q5. Test Cases of Lift

Ans.

Test cases for testing the functionality of a lift

  • Test the functionality of each button (e.g. open, close, floor selection)

  • Test the emergency stop button

  • Test the response time of the lift to calls

  • Test the capacity of the lift by overloading it

  • Test the door sensors for safety measures

Add your answer

Q6. What is Restosepctive

Ans.

Retrospective is a meeting held at the end of a project or iteration to review what went well, what didn't, and how to improve in the future.

  • Retrospective is a key part of Agile methodologies like Scrum and Kanban.

  • It involves the team reflecting on their work, discussing what worked well and what could be improved.

  • The goal is to identify areas for improvement and make actionable plans for the next iteration.

  • Common retrospective formats include Start-Stop-Continue, Liked-Learn...read more

Add your answer

Q7. What is the INVEST

Ans.

INVEST is a set of criteria used to evaluate user stories in Agile development.

  • INVEST stands for Independent, Negotiable, Valuable, Estimable, Small, and Testable.

  • These criteria help ensure that user stories are well-defined and ready for implementation.

  • For example, a user story that is too large to be completed in a single sprint would not meet the 'Small' criteria of INVEST.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Petrofac

based on 4 interviews
Interview experience
3.0
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.8
 • 333 Interview Questions
3.7
 • 276 Interview Questions
4.1
 • 209 Interview Questions
3.7
 • 180 Interview Questions
4.1
 • 148 Interview Questions
3.8
 • 135 Interview Questions
View all
Top Crestech Software Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter