1

I have many Google Analytics tracking codes, for links, buttons etc, which are based mostly on elements classes and IDs. If our coder do new commits, these tracking codes often go corrupt - are just away (and don't fire at all) or changed (like a div name is assigned to another element and tracking is fired wrongly) or the like.

I want to run before each commit an automated test and be notified if things I defined aren't in their place.

I use for low scale quasi manual tests Charly Proxy and/or Fiddler as Hit Validators - but I need to move to automation of such tests, and automation of error reportings.

Any recommendation is higly welcome!

2 Answers 2

1

You can explore Jenkins a Continuous integration automation tool, that runs an automated tests when a commit or build is deployed on the environment or you can schedule a Test run on daily or weekly basis.

Also when you connect your automation tool with any reporters tools like Extent Reports, Allure Report for tracking the results, I would suggest if you are using a build tool as MAVEN then it will be very easy for integrating the project with the reporters and also with continuous integration tool like Jenkins.

Suppose if you are a beginner in automation then you may use Katalon studio that supports Web, Mobile and API testing in the same tool and you can generate report in the same tool. You can also integrate Katalon studio with jenkins using the following link. Another tool is Endtest which is a codeless automation tool where you can create automated tests to run the code and also you can export the results also.

2

"If our coder do new commits, these tracking codes often go corrupt - are just away (and don't fire at all) or changed (like a div name is assigned to another element and tracking is fired wrongly)"

I would talk to your coders. Why do they think this happens? How do they maintain the tracking codes? How do they think they could improve the process? How do they deal with moving a tracking code around a page? Do they know that these issues are happening?

Other companies are able to deal with tracking codes for Google without these issues so there is probably some education and training needed.

2
  • if it would be possible to avoid errors just by talking to coders, i surely would do it at first
    – Evgeniy
    Commented Jul 2, 2018 at 11:39
  • That sounds a bit sarcastic. Remember, we're trying to help you for free. Your question did not indicate any discussions with developers, correct? If you want help, help us first with some humble answers. Commented Jul 2, 2018 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.