yes we will use OnLogError Event but how TestCOmplete can access our Jira System ? With TestComplete script we can only access BugZilla and visual studio team system
API calls can be made in code using https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqhttprequest/index.html. So, while there is not an object SPECIFICALLY for Jira, you can write code to make the calls.
I have tried the code as mentioned in the above link and it ges the status 200. I have never used this utility before .
Can we use the REST API code for Jira here ?
You should be able to. That's my point... that you can call whatever API requests you want to within the OnLogError event handler. I'm leaving it up to you to write the code. But yes, you shoiuld be able to write the API code here... Different objects, possibly, but the code should be able to be used.
Here is another thing
Our TestComplete script fails for many reasons for e.g.
Object properties change due to the change in application
application is down
Script itself has some errors
Is there a way we can identify the type of errors automatically so that we can assign to developers or QA person ?
Let me know if you need more details
LogParams object in the OnLogError event handler contains the message text for the error being logged. You can parse out the text to look for certain patterns, keywords, etc.