<?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 Sujay Sudheendra on Medium]]></title>
        <description><![CDATA[Stories by Sujay Sudheendra on Medium]]></description>
        <link>https://medium.com/@sujaysudheendra?source=rss-d63d4cca9837------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UqMYWQpYR_SxE2Kc7tMmyA.jpeg</url>
            <title>Stories by Sujay Sudheendra on Medium</title>
            <link>https://medium.com/@sujaysudheendra?source=rss-d63d4cca9837------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 02:38:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sujaysudheendra/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[Do It for Yourself]]></title>
            <link>https://sujaysudheendra.medium.com/do-it-for-yourself-4128e3682c10?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/4128e3682c10</guid>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[feedback]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[professional-development]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Sun, 30 Aug 2026 13:09:32 GMT</pubDate>
            <atom:updated>2026-08-30T13:09:32.500Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZWjfaSjZ5zEd_blGovhFQ.png" /><figcaption>Do it for yourself</figcaption></figure><p>“Okay, if you want me to do it, I’ll do it.”</p><p>I have heard variations of this phrase dozens of times. Someone receives feedback from their manager. They acknowledge it, agree to change course, and move on.</p><p>On the surface, this looks like a model response: non-defensive, agreeable, and cooperative. But it often masks a deeper missed opportunity.</p><p>Are you making the change simply because your manager asked, or because you understand how it makes you better? There is a subtle, critical difference between <strong>compliance</strong> and <strong>growth</strong>.</p><h3>The Pull Shot Dilemma</h3><p>To see the difference clearly, look at how coaching works in sports.</p><p>Imagine a professional cricketer who repeatedly gets out trying to play a pull shot. The coach steps in: <em>“You need to get better at playing the pull shot.”</em></p><p>The obvious interpretation is that the batsman doesn’t know the technique. But that’s rarely the case at a high level. The batsman knows the mechanics. The real issue is <strong>shot selection</strong>:</p><ul><li>Is the ball short enough?</li><li>Is the bounce at the right height?</li><li>Where are the boundary fielders positioned?</li><li>Does the match situation demand an attack or a leave?</li></ul><p>The coach isn’t teaching the batsman how to swing the bat; they are helping him develop the judgment of <strong><em>when</em></strong> to play the shot. Workplace feedback functions the exact same way.</p><h3>Feedback Is Rarely About the Task</h3><p>We often receive feedback on different growth areas:</p><ul><li><em>“You need to communicate more proactively.”</em></li><li><em>“You need to spend more time reviewing your work before submitting it.”</em></li><li><em>“You need to break down your work into smaller pieces.”</em></li></ul><p>Let’s take that last one.</p><p>If your reaction is simply: <em>“Okay, let me create more Jira tickets,”</em> you have addressed the mechanic, not the underlying skill.</p><blockquote><em>The real lesson isn’t about ticket management — it is learning how to de-risk complexity before you get stuck.</em></blockquote><p>Breaking down work isn’t administrative overhead; it is an exercise in critical thinking. It requires you to:</p><ul><li>Isolate the biggest unknowns before writing a single line of code or drafting a proposal.</li><li>Spot hidden dependencies across other teams before they turn into blockers.</li><li>Create fast feedback loops so you know you’re heading in the right direction early.</li></ul><p>One approach is merely following an instruction. The other is expanding your capacity.</p><h3>The Hazard of Passive Compliance</h3><p>There is an underlying friction inside the phrase, <em>“Ok! If you want me to, I’ll do it.”</em></p><p>It implies: <em>“I don’t see the issue, but to keep the peace, I’ll change the output.”</em></p><p>That might fix the immediate deliverable, but it leaves the individual unchanged. Managers rarely give feedback just to dictate workflow; they offer it because they have enough altitude to spot patterns you are too close to see.</p><p>When you receive critical input, the first question shouldn’t be: <strong>“Why do they want me to do this?”</strong></p><p>A far more productive question is: <strong>“What are they seeing that I am currently blind to?”</strong></p><p>That single shift moves you from defense to curiosity. You stop managing your manager’s expectations and start managing your own professional standard.</p><h3>Own the Calibration</h3><p>Your manager should not have to be the permanent engine of your self-improvement. They can hold up the mirror, point out the pattern, and offer the perspective — but you have to own the internal shift.</p><p>The ultimate goal isn’t to become an employee who executes instructions flawlessly. The goal is to build the judgment that makes the instruction unnecessary in the future.</p><p>A great batsman eventually doesn’t need a coach yelling from the boundary rope, <em>“Don’t pull this one!”</em> They read the length of the delivery, judge the conditions, and make the right call instinctively.</p><p>The next time you receive difficult feedback, resist the urge to simply say, <em>“I’ll do it.”</em></p><p>Pause and ask yourself: <strong>“How does internalizing this make me better?”</strong></p><p>Once you have that answer, don’t do it for your manager. <strong>Do it for yourself.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4128e3682c10" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Driving Individuals Towards Excellence: The TtD Framework]]></title>
            <link>https://sujaysudheendra.medium.com/driving-individuals-towards-excellence-the-ttd-framework-42817ccc4d5e?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/42817ccc4d5e</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[personal-development]]></category>
            <category><![CDATA[organizational-culture]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Sat, 14 Mar 2026 17:48:18 GMT</pubDate>
            <atom:updated>2026-03-14T17:48:18.749Z</atom:updated>
            <content:encoded><![CDATA[<p>“Leaders must first get the right people on the bus (and the wrong people off) before determining where to drive it, ensuring that passion, skill, and aptitude align with key roles.” — <strong>Jim Collins, BE 2.0</strong></p><figure><img alt="Great. Including Alt-text is a best practice for accessibility, and it also helps search engines understand the content of your images if you’re hosting this on a platform like LinkedIn or a personal site. Suggested Alt-Text for Your Chart “A line graph titled ‘Maximizing Team Impact’ showing a curve of productivity and impact over time. The curve starts low during a ‘Learning &amp; Development Phase’ and trends upward. A star marks the ‘Inflection Point’ where the curve steepens sharply, labeled ‘" src="https://cdn-images-1.medium.com/max/1024/1*Cu2KW0Gc7DgbmrNXTXmyRw.png" /></figure><p>The topic of productivity and building teams that excel in adding business value has led me to think deeply about <strong>Time to Develop (TtD)</strong>. Over time, I’ve come to realization that TtD is one of the most effective tools I use to influence decisions when planning work and allocating resources to critical deliverables.</p><p><strong>What is TtD?</strong></p><p>Productivity is more about outcomes than efforts alone — it is the purposeful conversion of time, skill, and resources into customer and business value, which in turn fuels organizational goals.</p><p>In my framework, <strong>Time to Develop (TtD)</strong> is defined as the temporal duration required for an individual to reach their <strong>“Prime” </strong>state. This state is characterized by four key data points:</p><ol><li><strong>Speed:</strong> The velocity of execution.</li><li><strong>Effectiveness:</strong> The ability to solve the <em>right</em> problem.</li><li><strong>Quality:</strong> The durability and reliability of the output.</li><li><strong>Business Impact:</strong> The measurable value delivered to the organization.</li></ol><p>TtD is not just for new hires. Every time someone changes a role or moves to a new team internally, their TtD resets as they adapt to a new ecosystem, business area, or set of responsibilities.</p><p><strong>Why TtD is Important</strong></p><p>The historical reliance on activity-based metrics like lines of code, commit counts, or story points, often obscures the true nature of engineering. While these indicators serve a purpose at the team level, they cannot alone tackle the ultimate objective: <strong>maximizing business value.</strong></p><p>TtD focuses on the masterly of the socio-technical environment. I often see leaders expect individuals to be fully effective immediately after a “great onboarding period.” While onboarding is necessary to get comfortable, it is not the same as TtD.</p><p>As a leader, you must define a <strong>Path</strong> for each individual based on their current abilities. This Path determines:</p><ul><li>How long they need to become effective.</li><li>When they can independently execute complex setups.</li><li><strong>How long you should give them before deciding to “change their seat on the bus.”</strong></li></ul><blockquote>“A one-size-fits-all path is a recipe for mediocrity.”</blockquote><p><strong>The Path vs Onboarding</strong></p><p>The <strong>Path</strong> is not just an onboarding plan. Onboarding gets you comfortable with the ecosystem; the Path is a clear roadmap outlining specific development goals. As a leader, you must bake in appropriate projects and milestones so the individual can add impact in a scoped manner at each stage. Because every individual is different, there cannot be a single path for everyone — you must co-create this with them.</p><p><strong>What is the Inflection Point?</strong></p><p>The <strong>Inflection Point</strong> is the moment an individual turns the corner and starts being highly impactful. At this stage, they no longer need you to define the “Path” — they start defining it themselves.</p><p>There is a direct correlation between TtD and your chances of building a great team. It’s not that TtD must be zero; rather, it’s about how you use that time. When a leader provides a clear Path, the individual is much more likely to cross that Inflection Point successfully. Even seasoned professionals can stall if they lack leadership support or coaching; as a leader, you can turn this around by consciously redefining their Path.</p><p><strong>The Leadership “Algorithm”</strong></p><p>For a leader, the TtD of their team must be explicitly factored into project planning. It helps you decide if you have the right people to execute a mission-critical deliverable.</p><p>For instance, when a leader asks me: <em>“Hey, we have this time-critical deliverable that came up last minute, can I have your team focus on it?”</em></p><p>I instantly run an internal algorithm: <strong>Who has crossed the Inflection Point? </strong>I try to nominate people who have already crossed that point because they offer the highest chance of success for high-impact, high-stakes work.</p><p>Crucially, A leaders job doesn’t end when an individual crosses that point. As a leader, your role shifts from coach to orchestrator. You must correctly utilize those who have crossed the Inflection Point by placing them in high-leverage roles where their autonomy can create the maximum business impact.</p><h3><strong>The “Sanju Samson” Moment</strong></h3><p>I often look to sports when analyzing coaching and leadership. A recent example that resonates with the TtD concept is <strong>Sanju Samson</strong> in the <strong>2026 World Cup</strong>.</p><p>We have seen his sparks of brilliance for years, but he was often “on and off” the national team. perhaps viewed as a backup or lacking a clear roadmap for his role. However, his performance in the 2026 knockouts was extraordinary. It was a classic example of someone crossing the <strong>Inflection Point</strong>. He had a clear role, clear mentorship, and the motivation to execute on his potential.</p><p>Crucially, it wasn’t just about his individual growth; <strong>the coach also made sure his skills were utilized in the right way at the right time to make a specific impact on the team’s mission.</strong> He stopped being a “prospect” and became a strategic weapon. Creating an impact of that scale is what happens when individual readiness <strong>meets</strong> leadership’s strategic intent.</p><p><strong>Scaling Through Support</strong></p><p>We often talk about scaling systems or features, but we rarely talk about <strong>scaling individuals</strong>. TtD is the bridge between potential and peak performance.</p><p>When you get the right people on the bus and provide a Path tailored to their unique skills, you aren’t just filling a seat; you’re fueling an engine. The Inflection Point is where the magic starts, it’s where “work” transforms into “impact.” As leaders, I Strongly believe our greatest achievement isn’t just the delivery of a project (Its important for sure!); it’s the development of individuals who no longer need a map because they’ve learned how to chart their own course.</p><p>Leaving your team to navigate the ecosystem alone doesn’t just extend their TtD, it risks their morale and your mission. Our job as leaders isn’t just to get the right people on the bus; it’s to build the engine that drives it. When you actively construct a tailored Path, you accelerate the journey to the Inflection Point where <strong>potential becomes autonomy</strong>. By explicitly influencing the Time to Develop, you transform a collection of individuals into a high-performance team capable of delivering predictable, sustainable impact.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42817ccc4d5e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sowing Intent, Harvesting Impact: The New Season for Being a Product Engineer]]></title>
            <link>https://sujaysudheendra.medium.com/sowing-intent-harvesting-impact-the-new-season-for-being-a-productive-engineer-da8317ec04a6?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/da8317ec04a6</guid>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Sun, 04 Jan 2026 17:56:25 GMT</pubDate>
            <atom:updated>2026-04-15T04:19:03.144Z</atom:updated>
            <content:encoded><![CDATA[<p>“I Believe, An engineer in 2026 is a lot like a modern farmer. AI has given us the heavy machinery to cover more ground, but the machinery doesn’t know <em>what</em> to plant or <em>why</em> the crop matters”</p><p><strong>Note on Craft:</strong> This writeup started as raw reflections in my Apple Notes after a workshop discussion and a week of reading with help of my new buddy NotebookLM. I used Gemini to help refine the formatting and flow, but the perspectives (and the coffee that fueled them) are 100% mine.</p><p>Recently, at Zendesk, a group of people leaders and senior ICs gathered for a workshop to define productivity metrics for our Pune prod-dev organization. It was a high-energy session where we grappled with the nuances of measuring “output” in a world that is changing rapidly. We discussed adopting <strong>DX Core 4</strong> — a framework that blends <strong>DORA</strong>, <strong>SPACE</strong>, and <strong>DevEx</strong> metrics to get a holistic view of our site’s health.</p><p>This exercise sparked a deeper question for me: <strong>What does productivity actually look like for an engineer in 2026?</strong> After some deep dives into current literature and a few brainstorming sessions with my “AI thought partner,” NotebookLM, I’ve distilled some thoughts on how we should navigate this new era.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1iLaR88icxQdxsdW4UcMPQ.png" /></figure><h3>1. Engineering with Intent, Not Just “Vibe Coding”</h3><p>The term “Vibe Coding” (coding by prompting AI until it “feels” right) is trending, but basics still matter. To be a top-tier engineer today, your fundamentals, data structures, language internals, and system design must be rock solid.</p><ul><li><strong>Be the Pilot, Not the Passenger:</strong> You must be in the driver’s seat. If you can’t audit the AI’s output, you aren’t engineering; you’re just spectating.</li><li><strong>Gatekeeping Quality:</strong> Our role has shifted from just <em>writing</em> code to acting as a rigorous gatekeeper for code hygiene and architectural integrity.</li></ul><h3>2. Mastering the “1x Engineer” Fundamentals</h3><p>I’m a big believer in the principles of the<a href="https://1x.engineer/"> <strong>1x.engineer</strong></a>. Some senior engineers mistakenly think these “basics” are only for juniors. In reality, doubling down on a growth mindset and “boring” consistency is what allows you to scale. Being a <strong>1x Engineer</strong> means being reliable, readable, and repeatable. (please don’t miss reading the 1x engineer link!)</p><h3>3. Adopting a Product Engineer Mindset</h3><p>What makes you stand out when an AI can generate syntax in seconds? <strong>The ability to connect code to customers.</strong></p><ul><li><strong>Impact &gt; Effort:</strong> We must view technical work through the lens of business value. Ask yourself: <em>How does this PR contribute to revenue, retention, or customer experience?</em></li><li><strong>Question the “Why”:</strong> A truly productive engineer asks “Why?” before “How?” If you are building a high-quality solution for a low-impact problem, your productivity is effectively zero.</li><li><strong>Internal Platforms are Products:</strong> Remember, even if you work on internal tools, you have customers. Your “Product” is the developer experience of your teammates so all of the above matter whatever team you are part of.</li></ul><h3>4. Identifying and Eliminating Friction</h3><p>This is where you can truly shine. Every organization has processes that go unquestioned. High-performing engineers don’t just work <em>within</em> the system; they <em>improve</em> the system.</p><ul><li><strong>Reduce Cognitive Load:</strong> Focus on removing friction like flaky tests, slow builds, or convoluted PR processes.</li><li><strong>Break the Status Quo:</strong> If a process exists “just because it always has,” dig deeper. Improving Developer Experience (DevEx) has a direct multiplier effect on the entire organization’s output.</li></ul><h3>5. Context over Control (The Netflix Model)</h3><p>Inspired by the culture at Netflix, we should strive to be <strong>Highly Aligned, Loosely Coupled.</strong></p><p><strong>I would like to showcase some great literature written on this in Netflix’s public page:</strong></p><blockquote>“At <strong>Netflix</strong>, we aim to inspire and empower more than just manage because people can have a greater impact when they’re free to make decisions about their own work.”</blockquote><p>In today’s world, productivity is defined by <strong>autonomy</strong>. Engineers should develop the habit of making independent decisions after clearly understanding organizational goals rather than waiting for top-down commands.</p><h3>6. Extreme Ownership and Accountability</h3><p>Your reputation as a “good engineer” is built on ownership. Often, your immediate team has a strong influence on you developing this (Read 1x engineer link above again). You need to keep your <strong>commitment</strong> to personal and professional standards. Keep pushing yourself to lead by example. This is an area where juniors can outshine veterans</p><ul><li><strong>End-to-End Responsibility:</strong> True productivity is overseeing a feature from the first line of code to post-release monitoring.</li><li><strong>The Culture of Blame-Free Failure:</strong> Sharing failures transparently transforms individual mistakes into institutional knowledge. Leaders must create the “safe space,” but engineers must have the courage to own the narrative.</li></ul><h3>The Conclusion: Navigating the AI Paradox</h3><p>As we lean into AI, we face a paradox: <strong>AI increases individual speed but can decrease team-level stability.</strong> When we look at metrics like <em>Change Failure Rate</em> or <em>Deployment Frequency</em>, the risks become clear. An unreviewed flood of AI-generated code can lead to technical debt and architectural drift.</p><p>In 2026, our productivity won’t be measured in one dimension, We are moving beyond the era of “lines per hour” and into an era of <strong>Sustainable Impact.</strong> It’s about managing cognitive load, maintaining a flow state, and ensuring that every bit of work serves a clear product goal.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da8317ec04a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Growth Mindset: A Blueprint for Engineers and Leaders]]></title>
            <link>https://sujaysudheendra.medium.com/the-growth-mindset-a-blueprint-for-engineers-and-leaders-9e1cf7884491?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e1cf7884491</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[people-development]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[people]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Wed, 25 Dec 2024 04:39:38 GMT</pubDate>
            <atom:updated>2024-12-25T04:39:38.391Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the second part of a series. If you have not read part 1 of this series, I welcome you to take a read <a href="https://medium.com/@sujaysudheendra/the-quality-imperative-preparing-indian-engineers-for-global-success-531b82bdc239">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dqI7FzFTn8yGU0ja" /></figure><p>After a lot of interactions with Indian talent since last year, I started recognizing something very odd and unsettling to me as a people leader. I see that a lot of folks tend to solely worried on the outcome of their work. <strong>We have inherently been trained to always only focus on not failing. <em>If you fail, you are out of the game!</em></strong> It does sound familiar to me, as all my schooling we were taught that exact thing, You can never fail!</p><p>I saw this attitude inadvertently discourage the openness and vulnerability required to adopt and learn, as they feared that acknowledging gaps in their capabilities could diminish their reputation as “talented” or “best”.</p><p>While I am going to focus a lot on engineering oriented roles in this article, I do believe this particular topic is pretty much applicable to any individual in any field.</p><h3>Why is the Growth mindset important for an Engineer?</h3><p>Let me take a moment to elaborate why I think this is an important aspect of someone’s job and why it’s critical for the quality of an engineer for global success.</p><h4>Adaptability</h4><p>Software Engineering, in addition to other disciplines, is not immune to rapid changes. New tools, technologies, and methodologies emerge constantly, and as engineers we need to continuously up-skill to stay relevant. When the global stage is set for talent to flourish, We must embrace learning as an opportunity rather than viewing it as a threat to existing skills or job security. Exploring new skills, engaging with emerging trends, and remaining flexible, which is essential to succeed at a global level.</p><h4>Solving complex problems</h4><p>In today’s world where we need our engineers to solve global problems, These problems are no longer simple. It’s important for them to realize failures and setbacks are common during design, development, and testing phases. Recognizing these challenges as opportunities to learn and improve. Be more resilient during setbacks, experiment with alternative solutions, and strive harder to find the best outcome.</p><h4>Pushing the boundaries</h4><p>It’s important for Engineers to be more open to experimenting with new ideas, taking calculated risks, and pushing the boundaries of what’s possible. fostering creativity, which is vital for driving breakthroughs and contributing to cutting-edge developments for the business.</p><h4>Collaboration and Leadership</h4><p>When working with globally diverse teams, We often require cross-disciplinary collaboration, communication, and teamwork. A person with a fixed mindset may feel threatened by colleagues’ knowledge or ideas, a seniors advice, leading to poor collaboration or conflict. Which will eventually have a negative effect on the deliverables.</p><p>We need to see teamwork as a way to learn from peers and improve themselves, which enhances the collective output of the team. In leadership roles, they are also more likely to mentor others and create environments where growth and innovation are encouraged.</p><p>Now that we understand why a growth mindset is critical for engineers to excel in an ever-evolving global landscape, the next step is to explore how we can actively cultivate this mindset within individuals and teams, starting from their formative years to their professional careers.</p><h3>How can we instill the growth mindset?</h3><h4>“ಗಿಡವಾಗಿ ಬಗ್ಗದ್ದು ಮರವಾಗಿ ಬಗ್ಗಿತೆ ?”</h4><p>(A very old popular proverb in <a href="https://en.wikipedia.org/wiki/Kannada">Kannada</a>)</p><p>Translation: If a plant doesn’t learn to bend and grow toward the sunlight while it’s still young, how can you expect it to bend once it’s grown into a full-grown tree?</p><p>I believe something like the growth mindset is not as easy as teaching someone a new technology. And I strongly believe that it’s often easier to push someone to practice such things earlier in their career or even before one starts their professional career. To instill a growth mindset during the learning phase, it is crucial to focus on cultivating an environment that encourages effort, resilience, and a belief in the ability to improve over time. I have attempted to highlight some of the key areas that I can think on how we can encourage this:</p><h4>Focus Process Over Outcome</h4><p>Instead of solely rewarding success, praise the effort, strategies, and learning process. This shifts the focus from achieving a specific goal to valuing learning and improvement. Recognize what someone did even if the outcome was not what you desired.</p><h4>Encourage Learning from Mistakes</h4><p>Use mistakes as an opportunity for growth rather than failures. Analyze setbacks constructively, learners are more likely to persist through challenges. An example is, understand why they ended up making a particular mistake. where they feel less supportive or what assumptions they had made went wrong.</p><h4>Promote Self awareness</h4><p>Encouraging engineers to spend time to reflect on their progress. Motivate them to identify areas for improvement, fostering an understanding that abilities can evolve with effort.</p><h4><strong>Goals + 1</strong></h4><p>Providing stretch goals which can be challenging yet attainable can push folks to step outside their comfort zones and develop self-motivation and ownership.</p><h4>Use feedbacks as an effective tool</h4><p>Timely, specific, and actionable feedback is essential to guide learners in adjusting their approaches and realizing that improvement is possible through effort. This is also a crucial step where someone can use self reflection to get help in order to improve.</p><h3>Why Career Growth can be Limited Without a Growth Mindset</h3><p>Without a growth mindset, individuals can often tend to adopt a rigid approach, where they believe their abilities are static yet somehow assume it’s superior and serve them well in all circumstances. While this mindset limits personal and professional development, it may also lead to a ripple effect if someone ends up in a leadership role.</p><p>A fixed mindset often leads to avoidance of tasks that seem too difficult. It can then lead to maintaining a status quo to make sure their short-term benefits are not impacted. In a career, this can mean missing opportunities for growth or innovation by <strong>avoiding challenges</strong>.</p><p>Instead of seeing <strong>failure as a learning experience</strong>, it becomes something to be avoided at all costs. This fear stifles creativity and risk-taking, both of which are essential for career progression leading to both professional stagnation as well as having a negative impact on the business they contribute to.</p><p>Without the belief that effort leads to improvement, individuals may fail to invest in continuous learning or acquiring new skills, making them stick to an <strong>“I know everything” attitude</strong> and hence limiting their long-term potential.</p><h3>Negative Consequences Despite Promotions in Certain Organizations</h3><p>In organizations where promotions are based solely on tenure, superficial metrics (or even favoritism) individuals may ascend without developing the necessary skills or adaptability. This misalignment between position and capability can create significant challenges.</p><p><strong>Reduced Innovation</strong>:<br>Leaders with a fixed mindset may resist new ideas or cling to outdated practices, stifling innovation. For instance, a manager hesitant to adopt modern AI tools could hinder their team’s efficiency and limit business growth.</p><p><strong>Team Dysfunction</strong>:<br>A fixed mindset can lead to poor collaboration, as such individuals often feel threatened by differing opinions or the expertise of others. This creates a culture of competition rather than cooperation, ultimately impacting project outcomes.</p><p><strong>Skill Stagnation</strong>:<br>Promotions without continuous learning result in leaders who struggle to adapt to evolving industry demands. Over time, this stagnation limits their effectiveness, often relegating them to roles with minimal strategic impact.</p><p><strong>Employee Turnover</strong>:<br>Teams led by such individuals may experience low morale, as employees feel their contributions are undervalued. Talented individuals may seek opportunities elsewhere, leading to higher attrition rates.</p><p>On the other hand, leaders with a growth mindset bring adaptability, foster collaboration, and inspire innovation. They create environments where teams feel motivated to learn and contribute, driving sustainable success for both individuals and organizations.</p><h3>Summary</h3><p>A growth mindset in one’s career is critical because it fuels adaptability, creativity, resilience, and continuous learning, all of which are key for success in the dynamic, continuously evolving industry. Without it, engineers may fall behind in their skills, struggle with problem solving, end up being mediocre in their roles and miss out on opportunities for innovation and career growth.</p><p>As a leader it’s important to practice recognition based on efforts and not solely on outcomes. That helps folks who are adapting to learning and helps folks confidently take forward their growth mindset.</p><p>Let’s lead by example and create a culture that values effort, learning, and resilience. Together, we can prepare our teams to thrive in a dynamic world.</p><p>I hope you found this piece interesting and useful. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e1cf7884491" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoid Mediocrity in Search of Job Security]]></title>
            <link>https://sujaysudheendra.medium.com/avoid-mediocrity-in-search-of-job-security-41a7feb004ba?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/41a7feb004ba</guid>
            <category><![CDATA[mediocrity]]></category>
            <category><![CDATA[passion]]></category>
            <category><![CDATA[mindset-coaching]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[job-security]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Mon, 01 Jul 2024 17:57:26 GMT</pubDate>
            <atom:updated>2024-07-01T17:57:26.414Z</atom:updated>
            <content:encoded><![CDATA[<p>Choose your wave to surf!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1TYVxiH805qWAJEC" /></figure><p>In today’s ever-changing market landscape and tech industry, there is a lot of chatter around job security. Some view it as a concern for their career, while others confine their career goals to achieving job security.</p><p>While it’s important to keep job security in mind, it’s equally important not to let this aspect interfere with your job duties. As a manager, I often see people not taking enough initiative or experimenting, even when they have the potential to do so. This kind of mindset has led me to wonder if their focus on job security adds an additional layer of pressure at work. Is it always at the back of their mind? Are they calculating every major action at work, worrying about their job security?</p><h3>The Safe Path</h3><p>We all have different dreams and interests. People who prioritize job security often seek roles with stable companies, predictable workloads (though this is debatable), and easier career progression paths.</p><p>This risk-averse mindset might affect how they operate on the job. They might avoid taking risks or innovating because they fear the potential negative consequences on their job stability. If this mindset persists, it can lead to less creativity and innovation, potentially resulting in mediocre performance as they follow established protocols rather than exploring new ideas.</p><h3>The Passion &amp; Interest-Driven Path</h3><p>People driven by passion and interest are often more intrinsically motivated. They enjoy their work and are willing to go the extra mile. Passionate individuals immerse themselves in problem-solving, keenly innovate, set direction, and are more likely to take risks and push boundaries because they are invested in their work’s success and impact.</p><p>You can always leverage your passion to enhance job performance and security. High performance and significant contributions to the organization can lead to better job security. Organizations value employees who bring fresh ideas and drive results, making them indispensable.</p><h3>Balancing Security and Passion</h3><p>Of course, we all have lives outside of work, so it’s essential to strike a balance between security and passion. While the dichotomy of choosing one or the other is compelling, many individuals find a balance between job security and pursuing their passions. This balance is a valuable skill to cultivate.</p><p>Just like a surfer chooses the right wave to ride, you can choose your wave to surf in your career. Leverage your organization’s culture and support system to take measured risks within a secure framework, leading to innovation without jeopardizing job security. Continuously improving skills and staying relevant in one’s field can enhance both job security and job satisfaction. Finding roles that align personal interests with organizational goals can create a win-win situation for both you and your employer.</p><h3>Organizational Perspective</h3><p>It’s crucial for organizations to openly encourage innovation. Organizations can foster a culture that encourages innovation while providing a safety net for employees. This involves creating environments where failure is seen as a learning opportunity rather than a threat to job security.</p><p>Recognizing and rewarding employees who take initiative and innovate can motivate others to follow suit, driving overall organizational growth.</p><h3>In Summary</h3><p>If the past few years have taught us anything, it’s that “nothing is stable.” We have seen large organizations crumble while smaller organizations survive with unconventional strategies. It’s hard to expect organizations to assure job security, especially in the tech world, where the landscape changes so quickly. While prioritizing job security might lead some to mediocrity, a balanced approach that incorporates passion, calculated risk-taking, and continuous improvement can result in high performance and strong job security. Organizations play a crucial role in fostering environments where this balance can be achieved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41a7feb004ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Quality Imperative: Preparing Indian Engineers for Global Success [Part 1— Communication]]]></title>
            <link>https://sujaysudheendra.medium.com/the-quality-imperative-preparing-indian-engineers-for-global-success-531b82bdc239?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/531b82bdc239</guid>
            <category><![CDATA[people-management]]></category>
            <category><![CDATA[upskilling]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[skills-development]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Mon, 01 Jul 2024 16:32:49 GMT</pubDate>
            <atom:updated>2024-07-03T14:40:08.188Z</atom:updated>
            <content:encoded><![CDATA[<p>A quality engineer’s role encompasses a broad set of skills and attributes beyond technical expertise. Skills like technical proficiency, communication skills, leadership qualities, a problem-solving mindset, ownership, accountability, and much more. With my recent experience of returning to India and working with a few local organizations, I have seen a lot of room for improvement. I will explore each area one at a time in my writings.</p><p><em>*Note**: This blog primarily addresses challenges within the software industry. While quality encompasses various aspects of an engineer’s skill set, this blog focuses on communication as a key area for discussion. When I mention communication, I am referring to reading, writing, and spoken communication.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/0*bh33YWBj6b28T2iO.jpg" /></figure><p><strong>Why do some of India’s brightest engineers struggle with business communication on the global stage?</strong> The answer lies not in culture but in the quality of education and training.</p><p>It’s very exciting that over the last few years, more and more companies are coming in search of engineering talent in India. They are setting up engineering bases and bringing numerous opportunities into this country, especially in the software engineering space.</p><p>However, what’s challenging is that, even with such a vast pool of talent, there is still much to be done to prepare these engineers for the global stage. No, it’s not a cultural issue if, in 2024, an experienced engineer struggles to understand and communicate in business language. We, as a country, have always been open to westernization, and one of the better consequences of this is that our education curriculum is available in diverse languages.</p><h3>The Educational Landscape</h3><p>What happened to the four years of education in a non-native language? Most of us come from non-English backgrounds, but even if we didn’t have a traditional English education until the 12th grade, our undergraduate studies are predominantly in English. If you graduated from an engineering college in India, you know we had preferred textbooks on data structures, algorithms, software engineering, web development, and all other subjects necessary for building core competency in engineering, written in English. Our exams were conducted in English, and we wrote our answers in English.</p><p>In a nutshell, we graduated with an engineering degree by conducting all required activities in a language we had to learn to read and write one way or another.</p><h3>The Bonus of Business Language Proficiency</h3><p>For most of us who don’t speak English as our mother tongue, this is definitely a bonus. You read and wrote so much that eventually, after four long years, you built at least the basics in communication to be ready for a professional career. Especially in software engineering, where English is usually the default business language, this is crucial.</p><h3><strong>But is that enough?</strong></h3><p>Well, you’re right to question. Based on my own experience and observations through schooling, having a curriculum in a certain language helps a lot in building reading and writing competency in that language. However, in many cases, it’s still not sufficient for individuals to be fully confident in understanding or in their writing. Thus, it has not provided them all they need to push themselves to acquire these skill sets.</p><h3>Globalization is the Norm in IT!</h3><p>We must accept that we need to up our game in quality! While the education system has ensured that engineering graduates are well-versed in English through their coursework and exams, there remains a challenge in effectively communicating in a professional, global context. Maybe just running the undergraduate curriculum and exams is not enough? Maybe teachers need to realize the long-lasting consequences of their actions beyond just their lectures.</p><p>I see some local companies trying to convince others that their engineers’ lack of competence in global business communication is just a cultural issue. This is not true. Being born and brought up in India and having completed my schooling and undergraduate studies here, I believe it’s a matter of quality hiding behind a false curtain of culture, which they are shying away from addressing! (Another topic for another day!)</p><h3><strong>What can I do as an Engineer?</strong></h3><p>Come out of the herd! It’s very important for us as individuals to start identifying our strengths and areas where we need improvement to become more competent. This needs to start from your education. Go beyond the norm and find resources that can help you build skill sets that your institution or current employer is not able to provide. At the end of the day, your career should always be in your control. Be open for feedbacks, Identify the right support system to help you, even if it’s from outside your professional job. Building communication as a core competency is no longer optional!</p><h3>Demand the Quality India can offer</h3><p>I strongly believe India has more than what you are looking for. There are tons of engineering talents capable of performing on the global stage, not just now but historically as well. There has never been a scarcity of the right talent to perform at a global level.</p><p>In conclusion, for the companies coming in search of the right talent, you are in the right place and time! Just put in that extra effort to identify the right talent and push your partners to do the right thing.</p><p>For native companies working with global partners, keep in mind that the quality of engineers you provide also defines the quality of your company and reflects the quality that our country can offer. We know the issue often lies in the quality of education and training in communication skills, rather than the cultural background of the engineers. Prepare a strong, more capable hiring &amp; evaluation process. Commit and make space for such developmental growth of engineers who work for you. On the other hand, Push these challenges down to the institutions where you hire, so the focus can be directly on improving the quality of education and providing additional training in business communication to bridge this gap.</p><p>I hope this piece has made you think about areas where you can contribute to improving some of these challenges. I will come back with another aspect of quality some other day, as life goes on. Thank you!</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=531b82bdc239" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Illusion of Openness: Lessons Learned from Feedback]]></title>
            <link>https://sujaysudheendra.medium.com/the-illusion-of-openness-lessons-learned-from-feedback-9dfd485cb8dd?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/9dfd485cb8dd</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[professional-development]]></category>
            <category><![CDATA[growth-mindset]]></category>
            <category><![CDATA[feedback]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Thu, 18 Apr 2024 08:22:31 GMT</pubDate>
            <atom:updated>2024-04-18T08:22:31.573Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A double-edged sword</strong></p><p>In a world where communication is key, feedback plays a vital role in personal and professional growth. We’re often taught that constructive criticism is essential for improvement, and many of us assume that everyone welcomes it with open arms. But what happens when that assumption backfires?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BnCYJ_TvsygxKL5n" /></figure><p>Recently, I had an eye-opening experience that shattered my belief in the universal acceptance of feedback. It happened during a visit to a renowned hospital, where signs urging patients to “share our experience on Google” adorned the walls. Eager to contribute, I left a candid review detailing the areas for improvement.</p><p>To my surprise, my feedback was met with resistance rather than gratitude. Instead of acknowledging the input, the staff reached out to me multiple times, urging me to remove my review. Their reaction left me baffled and frustrated. Wasn’t feedback supposed to be valuable for businesses striving to enhance their services?</p><p>This encounter led me to reflect on a common misconception: the assumption that everyone is open to feedback. We often associate openness with factors like politeness and education. If someone speaks eloquently and appears well-educated, we naturally assume they possess the maturity to accept criticism gracefully. However, reality paints a different picture.</p><p><strong>Feedback can be a double-edged sword</strong></p><p>Especially when it challenges someone’s perception of themselves or their work. Instead of viewing it as constructive criticism aimed at improvement, some individuals take it personally. They may feel attacked or misunderstood, triggering a defensive response rather than a receptive one.</p><p>In the case of the hospital, my feedback was perceived as an unwarranted attack rather than a genuine attempt to help them enhance their services. Despite their outward encouragement for feedback, they were unprepared to handle criticism and resorted to defensive tactics to protect their reputation.</p><p><strong>So, what lessons can we draw from this experience?</strong></p><p>Firstly, we must recognize that not everyone is ready to receive feedback, regardless of their outward demeanor. Secondly, the manner in which feedback is delivered matters just as much as the content itself. Approaching it with tact and empathy can increase the likelihood of it being well-received.</p><p>Moreover, businesses should cultivate a culture that values feedback and views it as an opportunity for growth rather than a threat to their reputation. Encouraging transparency and openness can foster an environment where feedback is welcomed and acted upon constructively.</p><p><strong>How can I apply these learnings at my work?</strong></p><p>Such experiences outside of the workplace hold significant implications for how I approach feedback within my own workplace. Some of the things I can think about:</p><p><strong>Understanding Individual Receptivity</strong>: Recognizing that not everyone is ready to receive feedback is crucial. As a manager, It’s important to take the time to understand the personalities and communication styles of each team member. By doing so, You can gauge their receptivity to feedback and tailor my approach accordingly. Some may prefer direct, candid feedback, while others may respond better to a more nuanced and empathetic delivery.</p><p><strong>Promoting a Feedback-Friendly Culture</strong>: Just as businesses should cultivate a culture that values feedback, so too should teams within organizations. Actively promoting an environment where feedback is encouraged, normalized, and viewed as an opportunity for growth rather than a criticism. This involves leading by example, openly soliciting feedback from your team, and demonstrating how feedback can lead to positive outcomes.</p><p><strong>Emphasizing Constructive Communication</strong>: Effective communication is key to ensuring that feedback is well-received and acted upon. Emphasize the importance of constructive communication within my team, encouraging open dialogue, active listening, and respectful exchange of ideas. By fostering a culture of open communication, we can create a safe space where team members feel comfortable expressing their thoughts and receiving feedback without fear of judgment or backlash.</p><p><strong>Providing Support and Guidance</strong>: It’s essential to support team members in processing and implementing feedback effectively. Offer guidance and resources to help them understand the purpose and value of feedback, navigate any emotional reactions they may experience, and develop strategies for incorporating feedback into their professional development plans. By providing ongoing support, we can empower team(s) to embrace feedback as a tool for continuous improvement.</p><p><strong>Leading with Empathy and Respect</strong>: Finally, Approaching feedback with empathy and respect, acknowledging the impact it can have on individuals’ emotions and self-esteem. Strive to create a feedback culture characterized by trust, understanding, and mutual respect, where team members feel valued and supported in their growth journey.</p><p><strong>Conclusion</strong></p><p>My recent encounter served as a valuable lesson in the complexities of feedback. It reminded me that assumptions can be misleading and that true openness requires a willingness to listen, learn, and grow. Moving forward, I have learnt to approach feedback with greater awareness and discernment, recognizing that not everyone may be ready to accept it, but also understanding its potential to spark positive change when embraced with an open mind.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9dfd485cb8dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Perfect team is filled with imperfections]]></title>
            <link>https://sujaysudheendra.medium.com/perfect-team-is-filled-with-imperfections-59cbeffedad?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/59cbeffedad</guid>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[management-and-leadership]]></category>
            <category><![CDATA[team-building]]></category>
            <category><![CDATA[team-collaboration]]></category>
            <category><![CDATA[work-culture]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Tue, 04 Feb 2020 02:29:50 GMT</pubDate>
            <atom:updated>2020-02-04T03:49:59.846Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/749/0*a28kEtDXnUkfWmYO" /></figure><p>If you think your team is perfect, I want to break it to you that it’s not! And that’s totally fine as well. If you are in a team that is perfect in every area, what are you doing there?</p><p>I believe the imperfections in the team gives everyone an opportunity to grow. It lets you as a team, to innovate, bring in new ideas, diversify and experiment. So don’t be afraid to accept if something is missing in your team. It’s totally normal to have Imperfections, It’s what you do about it that matters.</p><p>Identifying and acknowledging what’s missing is a very important skill. That’s how you get to know where you need to put in efforts to improve yourself. Similarly if you are in a team and want to get it close to perfection, you follow the same approach of acknowledging collective strengths and weaknesses of the team.</p><h3><strong>But I am not the manager!</strong></h3><p>You are not, so what? I believe everyone on the team is equally responsible towards taking the team’s culture forward. Yes, the manager has more influence on it but if you are looking at a good Democratic team, you will notice everyone participates in team building.</p><h3><strong>Trap</strong></h3><p>Don’t build the team as you alone want. It’s often very easy to conclude that you already know what are the qualities of a perfect team but this might be a slippery slope. Everyone has a different definition for<strong> what makes a perfect team.</strong></p><p>So, it’s always better to work towards a common idea of building a great team rather than focusing on achieving an individual’s definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*XDqjHDGf4iYQfqWW" /></figure><h3><strong>Questions are the key!</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/0*zxBBALqGwVsBv1kL" /></figure><p>Whether you are a manager or a teammate, constantly asking the right questions to yourself and the team will yield great results. Whether it’s about what we are missing as a team, what are our collective strengths, weakness and are we diverse?</p><p>Each one of you on the team will have different answers to all these questions. This helps you know everyone’s perspective and hence gives an opportunity to build and work on coming up with a common goal.</p><h3><strong>Trust</strong></h3><p>We cannot talk about a team without talking about trust. I believe there is no team if there is no trust. You cannot achieve much as a team without building trust amongst each other. A professional level of trust is a must.</p><h3><strong>Action</strong></h3><p>Finding imperfections are great but making sure that we are not very pessimistic about it is also very important. It always works out if we take it as a challenge to improve it but falls apart if we dig too much into the imperfections without any action items.</p><h3>Be the change you want to see!</h3><p>Start the conversation, ask bold questions, practice empathy, provide prompt actionable feedback and act promptly on the feedback that you get! Embrace the imperfections and strive hard to keep the diverse thinking alive leading towards a cohesive vision for the team!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xrAid3-dsRl6SU-3" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59cbeffedad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring Capybara to use PhantomJS (Poltergeist) and Selenium at same time]]></title>
            <link>https://sujaysudheendra.medium.com/configuring-capybara-to-use-phantomjs-poltergeist-and-selenium-at-same-time-39c069cb77e1?source=rss-d63d4cca9837------2</link>
            <guid isPermaLink="false">https://medium.com/p/39c069cb77e1</guid>
            <category><![CDATA[rspec]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[phantomjs]]></category>
            <category><![CDATA[capybara]]></category>
            <dc:creator><![CDATA[Sujay Sudheendra]]></dc:creator>
            <pubDate>Fri, 06 Jan 2017 01:11:55 GMT</pubDate>
            <atom:updated>2017-01-06T01:11:55.310Z</atom:updated>
            <content:encoded><![CDATA[<p>We use Capybara with Rspec to run smoke tests against one of our web application. Recently we came across a scenario where we decided to move all our smoke tests from using Selenium to PhantomJs. Mainly because it will help us integrate smoke tests with other automation tools by letting us run all tests through command line.</p><p>We were planning to have these smoke tests kicked off from our Continuous integration system as soon as a build passes and the web application deployment gets complete. With Selenium, any node that runs these tests needs to have a particular version of browser installed, hence adding an overhead of configuration. We didn’t want to bother our utility nodes with all these configurations.</p><h3><strong>Why use both Selenium and PhantomJS?</strong></h3><p>Yes, We initially moved everything to use just PhantomJS. Later came the thought, isn’t it cool to have these smoke tests spin off a web browser when running locally? this will help user see what might be going wrong (if there is a timeout from service etc). It will help us know where things are going wrong when someone wants to debug/update the tests as well. So we decided to go with having more than one option.</p><p>Using Selenium or Poltergeist is something that depends on your use case. But there are scenarios where you might be wanting to have the ability to use selenium as well as PhantomJS at same time.</p><h3>What is capybara?</h3><p>Acceptance test framework for web applications. Capybara can talk with many different drivers which execute your tests through the same clean and simple interface.</p><h3>What is PhantomJS (&amp; Poltergeist)?</h3><p>PhantomJS is a headless WebKit scriptable with a JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.</p><p>Poltergeist is a PhantomJS driver for Capybara.</p><h3>What is Selenium WebDriver?</h3><p>Selenium WebDriver is a tool for writing automated tests of websites. It aims to mimic the behavior of a real user, and as such interacts with the HTML of the application.</p><h3>Configuring the project to use multiple drivers</h3><p>Configuring Capybara to use more than one driver is not that complicated. I will be using firefox as browser for selenium-webDriver but you can always use whatever suits your use case.</p><p>Lets start by adding poltergeist and selenium to the gemfile.</p><pre>gem ‘poltergeist’, ‘~&gt; 1.12.0’<br>gem ‘selenium-webdriver’, ‘~&gt; 2.53.4’</pre><p>To have the ability to switch between these drivers, I have used a configuration file which stores various details including what driver should be used for the current run.</p><pre>configuration.yml</pre><pre>environment:<br>name: &#39;...&#39;<br>//other properties<br>root_app: ‘http://localhost:3000&#39;<br>firefox_options: [ ‘firebug’, ‘downloads’ ]<br>use_selenium: true/false</pre><p>environment at the top level wraps up all the properties needed for the current run. you can ignore other properties which are specific for our app. Note that I have a property <strong>use_selenium </strong>(a boolean) which we will be using further. Also <strong>firefox_options</strong> are something that I will be using to set the firefox profile for the instance of the browser that selenium spins off.</p><p>Now its time to read the configurations from the environment file and register the driver for the run</p><pre>configs =YAML.load(File.read(File.expand_path(‘configuration.yml’)))</pre><pre>environments = configs[‘environments’]<br>Capybara.javascript_driver = :poltergeist</pre><pre>driver = env[&#39;use_selenium&#39;] ? :selenium : :poltergeist</pre><pre># register a driver</pre><pre>environments.map do |env|<br>  profile = ‘’</pre><pre>  if driver == :selenium<br>    profile = load_firefox_profile(env[‘firefox_options’])<br>    options = { app_host: env[‘root_app’] }<br>  else<br>    options = { app_host: env[‘root_app’], js_errors: false }<br>  end</pre><pre>  register_driver(driver, options, profile)<br>end</pre><p>Here I am registering the type of driver based on what is present in <strong>configuration.yml</strong>.</p><p>Selenium requires use to specify a configured firefox profile object, that is what <strong>load_firefox_profile</strong> method is doing. It is setting all necessary properties for a new instance of firefox and returning it so that selenium-webDriver can use it to spin off a new instance.</p><p>If you don’t want any customization for firefox you can replace the <strong>load_firefox_profile</strong> method with just one line:</p><pre>profile = Selenium::WebDriver::Firefox::Profile.new</pre><p>On the other hand if <strong>use_selenium</strong> is set to false,we don’t need any of these extra work related to browser.</p><p><strong>register_driver</strong> is another method where I am actually registering the driver. all it is doing is</p><pre>Capybara.app_host = options.fetch(:app_host) { ‘This is not a valid app_host’ }<br>Capybara.register_driver driver.to_sym do |app|<br>  if driver == ‘selenium’<br>     Capybara::Selenium::Driver.new(app, profile: profile)<br>  else<br>     Capybara::Poltergeist::Driver.new(app, options)<br>  end<br>end</pre><p>Thats it! After these setup, all I had to do is run the existing smoke tests and I was able to see them use Selenium or Poltergeist based on what I had specified in <strong>configuration.yml</strong>.</p><p>So now we are able to integrate our smoke tests to run without browser dependencies on our Continuous Integration system nodes (Jenkins) and trigger these tests using other automation tools we have in place. whenever we want to run them locally we just toggle the <strong>use_selenium</strong> flag in configuration and run the test to see those awesome Specs working on a browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39c069cb77e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>