cancel
Showing results for 
Search instead for 
Did you mean: 

XML file under the Project log Folder

Super Contributor

Re: XML file under the Project log Folder

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

 

Thanks

Nishchal

Community Hero

Re: XML file under the Project log Folder

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Highlighted
Super Contributor

Re: XML file under the Project log Folder

@tristaanogre 

 

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 ?

 

Thanks

Nishchal

Community Hero

Re: XML file under the Project log Folder

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: XML file under the Project log Folder

@tristaanogre 

 

Ok,

 

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 

 

Thanks

Nishchal

 

 

Community Hero

Re: XML file under the Project log Folder

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.  


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
New Here?
Join us and watch the welcome video:
Top Kudoed Authors