Automation Daily - Post Your Questions

I’m going to record an answer to your questions for the rest of isolation (UK), min of one per day.

If you have a question for me on the topic of automation in testing, post it here, and I’ll work my way through them. Grouping them where I can, so that we get through more questions.§§

When building Automation framework from scratch what needs to be considered?

2 Likes

HI Richard,

How do you calculate ROI of your automation? Is there any metrics

Adding questions from Twitter


1 Like

I started with Ben’s question.
Here is the video.

1 Like

What type of tests should be covered in the automation suite?

Hey Sunny.
Thanks for your question, here is my answer :slight_smile:

1 Like

Hey Sravika, I’ve answered your question here :slight_smile:

Is it good approach in API testing to deserialize the API response into a POJO and comparing the expected object with resulted object or i can use third party tools like Approval Tests to verify entire response body

2 Likes

What is the context where you need to check the entire response?

Usually, consumers use only a subset* of the responses of an API. Which means that the integration contract between one consumer and one producer relies only on a subset of the response.

* The case where this subset is equal to the set itself is only by coincidence. Future changes in the response to fulfill the need of other consumers do not alter the contract between the first consumer and the producer.

2 Likes

New questions from Linkedin and Twitter

Steve Walters asks “What are your thoughts on how AI / ML could be used for automation in testing? Thanks!”

Beth Marshall asks “Refactoring automation code: why, when and how?”

Beth Marshall asks “Is it better to run API testing through a stand-alone tool e.g. Postman, or add these tests through an existing UI framework?”

3 Likes

well thats my second question and feel free to prioritise later to give chances to others.

Do you agree that automation should be 100%? if not then how would you convince manager/client or other stake holders?

Thanks
Sunny

Hello Megha,
I’ve answered your question :smile:

different types of testing can be automation
1.smoke testing
2.unit testing
3.integration testing
4.regression testing
5.data driven testing

Hi Richard,

My question is:

Why isn’t there more Frontend automation being written in JavaScript rather than other languages like Java and C#?

I would of thought it made sense to use Javascript / Node as that is closer to what the FE devs are familiar with and hopefully allow devs and testers to work closer together, instead of being siloed.

Answer to Beth’s question: “Refactoring automation code: why, when and how?”

Would you have any thoughts on this question of mine?

Hello Richard,
This is Petros from MoT Athens.
So my question is this:
We have proposed to a client a specific automation tool (Selenium with Java) but he/she keep asking for a different automation tool that we don’t have so much experience (and in different language too). Client has an external consultant and pushes us for different things that we recommend. Unfortunately my company said ok to the client “because is the client”. So what do you think about that? Should we always agree with the client? My team is frustrated about this

1 Like

Hi,

I have automation tests on Jenkis, which is installed ond Windows Server machine, so there’s some issue with the tests for Internet Exproler. When one test fail, some IE driver or IE is “stucked” in Task Manager and and all tests after that one are failing, driver want start.
Do you have any clue how to resolve to issue or are you maybe familiar with this?

Hello @iamsethi, here is my answer :slight_smile: