Validate version of a webform
Unfortunately I haven't got the time to read up and build experience before bothering all of you
Anyways here goes:
I built a small app (in .NET) that interacts with a website. The application enters some values in a couple of fields and executes a click event. The company that owns the website recently redesigned their form which killed my application. I think I've figured out their new approach and that I would be able to make the necessary adjustments to have my application up and running again. But now Iím a bit worried about future changes. I'm ok with the application terminating and raising an alarm when web form is changed but what gives me nightmares is the idea that some field all of a sudden changes it's logic (e.g. the start date date picker ends up below the label "End date:")
I get that this approach is far from ideal (we ought to have an agreed format on information exchange were communication is required before making adjustments). But my company has decided to conform to this web form approach and there is no interest from the other company to accept any other approach.
So my question is there a good and conventional way validate my approach when running this application, to make sure this website still utilizes the same functionality in the same way. The only think that came to mind was to check if the source code still contains some chunks of text. It doesn't feel like a good approach and i'm guessing/hoping others have a better solution which includes some sort of version tracking
When i studied their source code i noticed that they passed the number 12 in the month argument to the date constructor ("new Date(2013, 12, 20)"). As I understand that the month array is 0 based I get the feeling they might have made a mistake (importing a month value from a place where it starts on 1). In my case (IE) it seems like it accepts any integer and just adds on the number of years, is that the expected behavior of all major browsers?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)