Xpaths to identify elements on the UI. Below are some different ways to create Xpaths: //tag[@attribute='Value'] where tag is html tag and attribute like (class, id, etc) eg. //div[@class='classname'] or //div[@id='idvalue'] //tag[contains(@attribute, attributepartialvalue)] where could not find unique values or attribute value is dynamic, could use partial value of attribute by using contains in the xpath. eg. //div[contains(@id, 'partialvalue')] //div[starts-with(@id,'partialvalue_')] Attribute which has fixed value at start can use xpath as //div[contains(text(), 'text value')] or //div[text()='value'] where text can be used to find the element