Agile Practise: Test Phases

To be honest as a QA, we shall not be much process driven.I personally don’t like involving myself in much of a process thing.

But keeping bullets or notes of stuff which I have to do always help in accomplishing a task.

Whenever we kick off any new project or revamp strategies of existing project then its always good to write all your ideas be it process driven or execution driven on a document. This pandemic has made us so flexible & available that such document always help , as sharing such atleast gives a basic idea to the team.

Today what I am sharing is not a hard coded or only source of truth that is followed throughout the industry but yes can be considered .

Continue reading “Agile Practise: Test Phases”

Functional test cases of shopping cart.

Here are some areas which we can focus on while testing shopping cart:-

SingleProductAddToCart

  1. Select any product.
  2. Select Add to Cart icon.
  • Verify that the correct PDP page is shown with all the necessary
  • links and information.
  • Verify that product should be successfully added to cart and in the Cart icon, 1 should be displayed.
Continue reading “Functional test cases of shopping cart.”

ADB for mobile quality analysts.

As we (QA) are growing more towards automation, we have now started exploring tools which developers are using for their development. Not just for developing our own testing framework but also for capturing logs, checking code smells, etc we can use adb.

And I think this is very cool and good to start exploring in this direction, as learning is never ending and shall never stop. Mobile testing is very dynamic and in this blog I will share some experience over adb for android testing and debugging.
Continue reading “ADB for mobile quality analysts.”

How to run Selenium tests in headless mode.

Quick, pace, speed are some synonyms that describe us. We, humans, want pace in each and every act of ours. We want to speed up things as much as we can do. So we try experimenting with things as we try to search for betterment of work, as we are growing in automating things, replacing human acts to programs or machinery.

If I talk about selenium, then the major time which is spent in the framework is at execution. And if I go one step deeper then the initial point where the execution takes time is when it is trying to open browser be it Chrome, IE, or any other. So just to wipe out this pain point there is one such browser that works in headless mode and is compatible with selenium as well.

Continue reading “How to run Selenium tests in headless mode.”

Manual testing is eating us,or otherwise..!!

We as a tester always relish on the new things, we always want to discover things.

If we go by definition we have different profiles in the IT sector, one of the well-known roles is of a Quality analyst. She is the person who takes care of Quality. Lets put it like this she is the guard of our software. As we have guards outside banks who take care of the money kept inside the bank. Similarly, a QA’s job is to safeguard software from different areas.

We as a tester always relish on the new things, we always want to discover things.

If we go by definition we have different profiles in the IT sector, one of the well-known roles is of a Quality analyst. She is the person who takes care of Quality. Lets put it like this she is the guard of our software. As we have guards outside banks who take care of the money kept inside the bank. Similarly, a QA’s job is to safeguard software from different areas.

Continue reading “Manual testing is eating us,or otherwise..!!”

Part 1 – Resolution of some major frequently seen Selenium utilities.

This blog will only focus on areas in which coders usually search over the web. Here I am collating the data according to my own experience. These methods can be added in the Utility class directly to make wide use of different functionalities.

This blog will only focus on areas in which coders usually search over the web. Here I am collating the data according to my own experience. These methods can be added in the Utility class directly to make wide use of different functionalities.

Continue reading “Part 1 – Resolution of some major frequently seen Selenium utilities.”

java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1

java.lang.UnsupportedClassVersionError: com/xtr/parallel/QuickTestWinFF :Unsupported major.minor version 51.0 at
 java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at
 java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at
 java.net.URLClassLoader.access$000(URLClassLoader.java:58) at
 java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native
 Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at
 java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at
 java.lang.ClassLoader.loadClass(ClassLoader.java:247) at
 org.testng.internal.ClassHelper.forName(ClassHelper.java:96) at
 org.testng.xml.XmlClass.loadClass(XmlClass.java:78) at org.testng.xml.XmlClass.init(XmlClass.java:73) at
 org.testng.xml.XmlClass.(XmlClass.java:59) at
 org.testng.xml.TestNGContentHandler.startElement(TestNGContentHandler.java:543) at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at
 com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:17
 9) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788) at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScanneImpl.java:1343) at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) at
 com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at  com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808) at
 com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at
 com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119) at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at
 com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at
 javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) at
 org.testng.xml.SuiteXmlParser.parse(SuiteXmlParser.java:17) at
 org.testng.xml.SuiteXmlParser.parse(SuiteXmlParser.java:10) at org.testng.xml.Parser.parse(Parser.java:172) at
 org.testng.TestNG.initializeSuitesAndJarFile(TestNG.java:311) at
 org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:88) at
 org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) at
 org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
