Saturday, June 24, 2017

PPT - Test Automation Using Selenium


To start with, first let's know what is test Automation?. Test Automation is a method in software testing that makes use of special software tools to control the execution of tests and then compares actual test results with predicted or expected results. 
To know more about test automation click here.

Manaul Testing of an application that is changed or updated frequently is time consuming, error prone and a very tedious job to do. So in order to overcome these probllems we use automation testing which is done with help of automation tools. The tools enable us to record the test suite and re-play it if required. 


So, what is selenium? Selenium is an open-source automated software testing tool for testing web applications. It‘s capable of working across different browsers such as internet explorer, Google Chrome, Mozilla Firefox, etc  and operating systems such as Windows, Linux, Macintosh, etc . Selenium is a set of tools that help testers to automate web-based applications more efficiently. These tools are Selenium RC, Selenium IDE, Selenium Webdriver and Selenium Grid.

Why Selenium?


  • Taking the other automation tools into consideration, Selenium has the capability to operate on almost every OS.
  • Selenium is an open source testing tool and hence it serves for cost-effective automation testing.
  • Selenium supports multiple languages such as Python, Pearl, Ruby, PHP, .NET (C#) and Java. You are required to be comfortable in just a single language in order to operate Selenium.
  • One highly beneficial feature of Selenium is that the language used for building the program is independent of the language that the web application or website is using. This implies that the test script can be developed in any of the languages that Selenium supports.
  • This testing tool supports a range of browsers like Opera, Safari, Chrome, IE 6, 7, 8 and Mozilla Firefox.
  • So far as Selenium is concerned, we have a number of robust methods for location of elements such as CSS, Xpath, DOM, and so on.
  • With Selenium, it is convenient to implement frameworks that revolve around Object oriented programming like Keyword Driven, Data driven and Hybrid.
  • Selenium provides support for integration of open source frameworks like TestNG, JUnit, NUnit and so on.
  • With the use of Selenium, it is possible to execute simultaneous tests leveraging various browsers on various machines. This is turn cuts down the time for test execution when a large project is in progress.
Following is the PowerPoint presentation on Test Automation Using Selenium.
I Hope You'll Like It.


Friday, June 23, 2017

What is Test Automation? | Benefits of Automated Testing


Test Automation is a method in software testing that makes use of special software tools to control the execution of tests and then compares actual test results with predicted or expected results. 

When we chooses to build and host a Web application; automated regression testing becomes a responsibility for accomplishment. As the need of Web applications are growing, with each subsequent release, testing needs to grow tremendously. Test automation with an efficient test strategy & right set of tools can relieve the manual testers of mundane labor intensive, repetitive time consuming tasks & allows them to concentrate their efforts on more value-added testing such as –  enhanced user experience testing and functional testing of both new and  changed features.

Benefits of Automation Testing

1.Performing Tests 24/7

No matter where you are in the world. You can start the tests when you leave the office and when you get back in the morning you can see the results and keep on working. You can even do that remotely if you don’t have a lot of devices or you don’t have the possibility to buy them.

2. Early Bug Detection

Automation helps you find bugs in the early stages of software development, reducing expenses and working hours to fix these problems as well.

3. Reusability

Well, this goes perfectly very easy to understand with automated testing. When you have your test scripts prepared using test automation tools, they are saved for the future requirements. So, you can utilize as many times as you want especially for automating regression testing.

4. Easy & Robust Reporting
Automation testing tools have this amazing benefit of tracking each and every test script. Each and every test script executed can be seen in visual logs. These reports can clearly show the no. of test scripts already executed, scheduled, their reported bugs and how they had been fixed.

5. Improves Accuracy

Here, no tester is being blamed. A tester with more than 10 years of experience can also make mistakes when they have to prepare the same old boring manual test scripts again and again. When this done with automated testing, not only the results are accurate, but also saves time.

6. Testing Capabilities


When it comes to capabilities, automated testing tools can test the web applications on the various browsers available in the market via browser testing automation.  Also, when it comes to mobile application testing, you can test them on various devices. This is next to impossible to achieve with manual testing.

7. Distributed Test Execution

Automated testing comes with distributed testing feature. You can easily execute your test scripts on more than one computer on a shared network or server simultaneously. So, you don’t need more than one tool, but only one automated testing tool will be all that you need.

8. Manpower Utilization

If you are implementing test automation in your testing processes, you will require less manual efforts. Thus, it will decrease the no. of people on just one particular project and you can utilize them in the various testing projects.

9. Testing Flexibility

The automated testing tools are developed by the teams who have been into manual testing for years. So, these tools are going to be flexible to match the future testing specifications. You can utilize these testing tools for longer periods of time — say for years.

10. Improves ROI

The most important benefit is the Return on Investment. Obviously, when you are planning to invest in automated testing tools, first you need to figure out how you are going to be benefited with those tools in terms of ROI.
The cost of manual testing includes the time, cost of manual hours and the efforts of the testers, QA managers, etc. And, if you have automated testing tools, you are going to test faster, easily, efficiently, accurately and would be delivering bug-free application within the delivery time period.


Tuesday, June 20, 2017

What to do when Facebook video with captions show on desktop but not on mobile?


There can be two scenarios when you talk about this question. First, when a person is viewing a video on mobile that completely depends upon captions. After watching the video that the person is not able to understand anything from it as the captions in his/her phone were not turned on. Second, you would have created an awesome video with captions for your Facebook page with lots of hard work and you might be thinking that it would get lots of likes and views from people. You uploaded on to your page, but after a day you came to know that it has not got that much of views and likes as it would have been. Later, by mistake you played that video on your mobile and came to know that captions were not shown in the video. But you know that at the time of uploading the video, you had attached the captions with it and captions were shown when you played it on the desktop. 

So, both scenarios can make a person frustrated and can be bad for your or other's Facebook page.

The problem is that when watching videos through mobile devices, the subtitles will not automatically turn on. Users will need to turn on subtitles through the mobile settings of the phone:


  •  On iOS: The person can turn on the captions when sound on by using the  System Setting > General > Accessibility
  •  On Android: The person can turn on the captions using the menu in the  fullscreen player. 
For Facebook owner/admin:-
People who watch your Page's video with sound turned off will automatically see captions (may not work on android phones). People who watch your video with sound turned on will need to turn on captions to see them(by using above steps). The language people see captions in is determined by their preferred language.


Don't let the video completely depend on captions because it may restrict your video to specific audience(people who have turned on captions/subtitles for the videos). The other thing which i used is, request people to turn on the captions. You can request them at the time when you post the video on Facebook page(as depicted in the above image). It really helped me to increase the views on my video. 

So guys, thanks for reading this post. Do comment the other things you might have done for the same reason. 


Featured