<?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 Tuba Uluğ on Medium]]></title>
        <description><![CDATA[Stories by Tuba Uluğ on Medium]]></description>
        <link>https://medium.com/@tubaulug?source=rss-9d2b7ec61457------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SUqMRgVXtFNU6-zLRAYUVQ@2x.jpeg</url>
            <title>Stories by Tuba Uluğ on Medium</title>
            <link>https://medium.com/@tubaulug?source=rss-9d2b7ec61457------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 08:25:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tubaulug/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[Cypress ile Test Otomasyonu]]></title>
            <link>https://medium.com/sahibinden-technology/cypress-ile-api-testi-52543449d06c?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/52543449d06c</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 06:47:19 GMT</pubDate>
            <atom:updated>2025-10-15T13:21:21.609Z</atom:updated>
            <content:encoded><![CDATA[<p>Bu blog yazımda sizlere cypress hakkında bilgiler vermek istiyorum. Bildiğiniz üzere yazılım test otomasyonda UI testler için kullandığımız birçok framework var bunlardan bazıları ise; Selenium, Appium, TestGrid, TestComplete, TestCafe ve Cypress.</p><p>Cypress nedir? avantajları ve dezavantajları nedir ? Kullanıldığı alanlar nelerdir ? gibi sorulara hep birlikte yanıt arayacağız. Bir sonraki blog yazımda ise bu kurulum ve örneklerle test süreçlerini anlatmış olacağım.</p><p>Cypress, modern web uygulamaları için geliştirilmiş popüler bir JavaScript tabanlı test otomasyon aracıdır. Özellikle UI (User Interface) ve End-to-End (E2E) testlerinde tercih edilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pU_h27oaQTXPjLxAhMMG0A.png" /></figure><h3>Avantajları</h3><p>1- Tek bir npm paketi ile kurulabilir, ek bağımlılıklara gerek yok.</p><p>2- Test yazmaya başlamak hızlı ve basittir.</p><p>3- Cypress Test Runner ile testler tarayıcıda anlık çalıştırılır.</p><p>4- Testlerin çalışmasını ve adım adım ne yaptığını görme imkanı verir.</p><p>5- Cypress, elementlerin DOM’da oluşmasını veya yüklenmesini otomatik bekler. wait veya sleep gibi manuel beklemeler çoğu zaman gerekmez.</p><p>6- Chrome DevTools ile entegre çalışır, testlerin hangi adımda hata verdiğini kolayca görebilirsiniz.</p><p>7- Hata durumunda ekran görüntüsü (screenshot) ve video kaydı alabilir.</p><p>8- API çağrılarını intercept ve stub yapabilir, mock verilerle test edebilirsiniz. Bu sayede backend hazır olmasa bile testler çalışabilir.</p><p>9- Frontend framework’lerle (React, Angular, Vue) sorunsuz çalışır.</p><p>10- Test sırasında her adımın state’ini görmenizi sağlar (time travel).</p><h3><strong>Dezavantajları</strong></h3><p>1- Çoklu tarayıcı desteği sınırlıdır.</p><p>2- Cypress Chrome, Edge ve Firefox’u destekler ama Safari desteği sınırlıdır.</p><p>3- Mobil tarayıcıları emüle edebilir ama gerçek cihazda test sınırlıdır.</p><p>4- Appium gibi araçlar mobil için daha uygundur.</p><p>5- Cypress, bir seferde yalnızca tek bir tarayıcı penceresi ile çalışır.</p><p>6- Pop-up veya yeni sekme açan senaryolarda kısıtlamalar vardır.</p><p>7- Cypress, frontend odaklıdır. API veya unit testleri için ek araçlar gerekir.</p><p>8- Çok sayıda test olduğunda, test süresi uzun olabilir. (Paralel çalıştırma için ekstra ayar gerekir)</p><h3><strong>Kullanım Alanları</strong></h3><p>1- Kullanıcı senaryolarını baştan sona test etmek için. Örnek: “Kullanıcı giriş yapabiliyor mu, ürün ekleyip ödeme yapabiliyor mu?”</p><p>2- Web sayfalarının görsel ve fonksiyonel testleri. Örnek: Butonlar çalışıyor mu, form doğrulamaları doğru mu?</p><p>3- Jenkins, GitHub Actions, GitLab gibi CI/CD araçlarıyla entegre edilebilir.</p><p>4- Deploy öncesi otomatik test çalıştırılabilir.</p><p>Herhangi bir e ticaret sitesine login olup ürün arama yaparak E2E test senaryosunun cypress ile nasıl yazılacağına bakalım.</p><pre>​Kurulum<br># Projeye Cypress ekleme<br>npm install cypress --save-dev<br># Cypress’i açma<br>npx cypress open<br><br>Bu komut Test Runner’ı açar ve test yazabileceğiniz örnek klasörleri oluşturur.</pre><pre>​describe(&#39;E-ticaret site testi&#39;, () =&gt; {  <br><br>it(&#39;Kullanıcı giriş yapabilir ve ürün arayabilir&#39;, () =&gt; {<br>    <br>    // 1. Adım: Siteye git<br>    cy.visit(&#39;https://example-ecommerce.com&#39;)<br>    <br>    // 2. Adım: Giriş sayfasına git<br>    cy.get(&#39;#loginButton&#39;).click()<br>    <br>    // 3. Adım: Kullanıcı adı ve şifre gir<br>    cy.get(&#39;#username&#39;).type(&#39;testuser&#39;)<br>    cy.get(&#39;#password&#39;).type(&#39;password123&#39;)<br>    <br>    // 4. Adım: Giriş yap<br>    cy.get(&#39;#submitLogin&#39;).click()<br>    <br>    // 5. Adım: Girişin başarılı olduğunu kontrol et<br>    cy.contains(&#39;Hoşgeldiniz testuser&#39;).should(&#39;be.visible&#39;)<br>    <br>    // 6. Adım: Arama kutusuna ürün yaz<br>    cy.get(&#39;#searchBox&#39;).type(&#39;laptop{enter}&#39;)<br>    <br>    // 7. Adım: Arama sonuçlarını kontrol et<br>    cy.get(&#39;.product-item&#39;).should(&#39;have.length.greaterThan&#39;, 0)<br>  })<br>})</pre><pre>​Açıklamalar:<br>.cy.visit(url) → Tarayıcıyı belirtilen URL’ye yönlendirir.<br>.cy.get(selector) → DOM elementini seçer.<br>.type(&#39;text&#39;) → Elemente yazı yazar.<br>.click() → Elemente tıklar.<br>.should(&#39;be.visible&#39;) → Elementin görünür olduğunu doğrular.<br>.{enter} → Enter tuşuna basmak için.<br><br>Cypress otomatik olarak bekleme ve retry yapar, yani element gelene kadar <br>bekler.</pre><h3><strong>Sonuç</strong></h3><p>Otomatik kullanıcı arayüzü testi, yazılım geliştirme yaşam döngüsünün vazgeçilmez bir parçasıdır ve ekiplerin sorunları erken tespit edip çözmesini sağlayarak daha hızlı ve daha güvenilir sürümler sunar.</p><p>Cypress frontend ve E2E testler için harika, kurulumu ve debug’ı kolay. Ancak mobil, çoklu pencere ve backend testlerinde sınırlıdır.</p><p>Bir sonraki blog yazımda görüşmek üzere</p><p>Hoşça kalın.</p><h3>Kaynaklar:</h3><ul><li><a href="https://docs.cypress.io/app/get-started/why-cypress">Cypress testing solutions | Cypress Documentation | Cypress Documentation</a></li><li><a href="https://www.lambdatest.com/blog/cypress-vs-selenium-comparison/">Cypress Vs Selenium: How To Pick The Right Testing Tool For You?</a></li><li><a href="https://www.browserstack.com/guide/cypress-framework-tutorial">Cypress Web Testing Framework: Getting Started | BrowserStack</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52543449d06c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/cypress-ile-api-testi-52543449d06c">Cypress ile Test Otomasyonu</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EDR (Endpoint Detection and Response-Uç nokta Tehdit Algılama ve Yanıt ) Nedir?]]></title>
            <link>https://medium.com/sahibinden-technology/edr-endpoint-detection-and-response-u%C3%A7-nokta-tehdit-alg%C4%B1lama-ve-yan%C4%B1t-nedir-5a69ab874368?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a69ab874368</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 15:00:02 GMT</pubDate>
            <atom:updated>2024-04-16T15:58:35.708Z</atom:updated>
            <content:encoded><![CDATA[<p>Günümüzde kuruluşların siber tehditlere karşı önlem alması çok önemlidir. Siber saldırganlar kuruluşlara saldırırken çok daha gelişmiş teknikler ve karmaşık zararlı yazılımlar kullanmaktadır. Bu denli tehditlerin büyüdüğü bir siber dünyada geleneksel yöntemler olarak nitelendireceğimiz antivirüs cihazları ve güvenlik duvarı (firewall) artık yetersiz kalmaktadır.</p><p>Bunun yanında ekstra yöntemlere de ihtiyaç vardır. Bugünkü yazımda sizlere EDR dan bahsedeceğim. Edr nedir daha önce hiç duydunuz mu? Kuruluşlar neden bu güvenliğe ihtiyaç duyar? Amacı nedir? Kullanıldığında ne gibi faydalar sağlar? Hadi gelin hep birlike bu sorulara yanıt arayalım…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MjWjwe0FVyDPDr_i.jpg" /></figure><p><strong>EDR nedir ?</strong></p><p>Kötü amaçlı yazılım gibi siber tehditleri tespit etmek ve bunlara yanıt vermek için son kullanıcı cihazlarını sürekli izleyen bir uç nokta güvenlik çözümüdür.</p><p>Özetlemek gerekirse; EDR sistemleri bilgisayar ağlarında bulunan uç noktaları korumak için kullanılan bir güvenlik teknolojisidir. Uç nokta diye bahsettiğimiz cihazlara bilgisayarlar, sunucular, mobil cihazlar ve diğer ağa bağlı cihazlar örnek olarak verilebilir.</p><p><strong>EDR nasıl çalışır ?</strong></p><p>Uç noktalarda (Endpoint) devam eden tüm etkinlikleri izler. Kapsamlı, gerçek zamanlı tehdit istihbaratı ve görünürlüğü sunar. Olay verilerini arama, uyarıyı önceliklendirme, şüpheli etkinlik tespiti, tehdit avcılığı ile gelişmiş tehditleri algılama, araştırma ve yanıt verme yetenekleri sağlamaktadır.</p><p>EDR sistemleri bilgisayar ağlarında bulunan uç noktaları korumak için kullanılan bir güvenlik teknolojisidir. Uç nokta diye bahsettiğimiz cihazlara mobil cihazlar, bilgisayarlar, sunucular ve diğer ağa bağlı cihazlar örnek olarak verilebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yL2fbqjRIVF01-Ga.png" /></figure><p><strong>EDR’ın Sağladığı Özellikler Neler?</strong></p><p>Bir EDR sisteminin bileşenleri ve özellikleri, ürüne göre büyük ölçüde değişebilir. EDR, olayların meydana gelmesini etkili bir şekilde durdurabilir, acil tehlikeleri azaltabilir ve bir olaydan sonra sorunu derhal çözebilir. Genel olarak aşağıdaki yeteneklere sahip olmalıdır.</p><p><strong>1- Endpoint (Uç nokta) veri toplama:</strong> Veriler (dosya değişiklikleri, ağ etkinliği vb.) ortamdaki uç noktalardan, genellikle her uç noktaya dağıtılan bir yazılım aracısı aracılığıyla toplanır. Bu veriler daha sonra düzenlenebileceği ve analiz edilebileceği merkezi bir platforma gönderilir.Merkezi platform genellikle bulut tabanlıdır.</p><p><strong>2- Veri analizi:</strong> Machine learning teknolojisiyle, endpointlerden toplanan verilerin analiz edilmesine ve yorumlanmasına yardımcı olur. Herhangi bir tehdidin; ne zaman? nerede? nasıl? ve kim? olduğunu belirlemek için verileri derinlemesine inceleyerek bir olayın temel nedenini bulmak için EDR araçlarını kullanır.</p><p><strong>3- Otomatik yanıt:</strong> EDR aracının şüpheli olarak değerlendirdiği tüm olaylar veya faaliyetler, güvenlik personelinin araştırması için otomatik olarak bir uyarı oluşturur. Daha karmaşık saldırıların çözümü için insan müdahalesi hâlâ gerekli olsa da, kuruluşların olaylara müdahale sürelerini en aza indirmesine yardımcı olmak için otomatik yanıtlar da çok önemlidir.</p><p><strong>4- Veri saklama:</strong> Güvenlik personeli, bir saldırının nasıl gerçekleştiğini belirlemek için olay müdahale süreçleri sırasında geçmiş verilere bakabilir. EDR araçlarından elde edilen bilgiler, bir kuruluşun gelecekteki saldırılara karşı güvenliği güçlendirmesine yardımcı olma açısından son derece değerli olabilir. Bulut tabanlı EDR araçları bu tarz durumlarda daha fazla avantaj sağlar. Cihazların tamamen yok edilmesini içeren en kötü senaryoda bile, olaya kadar giden senaryoyu analiz etmek için bulutta depolanan olay geçmişi kullanılır.</p><p><strong>EDR niçin önemlidir?</strong></p><p>Çoğu kuruluş, büyük miktarda siber saldırıya maruz kalır. Bunların arasında bilinen fidye yazılımı ve e-posta eki gönderen tehditler gibi basit saldırılardan tutun da, tehdit olarak bilinen güvenlik açıklarını veya saldırı yöntemlerini alıp bellekte zararlı yazılım çalıştırma gibi hileli yöntemleri kullanarak, bunları gizlemeye çalışma gibi daha gelişmiş saldırılar yer alır.</p><p>Bundan dolayı uç nokta güvenliği bir kuruluşun siber güvenlik stratejisinin temel bir parçasıdır. Ağ tabanlı savunmalar yüksek oranlı siber saldırıları etkili bir şekilde durdurabilirken bazılarını gözden kaçırabilir. Uç nokta tabanlı savunma çözümü, kuruluşu daha büyük bir güvenlikle donatır ve tehditleri tanımlayıp bunlara yanıt üretmesini hızlandırır.</p><p>Uzaktan çalışma modelini seçen birçok kuruluş için düzgün bir uç nokta koruması giderek daha fazla önem kazanıyor. Evden çalışanlar iş yerinde olanlar kadar siber tehditlere karşı korunmayabilirler ve kişisel cihazlarını en son güncellemeler ve güvenliği olmadan kullanıyor olabilirler. Çalışanlar uzaktan çalışınca geleneksel ofis ortamında çalışmaya kıyasla siber güvenlik konusunda daha az dikkatlide olabiliyorlar.</p><p>Güçlü uç nokta güvenliği çalışanı tehditlerden koruduğu için temelde önemlidir ve siber saldırı risklerine karşı uzaktan çalışanın bilgisayarını saldırıyı karşı önleyebilir.</p><p>EDR güvenlik çözümleri, şüpheli etkinlikleri tanımlamak için dizüstü bilgisayarlardan, masaüstü bilgisayarlardan, mobil cihazlardan, sunuculardan ve hatta bulut iş yüklerinden (workloads) gelen olayları analiz eder. Güvenlik operasyoncuların sorunları ortaya çıkarmasına, araştırmasına ve düzeltmesine yardımcı olmak için uyarılar üretirler.</p><p>EDR araçları ayrıca şüpheli etkinliğe ilişkin verileri de toplar ve bu verileri, ilişkili olaylardan elde edilen diğer bağlamsal bilgilerle zenginleştirebilir. Bu işlevler aracılığıyla EDR, olaya müdahale edecek ekiplerin müdahale sürelerinin kısaltılmasına ve tehditlerin çok büyük soruna sebebiyet vermeden ortadan kaldırılmasında etkili olur.</p><p>Bir sonraki yazımda görüşmek üzere.</p><p>Hoşça kalın!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a69ab874368" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/edr-endpoint-detection-and-response-u%C3%A7-nokta-tehdit-alg%C4%B1lama-ve-yan%C4%B1t-nedir-5a69ab874368">EDR (Endpoint Detection and Response-Uç nokta Tehdit Algılama ve Yanıt ) Nedir?</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Page Object Model in Selenium ?]]></title>
            <link>https://tubaulug.medium.com/whats-page-object-model-in-selenium-9427c76f3576?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/9427c76f3576</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Sun, 05 Mar 2023 21:36:07 GMT</pubDate>
            <atom:updated>2023-05-30T08:36:33.302Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What’s Page Object Model in Selenium ?</strong></h3><p>Page Object helps reduce the boilerplate code needed to create Page Object and makes the automation code more maintainable and readable.</p><p>In Page Factory, the Page Object Model (POM) is combined with the @FindBy annotation to create Page Objects. The @FindBy annotation is used to locate and initialize web elements on a web page. It is used to find web elements based on their types, such as ID, name, class, or CSS selector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/0*YYFrurNhg_0VB2U7.png" /></figure><h3><strong>Why Page Object Model ?</strong></h3><p>The benefits of using Page Factory include reduced code duplication, improved code readability, and improved test maintenance. By creating Page Objects with Page Factory, the automation developer can focus on the logic of the tests rather than the implementation details of the web elements. This can help to reduce errors and make the automation code more maintainable over time.</p><h3>Advantages</h3><ul><li>There is a clean separation between the test code and page-specific code, such as locators and layout.</li><li>There is a single repository for the services or operations the page offers rather than having these services scattered throughout the tests.</li><li>İmproved code readability makes the automation code more readable by separating the initialization of web elements from the test code. This makes it easier to understand the intent of the code and the interactions with the web page.</li><li>Better test performance can improve test performance by reducing the overhead of locating web elements on a web page. This is achieved by initializing the Page Object only once per test, rather than for each test method.</li><li>Increases test coverage POM enables testers to create more tests with less effort. This improves test coverage and helps identify more defects, resulting in higher-quality software.</li></ul><p>Let’s understand the POM concept with a complete set of programs.</p><p>In this section, we are going to automate the Sahibinden.com login page.</p><p><strong>Scenario:</strong></p><p><strong>BaseClass;</strong></p><pre>package pageobjectmodel;<br><br>import io.github.bonigarcia.wdm.WebDriverManager;<br>import org.junit.jupiter.api.AfterEach;<br>import org.junit.jupiter.api.BeforeAll;<br>import org.junit.jupiter.api.BeforeEach;<br>import org.openqa.selenium.WebDriver;<br>import org.openqa.selenium.chrome.ChromeDriver;<br>import org.openqa.selenium.html5.LocalStorage;<br>import org.openqa.selenium.html5.SessionStorage;<br>import org.openqa.selenium.html5.WebStorage;<br>import java.util.concurrent.TimeUnit;<br><br>public class BaseClass {<br><br><br>    WebDriver driver;<br><br>    @BeforeAll<br><br>    public static void beforeall() {<br><br>        WebDriverManager.chromedriver().setup();<br>    }<br><br>    @BeforeEach<br><br>    public void beforeTest() {<br><br>        driver = new ChromeDriver();<br><br>        driver.get(&quot;https://www.sahibinden.com/&quot;);<br>        driver.manage().timeouts().implicitlyWait(30, TimeUnit.MINUTES);<br>        driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.MINUTES);<br>        driver.manage().timeouts().setScriptTimeout(30, TimeUnit.MINUTES);<br><br><br>        LocalStorage localStorage = ((WebStorage) driver).getLocalStorage();<br>        localStorage.setItem(&quot;feature_discovery_data&quot;, &quot;{\&quot;add-to-favorites\&quot;:{\&quot;count\&quot;:1,\&quot;displayedAt\&quot;:1666694107010},\&quot;extended\&quot;:true}&quot;);<br><br>        SessionStorage sessionStorage = ((WebStorage) driver).getSessionStorage();<br>        sessionStorage.setItem(&quot;feature_discovery_displayed&quot;, &quot;true&quot;);<br><br>    }<br><br>    @AfterEach<br><br>    public void afterTest() {<br><br>        driver.close();<br>        driver.quit();<br><br>    }<br>}</pre><p><strong>SahibindenLoginPage;</strong></p><pre>package pageobjectmodel.page.login;<br><br>import org.openqa.selenium.WebDriver;<br>import org.openqa.selenium.WebElement;<br>import org.openqa.selenium.support.FindBy;<br>import pageobjectmodel.page.BasePage;<br><br><br>public class LoginPage extends BasePage {<br><br>    public LoginPage(WebDriver webDriver) {<br>        super(webDriver);<br>    }<br><br><br>    @FindBy(id = &quot;loginSelectionPageEmail&quot;)<br><br>    public WebElement socialEmailİnput;<br><br><br>    @FindBy(id = &quot;signInWithEmail&quot;)<br><br>    public WebElement signInWaitEmail;<br><br>    @FindBy(id = &quot;username&quot;)<br><br>    public WebElement username;<br><br>    @FindBy(id = &quot;password&quot;)<br><br>    public WebElement password;<br><br>    @FindBy(id = &quot;userLoginSubmitButton&quot;)<br>    public WebElement userLoginSubmitButton;<br><br>    @FindBy(id = &quot;onetrust-accept-btn-handler&quot;)<br>    public WebElement cookieAccept;<br><br>    @FindBy(id=&quot;secure-login&quot;)<br>    public WebElement clickGirisYapButton;<br><br>    @FindBy(css=&quot;[type=&#39;password&#39;]&quot;)<br>    public WebElement clickPassword2;<br><br>    public void socialEmail() {<br><br>        socialEmailİnput.sendKeys(&quot;testtuba@outlook.com&quot;);<br><br>    }<br><br>    public void clickSignInWaitEmail() {<br><br>        signInWaitEmail.click();<br>    }<br><br><br>    public void setUsername() {<br><br><br>        username.clear();<br><br>        username.sendKeys(&quot;testtuba@outlook.com&quot;);<br><br>    }<br><br>    public void setPassword() {<br><br>        password.sendKeys(&quot;test12345&quot;);<br>    }<br><br>    public void closeCookıe() {<br><br>        cookieAccept.click();<br>    }<br><br>    public void clickSubmitButton() {<br><br>        userLoginSubmitButton.click();<br><br>    }<br><br>    public void setClickGirisYapButton(){<br>        clickGirisYapButton.click();<br>    }<br><br>    }</pre><p><strong>SahibindenLoginTestCase.java;</strong></p><pre>package pageobjectmodel;<br><br>import extention.LogExtension;<br>import extention.TestExtension;<br>import extention.TestStatusExtension;<br>import org.apache.logging.log4j.LogManager;<br>import org.apache.logging.log4j.Logger;<br>import org.junit.jupiter.api.*;<br>import org.junit.jupiter.api.extension.ExtendWith;<br>import pageobjectmodel.page.login.LoginPage;<br><br><br>public class Login extends BaseClass{<br>    private static final Logger logger = LogManager.getLogger(Login.class);<br><br><br>    LoginPage loginPage;<br><br>    @BeforeEach<br><br>    public void before(){<br><br>      loginPage = new LoginPage(driver);<br><br>    }<br><br>    @Tags({@Tag(&quot;Social Login&quot;),@Tag(&quot;Standart Login&quot;),@Tag(&quot;Login&quot;)})<br>    @ExtendWith({TestExtension.class, LogExtension.class, TestStatusExtension.class})<br><br>    @Test<br>    public void socialLogin(){<br><br>        driver.get(&quot;https://secure.sahibinden.com/giris&quot;);<br>        loginPage.socialEmail();<br>        loginPage.clickSignInWaitEmail();<br>        loginPage.setUsername();<br>        loginPage.setPassword();<br>        loginPage.clickSubmitButton();<br><br>    }<br><br>    @Test<br><br>    public void standartLogin() throws InterruptedException{<br><br>        driver.get(&quot;https://secure.sahibinden.com/giris&quot;);<br>        loginPage.setUsername();<br>        Thread.sleep(2000);<br>        loginPage.setPassword();<br>        loginPage.clickSubmitButton();<br>        Assertions.assertTrue(true);<br>        logger.info(&quot;sahibinden.com&#39;a giriş yapıldı&quot;);<br><br>    }<br>}</pre><p>You can watch this video to learn Page Object Model in Selenium, create Page Object Model without Page Factory, and create Page Object Model with Page factory.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FVpIdZ7_WBp0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DVpIdZ7_WBp0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FVpIdZ7_WBp0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5dac8e230e21e829c22ced7549763ed1/href">https://medium.com/media/5dac8e230e21e829c22ced7549763ed1/href</a></iframe><p>I hope these article have helped you better understand Page Object Model in Selenium. See you in the next other articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9427c76f3576" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Log4j in Selenium?]]></title>
            <link>https://tubaulug.medium.com/what-is-log4j-in-selenium-265672c8eb32?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/265672c8eb32</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Tue, 21 Feb 2023 19:14:36 GMT</pubDate>
            <atom:updated>2023-04-04T10:45:14.850Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/718/0*7gu6nQFx9yGFzKyP" /></figure><p>Log4j is an audit logging framework that gives information about what has happened during execution. It offers the following advantages :</p><ol><li>Enables us to understand the application run.</li></ol><p>2. Log output can be saved that can be analyzed later.</p><p>3. Helps in debugging, in case of test automation failures.</p><p>4. Can also be used for auditing purposes to look at the application’s health.</p><h3>Components of Log4j</h3><p>The Log4j logging framework comprises the following components:</p><ul><li><strong>Loggers</strong>: Loggers are responsible for capturing the log messages and sending them to the appropriate appenders.</li><li><strong>Appenders</strong>: Appenders are responsible for outputting the log messages to a specific destination, such as a console, file, or database.</li><li><strong>Layouts</strong>: Layouts are responsible for formatting the log messages before we send them to the appenders.</li></ul><h4>1- Loggers</h4><ol><li>Logger Class — To fully use the logger, create an instance for a logger class where all the generic methods will be at the user’s disposal, required to use Log4j.</li><li>Log Levels — These are the methods that will be used to print the log messages. There are primarily only a few log levels that are used in a script.</li></ol><ul><li>All — This level will prioritize and include everything in the logs.</li><li>Error — This level will show messages that inform users about error events that may not stop the application.</li><li>Warn — This level will show information regarding warnings, that may not stop the execution but may still cause problems.</li><li>Debug — This level will log debugging information.</li><li>Info — This level will log the progress of the application.</li><li>Fatal — This will print information critical to the system that may even crash the application.</li></ul><h4>2- Appenders</h4><p>It is used to deliver Logevents to their destination. It decides what will happen with log information. In simple words, it is used to write the logs in file. Following are few types of Appenders:</p><ol><li>ConsoleAppender logs to standard output</li><li>File appender prints logs to some file</li><li>Rolling file appender to a file with maximum size</li></ol><h4>3- Layout</h4><p>The layout is where the format in which log messages will appear is decided. There are several layouts one can use for log messages:</p><ol><li>Pattern Layout — The user must specify a conversion pattern based on which the logs will be displayed. Otherwise, it takes the default conversion pattern in case of “no pattern specified”.</li><li>HTML Layout — In this layout, the format of logs will be in the form of an HTML table.</li><li>XML Layout — This will show the logs in an XML format.</li></ol><h3>Why Use Log4j in Selenium?</h3><p>By using Log4j in Selenium, you can improve the quality, stability, and performance of your Selenium tests.</p><ol><li>Improved Debugging and Troubleshooting</li></ol><p>2. Better Test Status Reporting</p><p>3. Improved Code Reusability</p><p>4. Increased Test Flexibility</p><p>You can improve the quality, stability, and performance of your tests and gain valuable insights into the behavior of your tests. Whether you are developing automated tests for a complex web application or a simple script, Log4j can help you achieve your testing goals.</p><p>I hope these article have helped you better understand log4j. See you in the next other articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=265672c8eb32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s Jenkins and How does it work ?]]></title>
            <link>https://tubaulug.medium.com/whats-jenkins-and-how-does-it-work-36bf0fe6f1bb?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/36bf0fe6f1bb</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Sun, 19 Feb 2023 20:37:47 GMT</pubDate>
            <atom:updated>2023-02-23T21:25:51.511Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What’s Jenkins and How does it work ?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/0*H3i_ZYxhUISG0LTG.png" /></figure><h3><strong>What is Jenkins?</strong></h3><p>Jenkins an open source automation server.Jenkins manages and controls software delivery processes throughout the entire lifecycle, including build, document, test, package, stage, deployment, static code analysis and much more.</p><p>You can set up Jenkins to watch for any code changes in places like GitHub, Bitbucket or GitLab and automatically do a build a with tool like Maven. You can utilize container technology such as Docker and Kubernetes, initiate tests and then take actions like rolling back or rolling forward in production.</p><h3><strong>Why Jenkins?</strong></h3><p>Jenkins is one of the top Devops tools because it is free, open-source and modular, and can integrate with pretty much every other Devops tool out there. There are over a thousand plugins that you can use to extend Jenkins’ capabilities and make it more user-specific. All of these plugins and extensions are developed in Java. This means that Jenkins can also be installed on any operating system that runs on Java.</p><h3><strong>What Is Jenkins Used For?</strong></h3><p>Jenkins software’s popularity stems from its ability to track and monitor repetitive activities that emerge throughout a project’s development. For example, if your team is working on a project, Jenkins will continually test your builds and alert you to any mistakes early in the process. it’s top use cases include;</p><p>1- Deploying code into production</p><p>2- Enabling task automation</p><p>3- Reducing the time it takes to review a code</p><p>4- Enhancing coding efficiency</p><p>5- Increasing code coverage</p><h3><strong>What Is a Jenkins Pipeline?</strong></h3><p>Jenkins Pipeline is a collection of jobs or events that brings the software from version control into the hands of the end users by using automation tools. It is used to incorporate continuous delivery in our software development workflow. A pipeline has an extensible automation server for creating simple or even complex delivery pipelines “as code”, via DSL.</p><p>Each Jenkins pipeline has a definition written in a text-based Jenkinsfile which development teams can commit to their source control repository. This textual approach is the core of the pipeline as code method that treats the CD pipeline as an integral part of the application code. Like other code, team members can version and review it.</p><ul><li>Continuous integration server (Jenkins)</li><li>Source control software (GIT)</li><li>Build tool (Maven)</li><li>Automation testing framework (Appium, Selenium)</li></ul><h3>What is Continuous Delivery Pipelines?</h3><p>It contains a group of states called build, deploy, test and release. These events are interlinked with each other. Every state has its events, which work in a sequence called a continuous delivery pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RtgrHFO8KccVXO45.png" /></figure><h3>How Does Jenkins Work?</h3><p>Each time a developer publishes a commit to the source code repository, Jenkins triggers a build. Typically, the commits post to a development branch.</p><p>The build steps include testing the code, ensuring the build does not break. If any error occurs, Jenkins notifies the developer to act accordingly. If all tests pass, the Pipeline proceeds to the integration steps.</p><p>Integration takes longer and requires testing the code against multiple system configurations. Jenkins performs parallel integration tests on different nodes, reducing the time needed to try and integrate code.</p><p>Further down the Pipeline, Jenkins automates user acceptance testing which is a requirement before deployment. If all tests pass, the code merges into the main branch, making the code available to the users.</p><p>In this video we go over what is Jenkins, and how we can install Jenkins and create CI/CD Pipelines.</p><p>Let’s deep dive into learning Jenkins in detail.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFX322RVNGj4%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFX322RVNGj4&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFX322RVNGj4%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d0b6100010c5a6641f3efe6afa5a87b1/href">https://medium.com/media/d0b6100010c5a6641f3efe6afa5a87b1/href</a></iframe><p>I hope these article have helped you better understand Jenkins. See you in the next other articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36bf0fe6f1bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Selenium ?]]></title>
            <link>https://medium.com/sahibinden-technology/what-is-selenium-7f9895992b61?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f9895992b61</guid>
            <category><![CDATA[yazılım]]></category>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 15:36:33 GMT</pubDate>
            <atom:updated>2023-01-05T15:27:51.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Selenium ?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*Zv5-0i4N5n2hmqvU.jpeg" /></figure><p>Hi everyone !</p><p>I would like to explain selenium tool. Do you know what is Selenium ? Do you have any idea why it is used ? Have you ever heard Selenium ? if you don’t know or you know a little bit it. Good, you’re right address. Let’s start.</p><p>Selenium is a free, open-source automation testing suite for web applications across different browsers and platforms. Selenium focuses on automating web-based applications.</p><p>Only testing web applications is possible with Selenium. You cannot use it to test desktop applications or mobile applications.</p><h3>What are the advantages of Selenium?</h3><ol><li>Selenium is open-source, there is no licensing cost involved, which is a major advantage over other testing tools.</li><li>Test scripts can be written in any of these programming languages: Java, Python, C#, PHP, Ruby.</li><li>Tests can be carried out in any of these operation systems: Windows, Mac or Linux.</li><li>Tests can be carried out using any browser: Mozilla Firefox, Google Chrome, Safari or Opera.</li><li>It can be integrated with tools such as TestNG &amp; JUnit for managing test cases and generating reports.</li><li>It can be integrated with Maven, Jenkins &amp; Docker to achieve Continuous Testing.</li></ol><h3>Selenium Tools</h3><p>Selenium is not simply one tool but a collection of software, each catering to the different testing needs of an organization. It has four components:</p><ul><li>Selenium Integrated Development Environment (IDE)</li><li>Selenium Remote Control (RC)</li><li>Selenium WebDriver</li><li>Selenium Grid</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*wQ25BF1jhJjazMVe.png" /></figure><h3>What is Selenium IDE?</h3><p>IDE stands for Integrated Development Environment, which is a plug-in of Firefox, a browser. This is the simplest framework and, therefore, requires developers to switch to Selenium RC for advanced test cases.</p><h3>What is Selenium RC?</h3><p>RC stands for Remote Control, and it permits developers to code in the language of their preference. Selenium RC supports multiple programming languages such as Java, C#, Python, etc.</p><h3>What is Selenium WebDriver?</h3><p>WebDriver automates and controls activities undertaken by a web browser. It does not typically depend on JavaScript but communicates with the browser to control its actions. Like RC, WebDriver additionally supports programming languages such as Java, C#, Python, Ruby, etc. Now, the different types of WebDrivers are:</p><ul><li>FirefoxDriver</li><li>ChromeDriver</li><li>SafariDriver</li><li>OperaDriver</li><li>AndroidDriver</li><li>IPhoneDriver</li><li>HTMLUnitDriver</li></ul><h3>What is Selenium Grid?</h3><p>Grid is employed, along with RC, to execute parallel tests across multiple browsers.</p><h3>How Different Is Selenium WebDriver From Selenium RC &amp; IDE?</h3><ul><li>Selenium IDE worked only in Mozilla while RC and WebDriver work in IE, Chrome, Firefox, Opera, Safari and many other browsers.</li><li>Record and Playback are not supported by Selenium WebDriver and RC, while on the other hand they are supported by Selenium IDE.</li><li>A disadvantage of Selenium RC is that it requires the user to start a server before a script is executed. However, WebDriver, as well as IDE, does not require the user to start any server.</li><li>Coming to the application type, Selenium IDE is a GUI based plug-in. Selenium RC is a standalone application based on Java which allows the user to execute HTML based test suites. But WebDriver being a core API offers multilingual support over different programming languages with the help of bindings.</li><li>The core engine of Selenium IDE and RC is based on JavaScript, while on WebDriver, there is no core engine and the application can be worked with natively using only the browser.</li><li>Compared to IDE and RC, Selenium WebDriver can be a bit complex since the API is larger.</li><li>In Selenium IDE the APIs aren’t object-oriented. It’s a little object-oriented for RC, while on WebDriver, all the APIs are completely objected oriented by nature.</li><li>Selenium IDE and RC do not support mouse cursor movement while WebDriver supports both as well as the movement of the mouse cursor.</li><li>While configuring, Selenium IDE and RC you will be required to append the full XPath using the syntax “xpath=\\”. However, this process is not at all required for WebDriver.</li><li>Selenium WebDriver supports listeners whose implementation is not supported by RC or IDE.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*B6ytjD6CeRyMTK0E.png" /></figure><h3>Advantages of Selenium</h3><ol><li>Selenium is pure open source, freeware and portable tool.</li><li>Selenium supports variety of languages that include Java, Perl, Python, C#, Ruby, Groovy, Java Script, and VB Script. etc.</li><li>Selenium supports many operating systems like Windows, Macintosh, Linux, Unix etc.</li><li>Selenium supports many browsers like Chrome, Firefox, Opera, Safari etc.</li><li>Selenium can be integrated with Maven kind of framework for source code compilation.</li><li>Selenium can be integrated with TestNG testing framework for testing our applications and generating reports.</li><li>Selenium can be integrated with Jenkins or Hudson for continuous integration.</li><li>Selenium can be integrated with other open source tools for supporting other features.</li><li>Selenium supports very less CPU and RAM consumption for script execution.</li></ol><h3>Disadvantages of Selenium</h3><ol><li>Selenium only supports web based application and does not support windows based application. (Selenium automates Web browsers only, using Selenium we can automate Computer Web Applications and Mobile Web Apps, but Selenium doesn’t support Computer Desktop Applications, Mobile Native Applications, and Mobile Hybrid Applications.)</li><li>Selenium needs outside support for report generation activity like dependence on TestNG or Jenkins.</li><li>Selenium does not provide any built in IDE for script generation and it needs other IDE like Eclipse for writing scripts.</li></ol><p>I hope these article have helped you better understand Selenium. See you in the next other articles.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f9895992b61" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/what-is-selenium-7f9895992b61">What is Selenium ?</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Taiko Nedir ?]]></title>
            <link>https://medium.com/sahibinden-technology/taiko-nedir-8cce8d09feda?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cce8d09feda</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 15:36:11 GMT</pubDate>
            <atom:updated>2022-07-21T15:45:14.380Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*sSeeymHcHLVFlByzOUrexw.jpeg" /></figure><h3>Taiko Nedir ?</h3><p>Taiko, Chromium tabanlı tarayıcıları (Chrome, Microsoft Edge, Opera) ve Firefox’u otomatikleştirmek için basit bir API’ye sahip ücretsiz ve açık kaynaklı Node.js kitaplığıdır.</p><p>Taiko testleri JavaScript’te veya JavaScript’i derleyen herhangi bir dilde, örneğin TypeScript’te yazılır.</p><p><strong>Neden Taiko Kullanırız ?</strong><br>Taiko’nun API’si, test kullanıcıları için tasarlanmıştır. Diğer test çerçevelerinden farklı olarak Taiko, tarayıcıya bir kara kutu gibi davranır. Taiko ile bir web sayfasına bakarak ve kaynak kodunu incelemeden komut dosyaları yazabiliyoruz.</p><p>S1E12 — Gauge + Taiko ile Test Otomasyon — Tuba TOSUNOĞLU’nun anlatımıyla Taiko ile otomasyon nasıl yazılır izleyebilirsiniz. Benim için çok faydalı ve eğitici bir video oldu.</p><p><strong>Webinar Video:</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFqTo_CWSOJE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFqTo_CWSOJE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFqTo_CWSOJE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d151d17d0c73f19199a99307973e3b5/href">https://medium.com/media/6d151d17d0c73f19199a99307973e3b5/href</a></iframe><h3>Taiko ve Selenium Arasındaki Farklar;</h3><p>1- Taiko, Selenium’dan çok farklıdır. Selenium, WebDriver’ı kullanıır. Taiko, Chrome DevTools protokolünü kullanır. Taiko’nun tarayıcıya bağlanmak ve tarayıcıyı otomatikleştirmek için bir sürücüye (ChromeDriver gibi) ihtiyacı yoktur. Taiko, Chromium’un en son sürümünü kullanır ancak Chrome DevTools Protokolünü destekleyen herhangi bir tarayıcıyı otomatikleştirebilir.</p><p>2- Taiko, Safari tarayıcısını ve mobil uygulamaların test edilmesini desteklemez.</p><p>3- Taiko yalnızca JavaScript’i ve JavaScript’i derleyen dilleri veya dilleri destekler.</p><p>Taiko ile ilgili yabancı kaynak yok denecek az diyebilirim. Ancak aşağıda paylaşacağım linkler size faydalı olacaktır.</p><p>Bir sonraki makalede görüşmek üzere.</p><p>Hoşça kalın !</p><h4>Faydalı Linkler;</h4><p><a href="https://taiko.dev/">Taiko, free and open source browser test automation</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9F0Y1nCYLQw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9F0Y1nCYLQw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9F0Y1nCYLQw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/65f4e8eb2d4d3a24dab5a767a1692dcf/href">https://medium.com/media/65f4e8eb2d4d3a24dab5a767a1692dcf/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FRxASYh94JOs%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRxASYh94JOs&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FRxASYh94JOs%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d9092ffb9bc8d0cf5541313f20401322/href">https://medium.com/media/d9092ffb9bc8d0cf5541313f20401322/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cce8d09feda" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/taiko-nedir-8cce8d09feda">Taiko Nedir ?</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Monolotik Mimari mi yoksa Microservice Mimari mi?]]></title>
            <link>https://medium.com/sahibinden-technology/monolotik-mimari-mi-yoksa-microservice-mimari-mi-234c61e576d5?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/234c61e576d5</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Tue, 11 Jan 2022 07:13:22 GMT</pubDate>
            <atom:updated>2022-01-11T07:13:22.341Z</atom:updated>
            <content:encoded><![CDATA[<p>Günümüz dünyasında artan kullanıcısı sayısı ve buna bağlı gelişen teknoloji ile birlikte uygulamalarımız büyüyor ve yeni özellikler ekleniyor. Bunlar da performans, ölçekleme, deployment gibi birçok problemi beraberinde getiriyor. Bu problemler karşısında uygulamalarımız için mimari olarak kararlar alıyoruz, bu kararların avantaj ve dezavantajları oluyor. Peki, nedir microservice? Bu makalede monolitik mimari ile microservice mimari arasındaki farklara değineceğiz.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*z8LoE2AP-XvROp1Srq1lUQ.png" /></figure><h3>Microservice nedir?</h3><p>Yazılım uygulamasında belirli bir özellik ya da fonksiyonu sağlayan, tek bir amaca hizmet eden, birbirinden bağımsız yazılım servislerdir. Micro hizmet mimarileri, uygulamaları ölçeklendirmeyi ve geliştirmeyi daha hızlı hale getirerek yeniliği mümkün kılar ve sürüm süresini hızlandırır.</p><p><strong>Monolitik ve Microservice Mimari Arasındaki Farklar Nelerdir?</strong></p><p>Monolitik mimarilerde, tüm süreçler sıkı bir şekilde birbirine bağlıdır ve tek bir hizmet olarak çalıştırılır. Bu, uygulamanın bir işlemi talepte ani bir artış yaşarsa, tüm mimarinin ölçeklendirilmesi gerektiği anlamına gelir. Monolitik bir uygulamanın özelliklerini eklemek veya geliştirmek, kod tabanı büyüdükçe daha karmaşık hale gelir. Monolitik mimariler, uygulama kullanılabilirliği için risk ekler, çünkü birçok bağımlı ve sıkı bir şekilde bağlanmış süreçlerde, tek bir yapılan işlemde hatanın etkisini artırır.</p><p>Micro hizmet mimarisiyle, bir uygulama da bağımsız olarak çalışan servisler vardır. Bu servisler, API’ler kullanarak iyi tanımlanmış bir arabirim aracılığıyla iletişim kurar. Her servis tek bir işlevi yerine getirir. Bağımsız olarak çalıştırıldıkları için, her servis bir uygulamanın belirli işlevlerine yönelik talebi karşılamak üzere güncellenebilir, dağıtılabilir ve ölçeklenebilir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*vUGF8ajOOuf6TaG9gD4ptQ.jpeg" /></figure><p><strong>Monolitik Mimarinin Dezavantajları Nelerdir?</strong></p><p>1- Yapının anlaşılması kolaydır.</p><p>2- Hangi programlama dili ile yazıldıysa onun ile devam etmek zorundadır.</p><p>3- Ölçeklendirilmesi yavaştır. (örneğin; x bir alışveriş sitesinde sepete ürünler eklendiğinde ödeme servisinde yoğunluk olur, sadece ödeme servisinin değil tüm uygulamanın ölçeklendirilmesi gerekir.)</p><p>4- Ekibe yeni bir yazılım geliştirici katıldığı zaman uygulamanın bütün yapısını öğrenmek zorunda kalır ve projeye katkı vermeye başlama süresi uzar.</p><p>5- Uygulama büyüdükçe codebase’in yönetilmesi zorlaşır.</p><p>6- Bakımı ve deploy edilmesi zordur.</p><p><strong>Microservice Mimarisinin Avantajları Nelerdir?</strong></p><p>1- Farklı dillerde ve farklı framework’lerde geliştirilir.</p><p>2- Birbirlerinden bağımsız olarak her bir servis değişebilir, kolay test edilir ve build yapılır.</p><p>3- Uygulamanın belirli bir bölümünde değişiklik gerektiğinde, yalnızca ilgili yer değiştirilir, tüm uygulamayı değiştirmeye gerek yoktur.</p><p>4- Ekibe yeni bir yazılım geliştirici geldiğinde, tüm yapıyı öğrenmesine gerek kalmaz.Onun yerine katkı vermesi beklenen servisin yapısını öğrenerek çok kısa zamanda destek verir.</p><p>5- Bir micro hizmet oldukça küçük bir ekip tarafından geliştirilir.</p><p>6- Microservice, kolayca değiştirilebilen ve versiyonları artırılabilen bağımsız bileşenlerdir.</p><p>7- Ölçeklenmesi ve üçüncü taraf hizmetlerle entegrasyonu kolaydır.</p><p>8- Servisler ayrı ayrı deploy edilebileceği için deployment süresi kısalır ve maliyet zamanla azalır.</p><p>9- Bir micro hizmet başarısız olursa, diğeri çalışmaya devam eder (tek parça bir uygulamanın sorunlu bir alanı tüm sistemi tehlikeye atabilsede)</p><p><strong>Sonuç</strong></p><p>Microservice hizmetlerinin Agile ve DevOps ekipleri için birçok faydası vardır. Netflix, eBay, Amazon, Twitter, Instagram, Spotify PayPal ve diğer teknoloji yıldızlarının tümü monolitikten microservice mimarisine doğru evrilmiştir.</p><p>Bir projede hangi mimari yaklaşımın kullanılacağı, projenin ihtiyaçlarına göre belirlenmelidir.Hangi mimari yapının tercih edileceği, projenin büyüklüğüne ve kaynağına göre değişir.</p><p>IBM firmasının yazılım geliştiricisi, Yiğit Polat’ın monolitik ve microservice mimarisini örnek vererek açıklamış olduğu videoya da isterseniz göz atabilirsiniz.</p><p>Bir sonraki makalemde görüşmek üzere.</p><p>Hoşça kalın !</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJta9jw9kAVc%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJta9jw9kAVc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJta9jw9kAVc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/37995c192d8d7b33b168681333dd4e5e/href">https://medium.com/media/37995c192d8d7b33b168681333dd4e5e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=234c61e576d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/monolotik-mimari-mi-yoksa-microservice-mimari-mi-234c61e576d5">Monolotik Mimari mi yoksa Microservice Mimari mi?</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yazılımda Fonksiyonel Olmayan Test]]></title>
            <link>https://tubaulug.medium.com/yaz%C4%B1l%C4%B1mda-fonksiyonel-olmayan-test-7fea9a56cff6?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fea9a56cff6</guid>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Mon, 04 Oct 2021 22:34:20 GMT</pubDate>
            <atom:updated>2021-10-04T22:34:20.209Z</atom:updated>
            <content:encoded><![CDATA[<p>Geçmiş aylardaki makalemde yazılımda fonksiyonel test, türleri ve kullanılan araçlar vs. konularından bahsetmiştim. Hemen peşine ise yazılımda fonksiyonel olmayan testlerden bahsedeceğimi söylemiştim. Araya farklı makaleler yazarak, unuttuğumu fark ettim. Naçizane bilgilerimi, sizlere lafı çok da uzatmadan anlatmak istiyorum. Öyle ise gelin başlayalım…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*4gR-XhGbwKk9fW4W.png" /></figure><p><strong>Fonksiyonel Olmayan Test Nedir ?</strong></p><p>Uygulamanın işlevsel olmayan özelliklerinin test edildiği bir test türüdür. Amaç sistemin hazır olup olmadığını belirlemektir. Cümleyi açmak gerekirse; yazılımın güvenilirliği, yük testi, performansı ve sorumluluğu gibi işlevsel olmayan parametreleri test etmeye yönelik bir tür yazılım testidir diyebiliriz.</p><p><strong>Neden Fonksiyonel Olmayan Test Türlerini Kullanmaya İhtiyaç Duyuyoruz ?</strong></p><p>Yeni geliştirilen yazılım ürünleri için hem fonksiyonel hem de fonksiyonel olmayan testler gereklidir. Ancak fonksiyonel testler manuel değil, otomasyon araçları ile test edilir. Yazılım ürünün kalitesi, performansı, güvenirliği, uygulama içerisinde kaç (bin, milyon..)kullanıcıya kadar hizmet verebileceği gibi durumlar test edilir. Aslında bakacak olursanız birçok parametre var ve bunların sayısını çoğaltabiliriz. O zaman, “fonksiyonel olmayan test türleri nelerdir ?” ve “Hangi araçlar kullanılır ?” sorularına cevap bulmaya çalışalım.</p><p><strong>1- Performans Testi</strong></p><p>Basit bir deyişle, yazılımın performansını test eder. Sistemin yanıt süresinin (request-response sıkça söyleriz bu terimleri plaza dilinde)istenen gereksinime göre, olduğundan emin olmak için performans testi gereklidir.</p><p><strong>2- Yük Testi</strong></p><p>Yük testi, sistemin aynı anda kullanan birden fazla kullanıcının yükünü yönetme becerisini kontrol ederek yapılır. Bu test sırasında, test ekibi birden fazla kullanıcıyla oturum açarak ve herhangi bir belirli modüle veya işleve aynı anda erişerek sisteme baskı yapmaya çalışır. Testin sonuçları, elde edilip edilmediğine bakılmaksızın sistemin gerekli yanıt süresi için kontrol edilir.</p><p><strong>3- Stres Testi</strong></p><p>Sistemin sağlamlığını şiddetli stres altında test etmek için stres testi yapılır. Yük testinde sistemin maksimum kapasitesi bulunurken, stres testinde yük kademeli olarak maksimum kapasiteden daha fazla artırılır ve sistemin davranışı kontrol edilir.</p><p><strong>4- Hacim Testi</strong></p><p>Hacim testi, veritabanı boyutu arttığında sistem performansının kontrol edilmesine yardımcı olur. Veritabanı boyutunu artırdıktan sonra, sistemin veri alışverişinde ne kadar etkili olduğunu kontrol etmek için aynı anda birden fazla sorgu başlatılabilir. Ayrıca yanıt olarak herhangi bir veri kaybı ve yavaşlık olup olmadığını kontrol edilir.</p><p><strong>5- Kullanılabilirlik Testi</strong></p><p>Kullanıcıların uygulamayı ilk kez kullandıklarında temel işlevleri gerçekleştirmelerinin ne kadar kolay olduğunu, deneyimli kullanıcıların işlemleri ne kadar hızlı gerçekleştirebildiği, uygulamanın kullanımının ne kadar kolay ezberlenebildiği, yani bir kullanıcı uygulamayı çok kullanmadan zaman geçirdiğinde, bir dahaki sefere onu etkili bir şekilde kullanacak kadar hatırlayabiliyor mu ? veya yeniden öğrenmeye başlamak zorunda kalıyor mu ?Kullanıcı sistemi kullanırken kaç tane hata yapıyor ve bu hatalar önemli midir ? Kullanıcı sistemi ne kadar beğeniyor veya beğenmiyor gibi konuların test edildiği, test türüdür.</p><p><strong>6- Güvenlik Testi</strong></p><p>Bu tür testlerde, sistemin herhangi bir harici veya dahili saldırıya karşı savaşmaya hazır olup olmadığı test edilir. Yalnızca yetkili ve kimliği doğrulanmış kullanıcıların yazılıma erişmesine izin verildiğinden ve kullanıcıların verilerinin güvenli olduğundan ve gerektiğinde onlar için erişilebilir olduğundan emin olur. (Mobil bankacılıkta, işlem yaparken birçok güvenlik testinden geçeriz.)</p><p>Güvenlik testinin neden en büyük gereksinim olduğuna dair en büyük örnek den biri de, Yahoo’nun 2014&#39;teki siber saldırıya uğramasını verebiliriz. 500 milyon kullanıcının hesabı çalınmış ve verileri (isimler, doğum tarihleri, şifreler gibi) elde edilmişti. O yıllarda, Yahoo’nun kullanıcı hesapları en az üç kez saldırıya uğramış ve bu da Yahoo’nun Verizon Communications tarafından satın alınması sırasında değerinin düşmesine neden olmuştur.</p><p><strong>Fonksiyonel Olmayan Test Araçları</strong></p><p><strong>1- JMeter </strong>Apache JMeter, Java ile yazılmış bir performans test aracıdır. Açık kaynaklı bir yazılımdır, serbestçe kullanılabilir ve platformdan bağımsızdır. Ayrıca Selenium ile entegrasyonu destekler, birim test aracı olarak da kullanılabilir.</p><p><strong>2- LoadRunner </strong>JMeter gibi LoadRunner da bir performans test aracıdır. Birim ve entegrasyon test aracı olarak kullanılabilir. Performans testi söz konusu olduğunda pazar lideridir. LoadRunner ayrıca bir arayüz kitaplığı bildirerek JMeter ve Selenium’dan gelen komut dosyalarını da destekler. Ücretsiz değildir ancak deneme sürümünde belirli sayıda kullanıcıya izin verir.</p><p><strong>3- NeoLoad</strong> Java ile yazılmış bir performans test aracıdır. Ayrıca Java’da yazılmış mevcut Selenium komut dosyalarını da destekler.</p><p><strong>4- WebLOAD Professional </strong>Başka bir performans test aracıdır. Ayrıca Selenium ve Perfecto Mobile’ı da destekler.</p><p><strong>5- LoadTracer</strong> Trace Technologies Pvt tarafından C dilinde geliştirilmiş bir performans test aracıdır.</p><p>Bir sonraki makalemde görüşmek üzere…</p><p>Hoşça kalın</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fea9a56cff6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yazılımda Riskleri Nasıl Yönetebiliriz ?]]></title>
            <link>https://medium.com/sahibinden-technology/yaz%C4%B1l%C4%B1mda-riskleri-nas%C4%B1l-y%C3%B6netebiliriz-473ff08f0afe?source=rss-9d2b7ec61457------2</link>
            <guid isPermaLink="false">https://medium.com/p/473ff08f0afe</guid>
            <category><![CDATA[yazılım]]></category>
            <dc:creator><![CDATA[Tuba Uluğ]]></dc:creator>
            <pubDate>Tue, 31 Aug 2021 15:11:02 GMT</pubDate>
            <atom:updated>2021-09-02T11:01:55.046Z</atom:updated>
            <content:encoded><![CDATA[<h3>Yazılımda Riskleri Nasıl Yönetebiliriz ?</h3><p>Daha önceki makalemde risk yönetimi ve risk çeşitlerinden bahsetmiştim. Bu haftaki makalemde ise, yazılımda riskleri nasıl yönetebileceğimizden bahsedeceğim. Öncelikle “Risk yönetimi nedir ?” konusu ile başlayalım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*lNhconwfbwqx5KBg.jpg" /></figure><p><strong>Yazılımda Risk Yönetimi Nedir ?</strong></p><p>Risk yönetiminin temel amacı, ürün veya projede çıkabilecek olumsuz etkileri azaltmak için riskin planlanabilmesi ve başlatılabilmesi için potansiyel sorunları ortaya çıkmadan önce belirlemektir. Yazılımda risk yönetimi, yazılım ekibi ve yöneticilerinin projeyi nelerin olumsuz etkileyebileceğini sürekli olarak değerlendirdiği, bu tür olayların meydana gelme olasılığını belirlediği ve bu tür olayların meydana gelmesi durumunda etkiyi belirlediği bir davranış şeklidir.</p><p><strong>Bir yazılım projesi çeşitli risklerle karşılaşabilir;</strong></p><p><strong>1- Teknik riskler</strong>: Yazılım dilleri (java, python), proje boyutu, proje işlevselliği, platformlar, yöntemler, standartlar veya süreçler. Bu riskler aşırı kısıtlamalardan, deneyim eksikliğinden, yetersiz tanımlanmış parametreler veya proje ekibinin doğrudan kontrolü dışındaki hizmet alınan firmalara bağımlılıktan kaynaklanabilir.</p><p><strong>2- Yönetimsel riskler:</strong> Yönetim deneyimi ve planlama eksikliği, eğitim eksikliği, iletişim sorunları, ekip sorunları, yetki eksikliği ve kontrol sorunları.</p><p><strong>3- Finansal riskler:</strong> Nakit akışı, sermaye ve bütçe sorunları vb.</p><p><strong>4- Personel riskleri:</strong> Personel eksikliği, deneyim ve eğitim sorunları, etik ve ahlaki sorunlar, personel arasında çatışmalar.</p><p><strong>5- Diğer kaynak riskleri: </strong>Ekipman ve malzemelerin bulunmaması veya geç teslim edilmesi, yetersiz araçlar, yetersiz çalışma alanı, donanım ve envanter eksikliği.</p><p>Yazılım Mühendisliği Enstitüsü (SEI) tarafından geliştirilen model aşağıda gösterilmektedir. Bu yaklaşım, projedeki tüm risk alanlarına odaklanmaktadır. Bu teknik; ürün, süreç ve kısıtlamalardan kaynaklanan risklerle ilgilenir. Bu riskleri tanımlar ve kategorilere ayırır.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rN3u-xJ6Ed3y5YB3.jpg" /></figure><p><strong>1- Tanımlama (Identify)</strong></p><p>Risklerin yönetilebilmesi için projeye başlamadan önce tanımlanması gerekir. Projede yer alacak ekibin endişeleri ve sorunları var ise bunların dile getirileceği ortamlar oluşturulmalı ve paydaşlar buna teşvik edilmelidir. Ayrıca kaliteli incelemeler yapılarak, projenin tüm aşamaları boyunca riskleri belirlemek için ortak teknikler kullanılmalıdır.</p><p>Riskleri şu şekilde tanımlayabiliriz;</p><ol><li>Bilinen riskler: Proje planı, teslim süresi, yazılım dosyası, geliştirme ortamının kötü olması ve test ortamlarından kaynaklanan sorunlar.</li><li>Bilinmeyen riskler: Doğal afetler, savaş vb.</li><li>Öngörülen riskler: Önceki deneyimlerden edinilen bilgi ve tecrübeler ile tahmin edilebilecek risklerdir.</li></ol><p><strong>2- Analiz Etme (Analyze)</strong></p><p>Risk verilerinin incelenmesini içerir. Önceliklendirme yapılarak en kritik riskler seçilir. Proje yöneticisi risk analizlerini; maliyet, program, performans ve ürün kalitesi üzerindeki etkilerine göre değerlendirir.</p><p><strong>3- Planlama (Plan)</strong></p><p>Proje yöneticisi riski yönetmek, uygun önlemleri planlamak için ilgili paydaşlarla birlikte çalışmalıdır.</p><p>1- Riskin etkisinin azaltılması.</p><p>2- Olası riskten doğabilecek etkilerle mücadele edebilmek için ilgili entegratör firmalara riskin aktarılıp paylaşılması.</p><p>3- Riskin gerçekleşeceği durumlar için alternatif çözümler planlanması.</p><p>4- Riskin göze alınması ve eyleme geçilmemesi (Olası gerçekleşme durumunda risk kabul edilmiş olur.)</p><p><strong>4- İzleme (Track)</strong></p><p>Risklerin durumu ve bu riskleri azaltmak için alınan önlemler izlenir.</p><p><strong>5- Kontrol (Control)</strong></p><p>Yazılım geliştirme yaşam döngüsü boyunca; risk eylem planlarının kontrol edilmesi, planlama sapmalarının düzenlenmesi ve risk yönetimi süreçlerini kapsamaktadır.</p><p><strong>6- İletişim (Communicate)</strong></p><p>İletişim, her alanda olduğu gibi risk yönetiminin tüm işlevleri boyunca etkin olmalıdır. Mevcut riskler, olabilecek riskler ve bunların yönetimi hakkında paydaşlar uygun bir dil ve üslupla konuşabilmelidir. Örneğin; yazılımda bulunan riskler hakkında geliştirici, test ortamındaki riskler içinde test uzmanı yorum yapabilmeli ya da fikrini beyan edebilmeli ve birbirleri ile bilgi alışverişinde bulunabilmelidirler.</p><p><strong>Konuyu özetlemek adına bu soruları kendimize sormalıyız ?</strong></p><p>1- Riskleri belirleyin — ne ters gidebilir?<br>2- Olasılığı ve etkiyi ölçün — bu risk ne kadar olası bir sorun haline gelecek ve etkisi ne olacak?<br>3- Bir karar verin — riskler göz önüne alındığında, onları kabul edip projeye devam ediyor muyuz?<br>4- Potansiyel çözümler üretin — riskleri bilerek ve kabul ederek bunları nasıl azaltabiliriz?<br>5- Risklere dikkat edin — hangi riskler artıyor ve bu riske ilişkin planımız etkin mi?</p><p>Bir sonraki makalede görüşmek üzere…</p><p>Hoşça kalın !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=473ff08f0afe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sahibinden-technology/yaz%C4%B1l%C4%B1mda-riskleri-nas%C4%B1l-y%C3%B6netebiliriz-473ff08f0afe">Yazılımda Riskleri Nasıl Yönetebiliriz ?</a> was originally published in <a href="https://medium.com/sahibinden-technology">Sahibinden Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>