In my project we have a web based tool where it collects all the exceptions that occur in log. The list of exceptions will be displayed in table and a icon will be displayed in a column to get the stack trace. Some one needs to check all those exceptions and we need to assign to different teams based on the keywords.
Eg : If the stacktrace contains "DB Connection error" it has to be assigned to DB team, if it contains code error like "classcast exception" in particular file then it has to be assigned to individual owning the module. Currently some one has to open each n every row in the table displayed and open the stack trace and do Ctrl + F and if any of those keywords are found assign it to respective team.
We don’t have any access to the tool’s database and it’s web based. I need some good ideas to automate it. Please suggest me with which technology and idea to automate it.
Sounds like
selenium+programming language of your choiceis a good fit (even without aselenium).You need to:
download source code of the page containing exceptions table.
Use any of these:
wget,curl,selenium,urllib for python, etc.put it into variable and extract exceptions list in convenient to you format.
Use any
xpath-powered tool, likeselenium,lxml for python, etc.do your thing with the extracted exceptions list: search for keywords, assign tickets, etc.
Use
programming language of your choice.