Automation, Automation Framework, Selenium, System Testing, Testing, Web Automation, Web Testing

How to take screenshots via Selenium.

If we have to prove something to either a developer or a Product owner then we generally we have several ways via which we can actually show the idea to them, but what if whatever you want to show stop working when you actually want to demo it? This is silly, right? But it happens, You have to believe me!!
Continue reading “How to take screenshots via Selenium.”

Automation, Automation Framework, Browser, Functional Testing, Headless browser, Selenium, System Testing, Testing, Web Automation, Web Testing

How to run Selenium tests in headless mode.

Quick, pace, speed are some synonyms which describes us. We , humans, wants pace in each and every act of ours. We want to speed up things as much as we can do. So we try experimenting things as in 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 framework is at execution. And if I go one step more 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 which works in headless mode, and is compatible with selenium as well.

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

Exception, java.lang.NullPointerException, Services Testing, SoapUI, System Testing, Test Cases, Test Steps, Testing, Web Services

java.lang.NullPointerException at com.eviware.soapui.reporting.engine.export.XmlExporter.export

Hi all, its been a month I am working on SoapUI and I started writing blogs on SoapUI. From today onwards I will share the hiccups I have faced while working with SoapUI along with the tutorials chain. So lets get started with an unusual error which some of SoapUI users have faced and many may have not seen.
Continue reading “java.lang.NullPointerException at com.eviware.soapui.reporting.engine.export.XmlExporter.export”

DataBase Testing, Functional Testing, Functional Tests, Load Tests, Manual Testing, Performance Tests, Portability Tests, Quality Analyst, Stress Tests, System Testing, Test Cases, Test Steps, Testing, Usability Tests

How to test ‘elevators’?

Best way to write test case 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 “How to test ‘elevators’?”

Functional Testing, Functional Tests, Manual Testing, Performance Tests, Portability Tests, Quality Analyst, Services Testing, Stress Tests, System Testing, Test Cases, Testing, Uncategorized, Usability Tests

How to test ‘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 daily basis. So lets take an instance of ‘Fan’ , and this you see, you use multiple times a day.
Continue reading “How to test ‘Fan’?”

Automation, Quality Analyst, Services Testing, SoapUI, System Testing, Testing, Uncategorized, Web Automation, Web Testing

SoapUI Tutorial Part 2 : A complete run-through of how to make projects in SoapUI

In this piece of write-up, I will share how can we make new projects , test suite , test case , test steps in a new SoapUI .
SoapUI provides multiple option to make a tester more comfortable and getting fast learning curve of services.
It has that capability via which a user work as if he/she is going through any documentation or user manual.
TIP : Right Click is the answer to most of the questions in SoapUI.
Continue reading “SoapUI Tutorial Part 2 : A complete run-through of how to make projects in SoapUI”

Functional Tests, Load Tests, Manual Testing, Performance Tests, Portability Tests, Quality Analyst, Stress Tests, System Testing, Test Cases, Test Steps, Testing, Usability Tests

How to test ‘Pen’ ?

  • Functional Tests
  1. Pen should have enough grip so that user can get hold of it.
  2. Pen should work on paper.
  3. Pen having more than one refill to work with shall have proper click button so that 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. Pen should have atleast refill in it.
  • Portability Tests
  1. Pen’s weight should not be more than 10gms.
  • Load Tests
  1. 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. Pen should work on board
  3. Pen should not work on leaves.
  4. Pen should work on clothes.
Agile Testing, Automation, Automation Framework, Functional Testing, Quality Analyst, Services Testing, SoapUI, System Testing, Testing, Web Automation

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

SoapUi PRO is a tool where in 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 fantancy 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.”

Automation, Automation Framework, Functional Testing, Quality Analyst, Services Testing, SoapUI, System Testing, Testing, Web Automation, Web Testing

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.”

Automation, Automation Framework, eclipse, Quality Analyst, System Testing, Testing, Uncategorized, Web Automation, Web Testing

org.openqa.selenium.WebDriverException: f.QueryInterface is not a function

