Following the tutorial i was able to create a lead.
But in the process of validation of finding whether lead is created xpath is reading the correct lead name but the number of rows is not being read
and its not looping through the forloop in getRowNumByName() method.
row = self.driver.find_elements_by_xpath("//*[@id='row1']/td/span/a")
Here row is not capturing the number of rows in the table and returning empty list.
Attaching the code. Please suggest