<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nadia García on Medium]]></title>
        <description><![CDATA[Stories by Nadia García on Medium]]></description>
        <link>https://medium.com/@nadiagarcia?source=rss-a22792a589f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*p5A_7IzSep0oKfr0dM6NcQ.jpeg</url>
            <title>Stories by Nadia García on Medium</title>
            <link>https://medium.com/@nadiagarcia?source=rss-a22792a589f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 08:48:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nadiagarcia/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The difficulties of remote work]]></title>
            <link>https://medium.com/sawyer-effect/the-difficulties-of-remote-work-2ecc7c4ba4e8?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ecc7c4ba4e8</guid>
            <category><![CDATA[sawyereffect]]></category>
            <category><![CDATA[remote-team]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Fri, 11 Jan 2019 18:48:48 GMT</pubDate>
            <atom:updated>2019-01-11T21:55:53.674Z</atom:updated>
            <content:encoded><![CDATA[<p>Somewhere along the way in 2018, the company decided to go 100% remote. That means that I started to work from home every single day of the week.</p><p>It has been quite a journey. All the perks people talks about being remote were there. Also all the difficulties rarely someone talk about.</p><p>This is the top 3 of difficulties I have encountered. Things people rarely talk about when going remote. Also, how I faced this difficulties to keep them under control.</p><h4>1. Isolation</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gqmhWzeSqwjnxNdR" /><figcaption>Photo by <a href="https://unsplash.com/@grury?utm_source=medium&amp;utm_medium=referral">Carlos &quot;Grury&quot; Santos</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The first thing I started noticing when going remote was that I did not see other face but my husband’s in a week. Sure, I was talking to my team daily in our stand up calls and slacking some of them during the day, but still it is not the same. No body language to read, I guess.</p><p>For a few weeks, almost a month, I was ok with it. Until I wasn’t. I noticed that I didn’t want to talk to my husband anymore. Not healthy for a marriage.</p><p>Then the company decided that we needed to see each other twice a month. It is good to see someone else’s face, but still not good enough. We were all there, but we are not really there because it is unusual that people in the same city work in the same project. So we were physically there, but really everyone in their own business. We tend not to interrupt each other, so we don’t really talk. Not really the fix I needed.</p><h4>2. Working overtime</h4><p>In my head, working at home would give me extra time to do stuff that I wanted to do, like practicing lettering, cooking, running. Name it.</p><p>What really happened, I started to work more. As soon as I opened my eye in the morning I was reading and answering some emails. I was not even out of bed yet but I was replying emails! But it did not stopped there. I would make breakfast, eat breakfast, make lunch, eat lunch (if I succeeded remembering to have lunch) with the computer on the counter.</p><p>Yes, that is work. Invisible work. Half work. Not nicely done work. I did not notice I was doing that until my husband complained that I was not saying goodbye when he went off to work, because I was already working.</p><h4>3. Not moving at all</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hhiDi51rVx4M0Hld" /><figcaption>Photo by <a href="https://unsplash.com/@derekstory?utm_source=medium&amp;utm_medium=referral">Derek Story</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Before going remote, I had a routine where I would go to the office, by car because the city I live in has no reliable public transportation, then on the way home I would go the gym that was on the way and do some time in the treadmill and hit my steps goal. Then we went remote and the gym was no longer in the way so I made an effort to keep going. Eventually it stopped being convenient.</p><p>I did not realize how much time I was spending in front of the desk without moving, until my fitness watch alerted me with a message: “Are you ok? We noticed you are not moving”.</p><p>Looking at the numbers the fitness app was giving me I had to realize that it is not the same to walk inside a house than going to an office and conveniently go to the gym. It is hard to walk 10,000 steps when the area of movement is significantly reduced.</p><h3>What have I done to overcome the difficulties</h3><p>I had two things to do to face the difficulties I was encountering. The first fix was really simple: look for a closer gym and modify my home routine to mimic my office routine. That helped me to be sure I would be out of home by 6 and hit my step goal.</p><p>The second thing was mostly an agreement with myself that I will not check my email before 9, the work computer stays in the room designated as office and is not allowed somewhere else in the house during work hours.</p><p>For now, it seems like I have this things difficulties under control. To be determined if going to a gym almost daily is sustainable in long term.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ecc7c4ba4e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/the-difficulties-of-remote-work-2ecc7c4ba4e8">The difficulties of remote work</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[E-commerce is for everyone]]></title>
            <link>https://medium.com/sawyer-effect/e-commerce-is-for-everyone-b3ffe9272f23?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3ffe9272f23</guid>
            <category><![CDATA[sawyereffect]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[ecommerce]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Mon, 07 May 2018 19:24:09 GMT</pubDate>
            <atom:updated>2018-05-07T19:24:09.767Z</atom:updated>
            <content:encoded><![CDATA[<p>During my career on e-commerce I have collaborated with clients of different sizes, from the big retailer that earns millions of dollars per month, to the well-known brand with a small shop in the internet that sells a couple of thousands dollars a month. My last collaboration was a small store. Really small store. This got me wondering lately if it is possible to set up a store in the internet, as a regular person selling goods or services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V06AYs2daJHBVK_YiEH1kQ.jpeg" /><figcaption>Clothing store that could be selling over the internet, as far as we know.</figcaption></figure><p>I am a believer that this is true: e-commerce is for everyone. There are a lot of platforms that any person who wants to sale can go to and start selling on the same day.* Not technical skills required, just the learning curve of the platform. But also, there are some alternatives that makes e-commerce accesible to everybody that does not depend on a third party platform.</p><p>From my latest collaboration on a small store, we helped setting up the store on a platform called <a href="https://magento.com/">Magento</a>. This platform has a Community Edition. That means that is open and accessible for everyone who wants to use it. Setting up a store in Magento is not as easy as might be setting up a store in Etsy, but is doable. I think that tech skills are not required, but it helps a lot to understand what is needed and how to do it.</p><p>So, imagine you have your .com or .us or .net store instead of your <a href="http://www.etsy.com/">www.etsy.com/</a> store. That opens a world of possibilities, from how your store looks like to what you are able to sell in your store or the number of products you can list.</p><p>Over the next entries, me and some of my peers, will tell you what we did to set up the store in Magento, how we have applied in a small store what we already know from big stores and what are the nice to have things that would.</p><p>*This is what Etsy says on their <a href="https://www.etsy.com/sell">sell</a> page.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3ffe9272f23" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/e-commerce-is-for-everyone-b3ffe9272f23">E-commerce is for everyone</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let me open a ticket]]></title>
            <link>https://medium.com/sawyer-effect/let-me-open-a-ticket-5f4321d64504?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f4321d64504</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[sawyereffect]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Tue, 20 Feb 2018 21:34:54 GMT</pubDate>
            <atom:updated>2018-02-20T21:34:54.543Z</atom:updated>
            <content:encoded><![CDATA[<p>For the last couple of months I started collaborating in a project for a Mexican designer retail e-commerce page for United States market. It is a quite unique team because the people with the most experience are only there for questions, while the rest of the team is young.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BfW8x-rDONR/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.cdninstagram.com%252Fvp%252Facb07b6c067e8aadb374658b74f1cf01%252F5B1D7DA9%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F27581850_598517110491504_5669543258070450176_n.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/27c76978aef4298abdc49c23cc1fe249/href">https://medium.com/media/27c76978aef4298abdc49c23cc1fe249/href</a></iframe><p>About a week ago we had a discussion over our Slack channel, that lasted about an hour, wether or not I should open a ticket so someone could take a look at the <em>possibly</em> error I was seeing.</p><p>These are the highlights I want to share with you about our conversation on opening tickets.</p><h4>1. Define a process</h4><p>The first fuel of the discussion is that we were not sure if we wanted a new ticket or not. And it was pretty confusing. To all of us. See, the thing is that we did not have a documented or defined process that would tell the team what to do.</p><p>Every project is different and somehow unique. However, processes are pretty much the same with some tweaks here and there to adjust to the uniqueness of the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0wCtMS0DvA-vmLeujOxuAA.png" /><figcaption>Tweaking a process image to illustrate my point.</figcaption></figure><p>Make sure that you and all the team is familiar with the process being followed. This includes, but not limited to: which types of tickets you have and how to use each, when to open a new ticket, when to reject a new ticket, etc.</p><h4>2. Make sure you add all the information</h4><p>Other of the main points in the discussion was “How do I know if this is actually a bug?” As, how do we shield from <em>this not a bug, it is a feature</em>. It turned out that there were no much Acceptance Criteria documented for us to decide for ourselves.</p><p>It was then evident that the information a story, a bug, a task, or any form of ticket, shows how a team is really independent from its own team members and stakeholders. Think about it. The less information someone shares in a ticket it will translate into less context, more questions and more blockers the person receiving the ticket will have. The person receiving the ticket will need to reach the person who created the ticket to be able to start working on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T7H7TrRifVQHF0yVoyUK7w.jpeg" /><figcaption>Shared information should help to answer other people questions.</figcaption></figure><p>Personally, I think this is the most difficult mindset or habit to change. Also, the time spend trying to open a ticket should be considered, right? Well, I have been told that there is no such <em>spend</em> time opening a ticket, but <em>invested</em> time because this will be reflected in how much independence there is in the team.</p><p>Based in our conversation I created a list of things tickets should have:</p><ol><li><strong>State the problem you are seeing. </strong>Being descriptive always help and gives clues to the person that will work on the ticket on where to start looking.</li><li><strong>Avoid creating hypothesis of what the cause of the problem is. </strong>When you say “the server is down” it is possible that the person looking into the problem will go in a different path far away from the real problem.</li><li><strong>Describe the steps to reproduce.</strong> Share the recipe that will lead to the described problem guarantees that anyone is able to see it. Be mindful that you might be obviating a set of steps with a generic step.</li><li><strong>Be as detailed as possible in Acceptance Criteria.</strong> This will help the team to define if what it is being seen is a bug or not.</li><li><strong>Add a reference to the desired functionality.</strong> Link the failure to something that can be used as a reference when checking again. Usually a story with acceptance criteria or a test plan will contain this information. Adding this reference is important. This will cause that all team share a common understanding of the functionality the system should have.</li><li><strong>Add environmental information. </strong>Is it happening in all instances? Are you seeing it in a specific browser? Which version do you have?</li></ol><h4>Final thoughts</h4><p>After what seemed like a really long time in the dark not knowing what to do next, the team ended up making some agreements. First we decided that we needed a new bug, because the story was already <em>delivered</em> in the past sprint. Also, we noticed that there is a lot of detail in some of our stories, so we are trying to get as much detail in from now on.</p><p>At the end of the discussion I opened a new ticket, added a reference to a Epic Story. Currently the bug is being chased. Any time now, fixed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f4321d64504" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/let-me-open-a-ticket-5f4321d64504">Let me open a ticket</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To Robot or not To Robot, that was the question]]></title>
            <link>https://medium.com/sawyer-effect/to-robot-or-not-to-robot-that-was-the-question-bc77886c510?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc77886c510</guid>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[cucumber]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 01:54:26 GMT</pubDate>
            <atom:updated>2018-01-24T01:54:26.192Z</atom:updated>
            <content:encoded><![CDATA[<p>Months ago I switched projects and landed in a different ecosystem that challenged my comfort zone.</p><p>If you have been following previous stories, I used to work with Cucumber + Java to build a big and complicated framework that would help us run more than 300 regression tests in 3 different sites, in 2 different viewport sizes, which was part of the Continuous Delivery process. Later I came to a project where we barely had 5 test cases that were part of the Continuous Integration pipe. In Robot Framework.</p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/Bbdey2sHayq/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent-iad3-1.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F23594914_870040863121097_323808201604595712_n.jpg%26key%3Da19fcc184b9711e1b4764040d3dc5c07" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/c471215bbe6cbcb61c2c7e643ac9ebcf/href">https://medium.com/media/c471215bbe6cbcb61c2c7e643ac9ebcf/href</a></iframe><p>My initial personal challenge was to bring Cucumber + Java framework to the new project. Then decided not to do it, for different reasons and learning lessons I want to share here with you.</p><h4>1. Resources are important</h4><p>My first instinct was to get rid of the Robot Framework that was being used and bring our own Cucumber + Java framework to the new client and demonstrate what it could do if we were able to implement it. Soon I realized that I did not had access to the same amount of resources.</p><p>See, with the past client, I had access to more than 1 Windows VM that could host 10 Chrome nodes, which meant that we could run 10 simultaneous tests. With this new client I had access to just 1 node, which could host only 5 nodes.</p><p>With the past client, there was a team of 4 automation engineers. Together, we were able to add new test cases to the regression, analyze the automation reports, and maintain the old test cases. With the new client, there were only 1 automation engineer and 1 functional test engineer. That meant that we would not be able to fully do all 3 activities without risking quality.</p><h4>2. There is no one-fits-all solution</h4><p>There were a lot of differences between clients. One had a lot of money to spent in the e-commerce solution, the other was skeptical on wether they would be able to do money with e-commerce. One had a full in-house IT department working in the solution. One had a small team of subcontractors working on it.</p><p>But most important, from automation point of view, was the Continuous Delivery process in place and working. The new client is still working with major monthly releases. Which means that each release would have it is own test strategy and plan, since the majority of changes will be concentrated in an specific area of the system.</p><p>At the end I realized that the big and complicated yet powerful framework would not help this new client. While we want help both clients to be successful, one client next step was to implement CD practices, while the other client next step was to redesign the current solution. Different problems, different solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*H-jooBJGEoaF1_De4vyGMA.jpeg" /><figcaption>Contrary on what all-purpose gasoline can do, I learned that there is no one-fits-all solution</figcaption></figure><h4>3. The tool is not the limit</h4><p>Then the goal changed. From “bring a new framework”, to “grow their framework”. As a team, we agreed on starting adding automated test cases to ease the manual functional regression testing done in other areas of the system.</p><p>During this phase, there were multiple times when I hated Robot Framework because I was not allowed to <em>easily </em>do what I wanted. It took me a while to realize that I was trying to follow the same paradigms in Java than Python. I just needed to tweak how I was coding and the next test cases flowed.</p><p>At the end, we were able to deliver 2 important releases to the client, both with significant amount of redesign, we were able to increase the number of test cases in the regression suite and share the results of the execution. The client had a record number of orders this past holidays.</p><p>New problems, new solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc77886c510" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/to-robot-or-not-to-robot-that-was-the-question-bc77886c510">To Robot or not To Robot, that was the question</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BA + QA: The Power Couple]]></title>
            <link>https://medium.com/sawyer-effect/ba-qa-the-power-couple-f49bbf90535b?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f49bbf90535b</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[develo]]></category>
            <category><![CDATA[sawyereffect]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Mon, 14 Aug 2017 19:38:20 GMT</pubDate>
            <atom:updated>2017-08-14T19:38:20.363Z</atom:updated>
            <content:encoded><![CDATA[<p>For one of the latest big changes in our client’s application I was thrown in one hour before releasing the new feature into production. The change was relatively straight forward, an update to the look and feel of the Order History page of the final customer.</p><p>This was the first time me and some coworkers were looking the feature. Since we were not familiar with the feature, soon questions started to be raised: What happens if an order has a product that is no longer available in the site? If I open an order in page 3 and go back, it should go back to page 3? Each page of the history has different recommendations? What happens if an item was returned? And so on.</p><p>Frequently the answer to these questions was <em>“I don’t know, let me ask the developer”</em>. And then the developer would say <em>“I don’t know, it is not clear in the story”</em>.</p><p>I find this situation to be a problem because if a change was needed, we were less than an hour away from releasing to production. Because at this point is too expensive to add a change to the feature, the easiest way to handle the changes is to open a ticket and to be prioritized with the rest of the things to change and make it to a daily release. I think this can be worked out if the process changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WJWrRRVQBH5Tjriw6k_pNA.jpeg" /><figcaption>BA and QA stronger when working together</figcaption></figure><h4>BA and QA working together</h4><p>Sometimes BA and QA get to get to work closely together. I have found that dynamic truly powerful. In past projects in which I closely collaborated with the BA, he would be in charge of investigating and documenting what the business expect from the application. Then me as a QA reviewing the stories for questions would ask any doubts and <em>details</em> that might not be considered in the first iteration of a story draft.</p><p>Maybe, after one or two iterations the story would be so clear that the developer would have all clarity in what is expected, and once the feature is developed the QA is so familiar with the feature that she/he already knows what is expected and the time it takes to verify a story gets shorten.</p><p>At the end, the goal is to deliver the feature with good quality and <strong>quality starts from the moment the feature goes from an idea to a story.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f49bbf90535b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/ba-qa-the-power-couple-f49bbf90535b">BA + QA: The Power Couple</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Load Testing — When and Why]]></title>
            <link>https://medium.com/sawyer-effect/load-testing-when-and-why-7eef4cbe5d92?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/7eef4cbe5d92</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[sawyereffect]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Wed, 21 Jun 2017 19:12:23 GMT</pubDate>
            <atom:updated>2017-06-21T19:12:23.125Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week, a well known Instagram Fitness-Nutrition Coach Sasha Barboza announced through her Instagram Stories that she will be releasing her anti-cellulite guide in her in her web-page store. As of today, she has 2.4 million followers in Instagram and around 700k <a href="https://www.youtube.com/user/saschafitness">YouTube subscribers</a>.</p><p><a href="https://www.instagram.com/saschafitness/">Sascha Barboza (@saschafitness) * Instagram photos and videos</a></p><p>One day before the release she shared that she was nervous about the technology and that she hopped that everything will go smoothly with the release of her guide. Later she shared that she was able to purchase a guide with her credit card and she felt better now.</p><p>I thought “woman you are being too optimistic, the load is going to be a problem”. And it was.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*8mLYInh5bLmX1PWOoyfooQ.gif" /></figure><p>The day of the launch, couple of hours after announcing that her guide was finally up in the site using her Instagram Stories, she announced that she and her team was aware of the current problem: not everyone was being able to buy the guide. Then other problem emerged, the plugin to generate the watermark to avoid illegal reproduction, was not working as expected.</p><p><strong>I have no knowledge of the infrastructure and/or process behind her page. </strong>But I knew that just testing that you are able to purchase when exposing your page to 2.4 million users. These are some key points about e-commerce retail that I have learned over the years.</p><h4>Why to do a Load Test</h4><p>We can think of load test as a controlled experiment to answer “will my web page will handle ______ simultaneous requests?”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*dYkjd7AG3QE3yrhNYY8xYw.gif" /></figure><p>Some brands, specially big brands, rely on the trust relationship they have with customers. This is why it is extremely important to be able to process all requests for all the users.</p><blockquote>Do a load test when it is important to handle all the estimated requests.</blockquote><h4>When to do a Load Test</h4><p>In retail you are able to determine an average load for a regular day, usually using some analytics tool that provides this type of metrics. But there are events, called peaks, that the load goes beyond the average.</p><p>One type of event is a period of time that increases traffic. There are certain periods that are pretty common for most B2C retailers, like black Friday, and peak periods that varies accordingly to the product or brand(jewelry has a big peak during valentine’s day while other types of products might not).</p><p>The second type of event are the launch of highly publicized products. Launching a new product will make the load of a page go up. This traffic will not be constant after a certain period when average load returns.</p><blockquote>Do a load test in preparation for a peak.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/160/1*Oeg7Y8ONVRKwKbw8I9AesQ.gif" /></figure><h4>Is it needed every time?</h4><p>No. After several peaks it will be clear what are the required enhancements to support certain amount of load.</p><p>However, if the infrastructure changes or there is a new estimated that will go above record, then a new load tests is highly recommended.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*6sBoMjja1H-j1GoT6zy7RA.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7eef4cbe5d92" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/load-testing-when-and-why-7eef4cbe5d92">Load Testing — When and Why</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[UI Test Automation as part of Continuous Integration Process]]></title>
            <link>https://medium.com/sawyer-effect/ui-test-automation-as-part-of-continuous-integration-process-bb5d3a1f0d84?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb5d3a1f0d84</guid>
            <category><![CDATA[qa-testing]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Fri, 26 May 2017 14:27:50 GMT</pubDate>
            <atom:updated>2017-05-26T14:27:50.663Z</atom:updated>
            <content:encoded><![CDATA[<p>Some time ago I was part of a debate about if it was helpful to have UI automation as part of the CI process to help determine if the build was healthy enough to start the test and verification process and eventually flag it as a release candidate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*bQvMe9HTF8E1KCeq28umFA.png" /><figcaption>A simple way to explain what is happening with our CI process</figcaption></figure><p>There were a lot of different opinions mostly leaning to ‘yes, it is helpful’. The only guy that was leaning to a completely ‘no, that is a terrible idea’ was one of the lead developers of the project. I agree that he had a good point: the <strong>environments</strong> we are using in our CI process are terrible unstable and slow.</p><p>After some discussion we all agreed that, for different reasons, we were going to invest time and effort to create our set of tests to run after a new version of the code is deployed to our CI environment. We call this our CI smoke tests.</p><p>The reasons were:</p><ul><li>Once the set of test cases are automated, they will work over and over again. Same tests against different version of the code.</li><li>We can select the test cases based on the important features we need to preserve, no matter what we are changing in our code. For us, is really important that the user is able to add a product to the bag and start the check out process.</li><li>These tests will rarely change, unless we change something in the design. With good communication across the teams we can work in the design change soon.</li><li>Will help us train new developers getting on board. We have seen that one a new member joins, there will be a broken build.</li></ul><p>We acknowledged that there were work to do before having a set of smoke tests running with every deployment. We realized that these steps we needed to take to get to a healthy UI Tests in the CI process:</p><ul><li><strong>Participation from all teams to select the test cases to be part of the smoke test suit is required.</strong> When we had our meeting with Business team gave a good input on giving information on what was more likely to break.</li><li><strong>The tests must be short and meaningful. </strong>A developer does not want to wait for 30 minutes to see if a build is broken or not. We agreed that 5 minutes were good enough.</li><li><strong>We needed to work on speed up our CI environment and support concurrent users. </strong>System Administrators and DevOps team were really helpful in this point.</li><li><strong>We worked on our process on how to handle a broken build.</strong> No more commits from developers, QA assessing the cause of the failure and communicating to all the team.</li></ul><p>It was a big change in the way we were doing our CI and took us a while to get it going.</p><p>Since we implemented this process about a year ago, we have stopped worrying about making sure if the user was able to add something to the bag, if the user was able to search, if the user was able to navigate to the most visited pages and if pricing was showing correctly before we received a new build to test.</p><p>Now we worry more about how to keep up with the large amount of new features changing in a short time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb5d3a1f0d84" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/ui-test-automation-as-part-of-continuous-integration-process-bb5d3a1f0d84">UI Test Automation as part of Continuous Integration Process</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I wish Rory Gilmore picked Computer Systems instead of Journalism]]></title>
            <link>https://medium.com/sawyer-effect/i-wish-rory-gilmore-picked-computer-systems-instead-of-journalism-2c3db4c3904f?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c3db4c3904f</guid>
            <category><![CDATA[women-in-tech]]></category>
            <category><![CDATA[television]]></category>
            <category><![CDATA[gilmore-girls]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Tue, 27 Dec 2016 23:03:31 GMT</pubDate>
            <atom:updated>2017-03-14T15:52:12.958Z</atom:updated>
            <content:encoded><![CDATA[<h4>We need more engineer girls in TV</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*XoW4BeJ1i07sfbR29Ag63A.jpeg" /><figcaption>Gilmore Girls DVD sets from season 1 to season 7. Photo credit: <a href="https://www.flickr.com/photos/23412868@N03/">jeffmason</a>. Creative Common license <a href="https://creativecommons.org/licenses/by/2.0/legalcode">here</a>. No changes made.</figcaption></figure><p>The first time I saw Gilmore Girls I was 16 years old, about the same age as Rory. And I had a terrible relationship with my mother, opposite to Rory. I am smart girl, as Rory. I am not good with words neither I read a lot of books, opposite to Rory. It is just that there was something about Rory that made me identify with her, which made her my favorite character in the series.</p><p>Now that the revival is available for streaming. For what we knew from the teasers, she does not have a job or a credit score we were <a href="https://thebillfold.com/nobodys-wondering-if-rory-gilmore-won-a-pulitzer-998b861fef7e#.fptqi04hz">wondering about her love interest because we know she did not won a Pulitzer yet</a>. And from what we saw in the series revival, (<em>Spoiler Alert!</em>) she did not found in journalism what she was looking for, so she ends up writing a book about her and her mom. <a href="http://www.theatlantic.com/entertainment/archive/2016/11/turns-out-rory-gilmore-is-not-a-good-journalist/508883/">Let’s face it, she never was a great journalist.</a></p><p>That made me think, what if she starts a career in IT? As part of the IT industry, I know that there are groups to bring women to IT. Some groups promoting IT careers for women are: <a href="https://medium.com/code-like-a-girl">Code like a girl</a>, <a href="https://www.womenwhocode.com/">Women Who Code</a> and <a href="https://girlswhocode.com/">Girls who code</a>. So there are more than one ways that Rory could be added to the IT world, even after studying journalism. (<em>Spoiler Alert!</em>) Even at the same time she writes her book.</p><p>To honor the young Rory Gilmore method of creating a Pro-Con to take important decisions, here is my list of Pros and Cons of getting into the IT industry:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*2n7XIwtPnA1su7TizCPy1A.png" /><figcaption>I am not mocking the pro-con list. It is a good method!</figcaption></figure><h4>Pros</h4><ol><li>There are a lot of jobs. It is well known that engineers who happens to be women are required. <a href="http://www.bbc.com/news/business-37254851">In the UK alone, only the 8% of engineers are female</a>. <a href="https://www.washingtonpost.com/news/answer-sheet/wp/2015/06/11/where-are-all-the-women-in-engineering-a-female-engineering-student-answers/">In the US there was only the 14% in 2012.</a></li><li><a href="https://www.sokanu.com/careers/computer-systems-engineer/salary/">Salary for Computer System engineers is in average $85k in the US</a>. <a href="https://www.sokanu.com/careers/news-reporter/">News Reporter makes in average $29k in the US.</a></li><li>You get to play with the latest technologies.</li><li>The industry is fighting to be diverse and you can meet people from all over the world.</li><li>Jobs in IT are moving to remote work, so you could work from any location you want.</li><li>You have a chance to participate in projects that changes lives and influences the people around you.</li><li>Projects allows and requires people involved to be creative.</li></ol><h4>Cons</h4><ol><li>It is hard to get equally paid as a women, compared to a male co-worker.</li><li>Spend too many hours on a chair and in front of a computer.</li><li>You need to keep learning new stuff since the technology changes quickly.</li><li><a href="https://medium.com/@MrAlanCooper/the-software-alchemist-ed59d71e89df#.md91xgwqj">There are things that needs to be figured out, since is still a young industry</a>.</li><li>It is not easy to get a job that requires travel around the world, in case you want one.</li><li>Noxious environment that favors male co-wokers, something some call <strong>bro</strong>gramming. <a href="https://techcrunch.com/2014/03/15/julie-ann-horvath-describes-sexism-and-intimidation-behind-her-github-exit/">Something Julie Ann Horvath might have experienced</a>.</li></ol><p>Can you think of any other pro or con? My little list might have be a little bias, since I am working in the IT company. But hey, I am having a lot of fun.</p><p>Rory, please consider pursuing an IT related career.</p><p><em>Sawyer Effect is a cozy company. We believe that talent comes in different forms, colors and shapes. Join us.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c3db4c3904f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/i-wish-rory-gilmore-picked-computer-systems-instead-of-journalism-2c3db4c3904f">I wish Rory Gilmore picked Computer Systems instead of Journalism</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Development is just like Soccer ⚽️]]></title>
            <link>https://medium.com/sawyer-effect/software-development-is-just-like-soccer-%EF%B8%8F-283f3d4dbc99?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/283f3d4dbc99</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-as-a-team]]></category>
            <category><![CDATA[soccer]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Thu, 22 Dec 2016 00:58:16 GMT</pubDate>
            <atom:updated>2016-12-22T00:58:16.916Z</atom:updated>
            <content:encoded><![CDATA[<h4>About Software Development Organizations and Football Clubs</h4><p>This past November 6th I took a friend to see the second game of NYC FC vs Toronto in the Yankee Stadium. The NYC needed to win 3–0 to get to the next round of Playoffs. They lost 5–0; at least 3 goals were clearly a defense mistake.</p><p>Somewhere during our way back home I realized that there are so many similarities between soccer and software development. The following points summarize my analogy:</p><ul><li>Team of 11 in-field players (<em>hands-on engineers</em>) .</li><li>In-field team follows a strategy from a coach (<em>managers</em>) .</li><li>There is a final score match (<em>deliverable software</em>) as a result of playing such a match (<em>development time</em>).</li><li>Fans must be pleased to keep up the business (<em>clients</em>).</li><li>The players play with a ball, in a field and weather as factors that can make them win or lose (<em>technology</em>).</li><li>Fans want to see their team win and see their favorite players in action (<em>requirements</em>).</li><li>The team must score (<em>successful</em> <em>releases</em>) more times than the opposite team (<em>unsuccessful releases</em>) to win the match. The best result is when during the match the opposite team does not score and your team scores at least once.</li><li>During a match there is a referee (<em>third party audit</em>) that will let you know if you did something wrong during the match; ideally the referee is always neutral and does not influences the match result.</li></ul><h4>The Team</h4><p>Lets zoom-in into the in-field team. We can divide the type of players in three groups: offense (<em>Developers</em>), defense (<em>QA</em>) and goal keeper (<em>DevOps</em>). Take one of them away, don’t invest on one of them or be weak in one of them and you will probably lose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JIab8N0UKHVrBlcWXAzotg.jpeg" /><figcaption>El Campeonísimo. The best team Club Chivas has ever seen. Multiple times champions. 1956–1965</figcaption></figure><p>All teams have a captain (<em>Technical Leader</em>). In my opinion, the captain of a team is not always the most experienced and best player, but a balance between experience and leadership. Here my examples of bad, fair and good examples:</p><ul><li>There are many bad examples. One might be <a href="https://en.wikipedia.org/wiki/Jos%C3%A9_Luis_Chilavert">Luis Chilavert</a>. Being the best of the team, or even the world, does not mean that you have the skills to lead a team. Or <a href="https://en.wikipedia.org/wiki/Cuauht%C3%A9moc_Blanco">Cuauhtémoc Blanco</a>, and all his controversial moments he lived outside the field; putting himself before the team, every time.</li><li>I will use <a href="https://en.wikipedia.org/wiki/Rafael_M%C3%A1rquez">Rafael Marquez</a> as a fair example on what a captain can be. He has talent and fairly good leader skills. Until he gets upset and frustrated. Probably he is the first in the team to give up when the match is not going well for the team. Specially when he plays in National Mexican Team.</li><li>And let’s talk about <a href="https://en.wikipedia.org/wiki/Franz_Beckenbauer">Franz Beckenbauer</a>, <a href="https://en.wikipedia.org/wiki/Steven_Gerrard">Steven Gerard</a>, <a href="https://en.wikipedia.org/wiki/Paolo_Maldini">Paolo Maldini</a>, <a href="https://en.wikipedia.org/wiki/Ronaldinho">Ronaldinho</a> and <a href="https://en.wikipedia.org/wiki/Carles_Puyol">Carles Puyol</a> as the best examples of what does being a good captain means. Leading by example and always maintaining the head in the game. Even being capable of boost up the morale of the team by keeping up with the “have fun” philosophy, and win.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*j0qL6QqdCuBI6UMt-bpG4g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*EiwOmijwcnEtUrxd0mvBfw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ubnPhAdoywyonC0IWyxdWw.jpeg" /><figcaption>Beckenbauer, Gerard and Maldini. Photos taken from Wikipedia.</figcaption></figure><h4>The Management</h4><p>Oh the management... Loved when the team gives results, hated and guilty when they don’t. We have seen many clubs fall because the management, we have seen many clubs rise because the management. Lets talk about some examples:</p><ul><li>Jorge Vergara (Chivas) and Silvio Berlusconi (A.C. Milan), two examples of what happens when management puts their own agenda first: teams start losing game after game (<em>unsuccessful releases</em>) leaving the fans (<em>clients</em>) unhappy, making the team (<em>hands-on engineers</em>) frustrated and probably angry. Only the hard-core fans will keep it up with the team. Maybe different management strategies worked perfectly and they didn’t lose money, but if your success metric is the number of fans in the local games (<em>clients signing contracts</em>), probably there were times when things were pretty bad for these clubs.</li><li><a href="https://en.wikipedia.org/wiki/Andrea_Agnelli">Andrea Agnelli</a> (Juventus) and Jesús Martínez Patiño (Pachuca), making aside how they got their teams, I want to use them as example on how commitment from management team to the club can change the course from a unsuccessful club to a winning club. Motivation, pressure, group, delegation and discipline, all just in the right amount, with the right force is not easy. These guys have done a remarkable job.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*bwV9Ph6TZbv3AqQDItLFDA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*ZpUBN4C6vJJjgQOZmB8xFA.png" /><figcaption>Left: Andrea Agnelli. Right: Jesús Martínez Patiño. Photo credits: LaPresse and Record.</figcaption></figure><h4>The match strategy</h4><p>There are matches (<em>software projects</em>) more difficult and complex than others. There are tournaments bigger than others. There is more money involved in some tournaments than others.</p><p>There is more than strategy that will make the team win a match. There are pure offensive teams (<em>more development, little QA</em>), there are pure defensive teams (<em>exhaustive QA</em>), there are teams that like to start the play from the goal and keep passing the ball until they score (<em>inclusive QA</em>).</p><p>In my experience, teams (<em>hands-on engineers</em>) have more odds of being successful in a match (<em>software projects</em>) when the defense (<em>QA</em>) is included in the offensive play. The ability to change, prepare and react to different matches makes a difference too. The <a href="https://en.wikipedia.org/wiki/Pep_Guardiola">Pep Guardiola</a> era in Barcelona FC exemplifies my point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*fHWEmvOPpQgeDogqxR2KuQ.jpeg" /><figcaption>Barcelona team celebrating with Pep Guardiola after wining Champions League in 2009. <br>Laurence Griffiths/Getty Images</figcaption></figure><h4>Why does my club keeps losing?</h4><p>Getting to the root cause of what is going bad in a team is always a hard thing to do. It will depend on the role you play when doing the analysis. Are you the client? A player? A manager? Different roles, different perspectives, different root causes, different possible solutions.</p><p>There can be a lot of reasons why a team keeps losing match after match. Some of them are:</p><p><strong>1 The team is not good enough to score. </strong>The team might be leading with stats numbers: ball possession time, shots to goal, corner kicks, <em>code coverage, team velocity, </em>etc. Statistics numbers do not win a match, goals do. <em>Successful production deployments do. </em>It is simple, to win you need to score. No score, no win. Sometimes the offense does not look good because it lacks confidence, because the strategy is not clear, because the star player is not in the best moment and the strategy turns around the player.</p><p><strong>2 The management team does not care about the in-field team. </strong>We have discussed some examples in a section above. But let me highlight that the commitment of the management team is as important as the players in field. Support from management then translates to confidence. Confidence wins matches.</p><p><strong>3 The team is playing in a different type of environment (ground, stadium, weather, rules) and is not </strong><a href="https://blog.sawyereffect.com/embracing-change-705e23d21f7d#.dw17hkm04"><strong>embracing change</strong></a><strong>.</strong> There was a time in Chivas when they decided to change the natural grass to synthetic grass, mainly to reduce the field maintenance cost. <em>Changing technology will cost, and can be bad if the team is not willing to learn a new technology or does not have the skills. </em>Its arguably if the reason why Chivas started doing bad the seasons after changing the grass was influenced by the change on the type of grass, but is well known that the coaches are worried that the conditions of the field that is being visited will affect the final result. Foot note: Chivas at the end decided to bring <a href="http://expansion.mx/deportes/2012/05/16/el-club-guadalajara-sustituira-el-pasto-sintetico-en-el-estadio-omnilife">natural grass back</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*tZhU81l5YGDpcXeXqDeVOQ.jpeg" /><figcaption>Omnilife Stadium, Chivas home stadium in Guadalajara. Photo credit: <em>Mexsport</em></figcaption></figure><h4>My favorite two reasons why a team keeps losing</h4><p>From a third-party point of view, when analyzing what is going wrong with a team, I find this two reasons why a team lose over and over again frequently. I have seen these situations in both soccer and software projects:</p><p><strong>1 The team is playing in the Champions League with “B team” (<em>junior engineers</em>).</strong> Have you ever seen a team making it to the Champions League and not playing the tournament with their “A team” (<em>seniors engineers</em>)? No. They use the best team they have in the biggest tournament. Probably a mix from the best from A team and the best of B team as backup, but definitively not entirely B team. <a href="http://www.foxsports.com.au/football/real-madrid-has-spent-15-billion-since-2002-to-recapture-its-tenth-champions-league-title/story-e6frf423-1226926739293">Winning the Champions League is not cheap</a>, it is expensive. <em>Developing that complex software you have in mind is expensive</em>. Maybe more expensive than you expected. Yes, there have been occasions where a cheap team with less experience puts all the heart and effort and wins big tournaments. But, the odds of that happening every time is low.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*uUMCTeb6AMXGDV-aQqsHLw.jpeg" /><figcaption>Real Madrid, Champions League winners in 2016</figcaption></figure><p><strong>2 The team Defense is not in the game.</strong> Remember <a href="https://en.wikipedia.org/wiki/Brazil_v_Germany_(2014_FIFA_World_Cup)">BRA-GER match in the semifinals of Rio’s World Cup</a>? I will summarize it for you. Brazil lost in the game 1–7. Thomas Müller scored the first goal from a kick from corner. During the first half Germany scored 5 times. German players said later that they knew that Brazil was cracking up and they decided not to keep scoring, after all they were playing against the host of the World Cup and they did not want to humiliate them. If you remember the match as I do, you will remember that there were times when Brazilian defense just let German players pass the ball inside the area and score. It kind of felt like the defense was there, but they were not playing the same match; they were not playing their best. For the second half of the match other factors can be discussed because by the end the morale of the Brazilian team was devastated. It all started with a bad defense strategy, bad defense day.</p><p>Here is a video if you want to remember that epic match; you can see from minute 2 of the video how the Brazilian defense starts struggling goal after goal.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fd39sD1li2_E%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dd39sD1li2_E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fd39sD1li2_E%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3fd0b361c8d3d0bd347b7d8541338b6c/href">https://medium.com/media/3fd0b361c8d3d0bd347b7d8541338b6c/href</a></iframe><p>Special thanks to <a href="https://medium.com/u/e0a6e3a5229">Checo González</a> for helping me with fact check, discussing with me this piece and putting some effort in explaining me his vision. And a honorific mention to my dad and husband that keep me close to soccer in life.</p><p><em>Sawyer Effect is a company that plays as a team and loves soccer as well as software development. We have goal keepers, defense and offensive players that will like to help you improve your team. Contact us, work with us. Play </em>⚽️<em> with us</em> .</p><p><a href="http://www.sawyereffect.com/services.html">Sawyer Effect - Services</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=283f3d4dbc99" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/software-development-is-just-like-soccer-%EF%B8%8F-283f3d4dbc99">Software Development is just like Soccer ⚽️</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mobile Emulation in Chrome]]></title>
            <link>https://medium.com/sawyer-effect/mobile-emulation-in-chrome-c0efbc8605f2?source=rss-a22792a589f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0efbc8605f2</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[automated-testing]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[chromedriver]]></category>
            <category><![CDATA[ui-testing]]></category>
            <dc:creator><![CDATA[Nadia García]]></dc:creator>
            <pubDate>Fri, 09 Dec 2016 13:26:02 GMT</pubDate>
            <atom:updated>2016-12-09T13:26:02.196Z</atom:updated>
            <content:encoded><![CDATA[<h4>What we have learned using Chrome to emulate devices</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*m26KtLYPqZN9mWNxuJGtUg.jpeg" /><figcaption>Softest. Jeans. Ever. -Image taken from Madewell website.</figcaption></figure><p>As you may have seen in my previous entry <a href="https://blog.sawyereffect.com/what-i-have-learned-while-automating-ui-tests-for-an-apparel-retailer-f3551d222ba3#.rrjizid39">about automating UI tests</a>, in the apparel retailer company where we collaborate we started using Chrome in our Selenium Grid to emulate mobile devices for the automated regression of the UI tests.</p><p>When we moved to start using Chrome the first approach was to send the mobile user agent as an argument. I will call this type of browser as “modified-user-agent browser”<strong> </strong>later in this post. Looking at the execution failures and causes we started to notice that there were some differences between the emulated device and the modified-user-agent browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GeE-Bq2P9CIvMtw9eigQOA.png" /><figcaption><a href="http://www.madewell.com/">www.madewell.com</a> mobile site displaying a product detail page</figcaption></figure><p><strong>These differences were because the modified-user-agent browser does not add touch emulation but the Device Mode in Chrome does. </strong>We needed to change our approach and investigate how to access the touch emulation in Chrome. These are the findings.</p><h4>How to Emulate a Device</h4><p>According to <a href="https://sites.google.com/a/chromium.org/chromedriver/mobile-emulation">Chrome Mobile Emulation documentation</a>, there are two ways to emulate a mobile device: specifying the device name or providing the device attributes.</p><p>Probably the easiest way to do it is to have all the Chrome nodes in the Selenium Grid to be configured so that they have the same device enabled in Chrome DevTools. But we cannot rely on having each node owner to maintain the configuration. <strong>So we used the device attributes.</strong></p><p>There are 3 things we need to know about the device to be able to emulate it: the user agent, device dimensions and the device <a href="https://en.wikipedia.org/wiki/Pixel_aspect_ratio">pixel ratio</a>. You can get all of this information using the Console with Device Mode toggle On in Chrome Developer Tools. In the example below we are emulating an iPhone 6 Plus with iOS9.1:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tsT6t3dK6WHl1aXiUHREow.png" /></figure><p>This is how we are setting the desired capabilities to emulate the device in a local environment:</p><pre>DesiredCapabilities desiredCapabilities = DesiredCapabilities.<em>chrome</em>();<br><br>Map&lt;String, Object&gt; deviceMetrics = <strong>new </strong>HashMap&lt;&gt;();<br>deviceMetrics.put(<strong>&quot;width&quot;</strong>, 414);<br>deviceMetrics.put(<strong>&quot;height&quot;</strong>, 736);<br>deviceMetrics.put(<strong>&quot;pixelRatio&quot;</strong>, 3.0);<br><br>Map&lt;String, Object&gt; mobileEmulation = <strong>new </strong>HashMap&lt;&gt;();<br>mobileEmulation.put(<strong>&quot;deviceMetrics&quot;</strong>, deviceMetrics);<br>mobileEmulation.put(<strong>&quot;userAgent&quot;</strong>, <strong>&quot;Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1&quot;</strong>);<br><br>ChromeOptions options = <strong>new </strong>ChromeOptions();<br>options.setExperimentalOption(<strong>&quot;mobileEmulation&quot;</strong>, mobileEmulation);<br><br>desiredCapabilities.setCapability(ChromeOptions.<strong><em>CAPABILITY</em></strong>, options);</pre><pre>ChromeDriver driver = new ChromeDriver(desiredCapabilities);</pre><p>Note that we are using the ChromeOptions object to add the capability to the DesiredCapabilities object.</p><h4>Managing Chrome Extension to your Emulated Mobile</h4><p>In case you missed in the image above, we are using <a href="https://chrome.google.com/webstore/detail/modheader/idgpnmonknjnojddfkpgkljpfnnfcklj">ModHeader</a> Chrome extension to add some headers to our HTTP request. It was quite fun discovering how to do both, use the mobile emulation and the Chrome Extension (<em>specially when the ChromeDriver documentation uses Maps to illustrate how to set your emulated mobile device</em>).</p><p>The <a href="https://sites.google.com/a/chromium.org/chromedriver/extensions">Chrome Extensions documentation</a> provides examples on <strong>how to install the extension in the ChromeDriver</strong>. Following the documented example, you only need to add the extension to the ChromeOptions object before launching the ChromeDriver:</p><pre>.<br>.<br>.</pre><pre>ChromeOptions options = <strong>new </strong>ChromeOptions();<br>options.setExperimentalOption(<strong>&quot;mobileEmulation&quot;</strong>, mobileEmulation);<br>options.addExtensions(<strong>new </strong>File(<strong>&quot;ModHeader.crx&quot;</strong>));</pre><pre>desiredCapabilities.setCapability(ChromeOptions.<strong><em>CAPABILITY</em></strong>, options);</pre><pre>ChromeDriver driver = new ChromeDriver(desiredCapabilities);</pre><p>But in case you want <strong>to disable all Chrome extensions</strong>, you need to add the <em>disable extensions</em> argument in the ChromeOptions object:</p><pre>.<br>.<br>.</pre><pre>ChromeOptions options = <strong>new </strong>ChromeOptions();<br>options.setExperimentalOption(<strong>&quot;mobileEmulation&quot;</strong>, mobileEmulation);<br>options.addArguments(<strong>&quot;--disable-extensions&quot;</strong>);</pre><pre>desiredCapabilities.setCapability(ChromeOptions.<strong><em>CAPABILITY</em></strong>, options);</pre><pre>ChromeDriver driver = new ChromeDriver(desiredCapabilities);</pre><p>In case you are wondering <strong>how to setup the extension configuration</strong> as part of the automated execution, in the specific case to ModHeader, the way to configure it is to go to the context of the extension before going to your test page and set the user profile in the local storage:</p><pre>driver.get(<strong>&quot;chrome-extension://idgpnmonknjnojddfkpgkljpfnnfcklj/icon.png&quot;</strong>);</pre><pre>JavaScriptExecutor executor = ((JavascriptExecutor) driver;<br>executor.executeScript(<strong>&quot;localStorage.setItem(&#39;profiles&#39;, JSON.stringify([{&quot; </strong>+<br>        <strong>&quot;&#39;title&#39;:&#39;Profile 1&#39;,&quot; </strong>+<br>        <strong>&quot;&#39;hideComment&#39;:true,&quot; </strong>+<br>        <strong>&quot;&#39;headers&#39;:[{&#39;enabled&#39;:true,&quot; </strong>+<br>        <strong>&quot;&#39;name&#39;:&#39;&quot; </strong>+ header +<strong> &quot;&#39;,&quot; </strong>+<br>        <strong>&quot;&#39;value&#39;:&#39;&quot; </strong>+ value +<strong> &quot;&#39;,&quot; </strong>+<br>        <strong>&quot;&#39;comment&#39;:&#39;&#39;}],&quot; </strong>+<br>        <strong>&quot;&#39;respHeaders&#39;:[],&quot; </strong>+<br>        <strong>&quot;&#39;filters&#39;:[],&quot; </strong>+<br>        <strong>&quot;&#39;appendMode&#39;:&#39;&#39;}]));&quot;</strong>);</pre><p><em>SawyerEffect is a cozy company providing Software Development Services. QA Automation is part of our Software Development Life Cycle. Do you need help? Contact Us!</em></p><p><a href="http://www.sawyereffect.com/services.html">Sawyer Effect - Services</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0efbc8605f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sawyer-effect/mobile-emulation-in-chrome-c0efbc8605f2">Mobile Emulation in Chrome</a> was originally published in <a href="https://medium.com/sawyer-effect">Sawyer Effect</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>