Continue reading “java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1”

java.lang.UnsupportedClassVersionError: com/CucumberOptions/RunCukeTest : Unsupported major.minor version 51.0

Hi all, I am trying to run an existing project of cucumber in my existing eclipse and faced an issue. In this piece of write-up, I will be sharing the resolution of the Error I got while executing the project.

Continue reading “java.lang.UnsupportedClassVersionError: com/CucumberOptions/RunCukeTest : Unsupported major.minor version 51.0”

Test cases of ‘elevators’?

The best way to write test cases is to categorize them such that it can be applied to the given situation. For instance, if I take an example of ‘Lift aka Elevators‘ then what all tests we can actually perform on lift could be like this:

Continue reading “Test cases of ‘elevators’?”

Test cases of ‘Fan’?

If we want to examine any tester then the best way to know him/her is to ask him real-time questions over real-time examples. Just like the day-to-day objects which we used to work on and see on a daily basis. So let’s take an instance of ‘Fan’, and this you see, you use multiple times a day.

Continue reading “Test cases of ‘Fan’?”

Adding ‘Events’ in SoapUI projects

SoapUi provides a wide range of features, and via these capabilities we can not only test our web-services as a whole but also we can implement muliple functions to test an application’s services.
Today I will discuss ‘Events’ in SoapUi so let’s get started.

SoapUi provides a wide range of features, and via these capabilities, we can not only test our web-services as a whole but also we can implement multiple functions to test an application’s services.
Today I will discuss ‘Events’ in SoapUi so let’s get started.

Continue reading “Adding ‘Events’ in SoapUI projects”

Functional test cases of ‘Pen’

Functional Tests
  1. The pen should have enough grip so that the user can get hold of it.
  2. The pen should work on paper.
  3. Pen having more than one refill to work with shall have a proper click button so that the user can opt for the suitable refill to work with.

Usability Tests

  1. Pen’s should not leak when open.
  2. Pen’s should be refilled if its not a use and throw kind of pen.
  3. The pen should have at least a refill in it.

Portability Tests

  1. Pen’s weight should not be more than 10gms.

Load Tests

  1. The pen should work put force abruptly.

Performance Tests

  1. When put in various cold and hot temperature, Pen’s speed should not get effective
  2. The pen should work onboard
  3. The pen should not work on leaves.
  4. The pen should work on clothes.

SoapUI Tutorial Part 1 : A world-class tour to SoapUI PRO.

Soap UI PRO is a tool wherein you just need to click on the actions available to you and you can make your imagination comes true. Services testing was never so easy before the make-believe fantasy of SoapUI PRO creators. I want to thank them before giving you a brief of the tool cum weapon as they say.

Why SoapUI?

SoapUi is a very powerfully built tool which is used for Services testing.

Continue reading “SoapUI Tutorial Part 1 : A world-class tour to SoapUI PRO.”

Best suited tool for web services testing : SoapUI.

Recently I started working on services based project and in this post I will share how I learnt all about SOA(Service bases architecture) along with the way we should begin with.
In today’s life we have several things ,some which are important and we are ignorant about it. Some are not so important but we think about them all the time ,through out our day. And rest lies in between these two categories. Now the point here, which I would like to make is that , the driving factors of all the happenings is Service ,I am referring only Web here. Though ,in general the answer would be ‘Money’ without any doubt.

Continue reading “Best suited tool for web services testing : SoapUI.”

Selenium Builder – Exporting and execution

In continuation of my last blog, I will here share a more advanced capability of Selenium Builder.
Now as we are done with the set up we can talk one step ahead. Let’s start with an example :
I have opened a website in firefox and I want to automate some actions on this page. Let’s say :

 I want to open the URL (https://khyatisehgal.wordpress.com/).
I need to check a blog on this website, the very first one.
I want to see the author’s about my column.

In continuation of my last blog, I will here share a more advanced capability of Selenium Builder.
Now as we are done with the set up we can talk one step ahead. Let’s start with an example :
I have opened a website in firefox and I want to automate some actions on this page. Let’s say :

  1.  I want to open the URL (https://khyatisehgal.wordpress.com/).
  2. I need to check a blog on this website, the very first one.
  3. I want to see the author’s about my column.

And that’s all.

What I will do for this is,

  1. open the firefox
  2. launch the Selenium Builder.
  3. start doing the above steps.

Continue reading “Selenium Builder – Exporting and execution”