Infosys interview question

How to take screenshot Program for string reversal Explain project framework what are different locators we have