Posts

What are the Challenges you faced in Selenium automation? How did you solve them?

Image
A year ago we had just started automation testing using Selenium. Our QA team was troubled with testing our React.js web app. The challenge was that the automation framework of Selenium implicitly executes for static objects, but the appearance of objects in any  Single Page Applications  (SPAs) like React.js, Ember.js and AngularJS is unpredictable. As a result the tests would be flaky. Simple hacks to account for waits and elements going stale may not work. And choosing the optimal locator can be tricky as the attributes can disappear during the test due to the dynamic nature of our web app. To solve this we used techniques like nested CSS algorithm for identifying dynamic objects. Built custom solution like “WaitForAngular” in  Protractor can wait for async calls (Protractor works for AngularJS based pages). And used implicit and fluent waits for dynamic objects that need to be visible or interactable with predefined timeouts. We saw some success in our testin...

How do I become selenium architect?

Before starting the automation using any automation tool, it is very important to know how that tool works and how it is architecture. This will helps to take the good advantage of the tool at the same time it will helps to make right automation framework. Let’s get an overview of Selenium web-driver architecture. Selenium can be a little bit confusing. As a beginner you will find how simply you can record and play the selenium scripts but it is not straight forward to how it’s doing that. At first glance it might appear that Selenium is actually driving the browser directly from your code but there’s actually a little bit more going on here and it’s going to help us understand how we can remote execute our test by looking at this basic architecture. So here’s a picture of the architecture for Selenium WebDriver which is the current version of Selenium which I going to explain here. Selenium webdriver architecture mainly divided into three parts Language level bindings Seleniu...

How do I identify fake selenium testers?

There are things that can be done before the hiring interview, during the interview and after. BEFORE THE INTERVIEW The tester gets a Java coding project from  Codility  to be done in 30 minutes . It does not have to be very difficult, even an easy one is good enough. Such as finding all characters from an array that are duplicated. Or checking if a sequence of ( and ) is well formed (each ( has a corresponding )). The solution for this project should show if the tester understands the basics of Java and can write “easy to understand” code for a simple task. If the solution is good,  I ask for a GitHub repository (or a blog link) where the tester has sample Selenium automation code. Looking at code that the tester wrote in the past  shows you what code he may write in the future. Good Selenium testers have sample code available for interviewing purposes so that they can prove before the interview how good they are. When looking at sample code, I...

20 Websites Every Software Tester Should Bookmark for perfect testing scope

For all the software testers, test automation experts and QA enthusiasts out there, we have compiled a list of 20 websites that you should bookmark in 2018. No matter, whether you want to solve a bug, get latest updates, find answers to the interview questions or anything else, this list of 20 websites will cover everything about QA and software testing. 1 .  http://www.guru99.com Guru99 is the most trusted source of knowledge and tutorials for software testing and related topics.The website has a huge list of learning resources and library across topics like test management, performance testing, enterprise testing, mobile testing, security testing and more. Bookmark this website if you are interested in keeping yourself up-to-date with latest learning and training in the software testing domain. 2.  http://www.softwaretestinghelp.com Software Testing Help is a popular website focusing on Software Testing and Quality Assurance topics. With 1 million+ monthly views, the...

How promising is a software testing career?

Image
Software testing  is the evergreen technology in the field of Software engineering, It is as required as software development, If there is a development then it needs testing. Hence The vacancies of software testers will be as same or more than job opportunities of  software developers.  If there are vacancies available for software testers then it is our job to find out the exact   career path to be a professional software tester. All you need is it to be a Good Software Tester..! Software Tester Career Options: Manual Testing Automation Testing Mobile Application Testing Performance Testing Penetration Testing Security Testing Job roles available for Software Testers: Software Tester Manual Tester Software Test Lead Software Test Lead (IT) Quality Assurance Engineer Test Automation Engineer Quality Assurance Manager Test Analyst Software Quality Assurance Manager Senior Test Engineer Senior Test Analyst Test Manager Here is ...

Is test automation a good career to take?

Image
Surely It is..! Automation testing  is an ever green trending technology in the IT field which always has job opportunities for freshers as well experienced professionals. To be more informative Automation testing is also ranked in the  top trending software technologies 2018 list. Here you can read my previous answer regarding  how promising is software testing career for an individual Job Opportunities for a Automation Tester: Check here the latest search result for  automation tester job in India You can also get here the  interview questions and answers from top MNCs  to crack the interview easily. Now, You may think what will be your career path once you have selected software testing as your career..  Here is the answer for you, Hence without any doubt you can choose  automation testing as your career path . All the Best..!

3 Things You Should Know Before Starting Automated Testing

Image
There are many benefits to test automation. The reduced execution time alone is enough to turn heads. But if your organization has plans to implement DevOps, automating testing is no longer a question of if, but when. That’s not to say that all testing should be automated. If you’re still in the process of weighing the pros and cons of adding test automation to your everyday experience, you’ll benefit from reading our blog detailing the perks of test automation. To ensure that you and your organization are set up for success from the moment you launch your first test automation, keep reading this blog. Revolutionizing processes Testing automation has helped us revolutionize our delivery process while driving consistent, calculated releases to our customers. As you might’ve already learned, testing automation can benefit anyone implementing new cloud solutions in their organization. Specifically, large enterprises, complex infrastructures, developers, and testing teams w...

Should I use JMeter or Selenium for load and performance testing of Web applications?

Making sure that your software performs well under expected (or anticipated) peak loads is critical.  Load and performance testing can provide valuable data to identify bottlenecks and problem areas in your software.  The main options available for load and performance testing of Web applications are: HTTP or Protocol based testing Selenium or browser based testing Hybrid option using a combination of protocol and browser based testing These options are very different in the way they work and the results they deliver. HTTP OR PROTOCOL BASED TESTING Protocol based testing solutions (like the ones built with JMeter, Gatling etc.) load the servers with traffic at the protocol (HTTP) level and assess the response of the server to that traffic.  So if you are looking to see how your servers perform under load conditions this works really well.  Additionally, since you are driving protocol (HTTP/S) level traffic, it is easy to generate really large volumes o...

What tests should I automate for digital commerce?

We are seeing a great deal of interest amongst online merchants in using automation to increase the amount of testing on their digital commerce applications.  One question that keeps coming up – “ I believe automation can help me with my testing, but I am not sure what I should automate.  How do I get started? ” We will try to answer this question here. Automation can help improve the testing process for all types of software including digital commerce applications.  Automation works best for tests that must be run frequently, in a highly scalable manner where large numbers of tests have to be completed in a short period of time. Automation also has the advantage of ensuring consistency by eliminating ‘human error’ in testing.   Testing helps identify errors introduced when ‘something changes’ in an application. While code/feature change is the frequent driver of tests, digital commerce applications have ‘change’ introduced by many factors. ...

3 Reasons Why We Must Test Our Automation Framework

Image
A few weeks ago I lectured about the importance of testing the test automation framework. At the beginning of the lecture, I asked the audience the following questions: “Who here writes automation?” – There was almost an entire show of raised hands. “Who here defines themselves as a developer?”- Only a few raised hands. “Who here writes tests for their automation framework?” – The audience was silent. Out of 60 people, not even a single raising hand appeared. This fact did not come as much surprise to me, since testing our automation is not so trivial (at least not currently).  I hope that by the end of this post you will agree with me the testing your automation framework is not something you should give up on. 3 main reasons for writing tests for our automation Reason #1 – We are developers! It is very important that we remember that every one of us who writes code is, first of all, a  developer . Even if your code does not go off to p...