org.openqa.selenium.WebDriverException: f.QueryInterface is not a function
Command duration or timeout: 17 milliseconds
Build info: version: ‘2.41.0’, revision: ‘3192d8a6c4449dc285928ba024779344f5423c58’, time: ‘2014-03-27 11:29:39’
System info: host: ‘ksehgal’, ip: ‘192.168.0.95’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.6.0_43’
Session ID: b469c4b9-7596-4b66-b87e-646db4256726
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=firefox, rotatable=false, locationContextEnabled=true, version=29.0.1, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=true, nativeEvents=false, webStorageEnabled=true, applicationCacheEnabled=true, takesScreenshot=true}]

Continue reading “org.openqa.selenium.WebDriverException: f.QueryInterface is not a function”

Agile Testing, Automation, Functional Testing, Selenium Builder, Services Testing, System Testing, Testing, Web Automation, Web Testing

Selenium Builder – Exporting and execution

In continuation with 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. Lets start with an example :
I have opened a website in firefox and I want to automate some actions on this page . Lets 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 me column.

And that’s all.

What I will do for this is ,

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

Continue reading “Selenium Builder – Exporting and execution”

Agile Testing, Automation, Functional Testing, Selenium, Selenium Builder, System Testing, Testing, Web Automation, Web Testing

A tour to Selenium Builder – Locators finding and warming up!

Today I am going to share my experience about a new tool in market. This is a tool which will actually help testers all over the world in automation User Interface or I would say Graphical User Interface .

This tool is still in development and source code is available on ‘git-hub’ . This is launched by sauce labs as an add-on to Firefox.

It works like Selenium IDE but has additional features which are AWESOME !! This helps in

  • finding locators,
  • writing scripts in any language (by exporting option ) ,
  • you can save test suite ,
  • you can directly run you test cases on sauce labs,
  • you can edit/customize your locators,etc

For quick start all you need to do is to go to selenium builder official website from your Firefox browser and click on the install button highlighted in the below picture.  And that is all about the installation , Yipeeiii !!

Continue reading “A tour to Selenium Builder – Locators finding and warming up!”

Agile Testing, Automation, BDD, Behaviour Driven Development, Fintesse, Fitnium, Functional Testing, Quality Analyst, System Testing, Testing, Web Automation, Web Testing

Selenium flavors and their architectural differences.

I have seen many people asking a repetitive question in interviews if they see Selenium written on any Curriculum Vitae of a Test Engineer. Though I believe theoretical and conceptual knowledge is equally important as hand-on experience. As a part of hiring panel I have observed this as a pet question of our hiring team : ‘How about the architectural difference between Selenium versions.’ Of-course , once they are done with questions like ‘What you know all about selenium’ ?
Selenium generally comes in four different flavours :
Selenium IDE , Selenium RC , Selenium Grid and Selenium Webdriver.
I will be sharing the best answer I got and the research which I did so as to understand the architecture of selenium.
Continue reading “Selenium flavors and their architectural differences.”

Agile Testing, Cookies, Functional Testing, Services Testing, System Testing, Testing

Cookies are not that complex to test with Selenium..How??lets have a look!

If we talk in simple terms Cookies are some thing which parents always teach their child ‘Not to have’.
And same applies to some web sites .They can make life tougher of user when cookies are hiding in the web pages and no one can understand ‘what the heck is making my web page to react so weird!!!’

Let me first start why cookies are required and why/ when are not required. There are several types of cookies (of course not chocolate , strawberry , butter ,etc ) which can comes and lives on the web.
For an example, if I want to log into a system and want to stay in the system for ever until I explicitly log out from it , then to maintain this session go live I always requires some sort of cookies which will make this happen for me. This you can count as an advantage , with out a doubt !
But what about this , when I am working on a web page and trying to search for some one and it will navigate me to some stranger’s profile which has no connection with the name i searched for . It is all about the game which cookies does for us 🙂

Continue reading “Cookies are not that complex to test with Selenium..How??lets have a look!”