I come from a unit test world but my current project requires me to write a lot of webdriver code. I have to send some applications to some website not having any api. I am using webdriver to go to their website and complete the application. I am facing unique challenge as it takes a lot of time for each run and when I code the the process for nth page of application I wouldn't really be able to test my code very fast. I tend to run the code to test which takes considerable amount of time reducing my efficiency. Am I missing any thing. What is the best practice to develop in such environments. I am using python wto write webdriver.
This is how my code is structured currently.
class ApplyPage1():
...
.
.
class ApplyPageN():
I cannot reach page N directly as the website I am submitting application to doesn't allow me to go directly to that page.