Agile Testing, Automation, Helium, Quality Analyst, Selenium, Testing, Web Automation, Web Testing

Helium .. a boon or not to all automation engineers?

‘Selenium’ is the hot-topic in the automation sector, if any developer or tester knows Selenium well, then it is considered  as he can do anything which is required to perform ‘Web automation’. Its been almost a decade when Selenium came up to the market, and as the time passed it became more and more popular. People started taking it more seriously. Not only as a stand-alone tool, merely with the combination of other tools like Maven, Jenkins, TestNG, etc.

Though the work goes on, and people started taking more interest in this automation area, people started finding flaws in this tool. However some were very genuine, on contrary some seems to make less sense.
Continue reading “Helium .. a boon or not to all automation engineers?”

no main manifest attribute, Quality Analyst, Selenium, Selenium Errors, Selenium grid, Test Cases, Test Steps, Testing, Usability Tests, Web Automation, Web Testing

Resolution of some major Errors/Exception which users face while working with Selenium Grid.

1. failed configuration: @beforemethod setup org.openqa.selenium.webdriverexception: error forwarding the new session empty pool of vm for setup capabilities.

Resolution : https://khyatisehgal.wordpress.com/2014/08/27/failed-configuration-beforemethod-setup-org-openqa-selenium-webdriverexception-error-forwarding-the-new-session-empty-pool-of-vm-for-setup-capabilities/

Continue reading “Resolution of some major Errors/Exception which users face while working with Selenium Grid.”

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, DataBase Testing, Quality Analyst, Services Testing, SoapUI, Web Services, Web Testing

SoapUI Tutorial Part 4 : Effectively using JDBC connections and databases in SoapUI

In today’s world , if you are a tester, QA , developer or a UI developer , you can not escape from data. Data is everywhere on web ,in real life , in our computer , in mobile phones , in Television , in books , in files , in banks , everywhere. And as data is getting increased storing them has also became a crucial topic to discuss about.
Continue reading “SoapUI Tutorial Part 4 : Effectively using JDBC connections and databases in SoapUI”

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, Design patterns, Functional Testing, Java, Page Object Model, Quality Analyst, Selenium, Testing, Web Automation, Web Testing

Why to apply Page Object Model in automation frameworks.

Today I will share how and why we can apply design pattern concepts while creating a new framework. Lets try and understand why we need any design pattern in our project. No doubt we can make a framework be it automation or any feature specific project but if we talk about a big Enterprise edition project then we have to think of factors like optimal solutions, performance, maintainability etc. Similarly we can directly use the play-records plugin of Selenium and start applying further concepts over it. Then why people are not utilizing it ? Moreover inclination is more towards Selenium webdriver whole-some project. Let us see what all factors attract a user to use Selenium Webdriver instead of the fact that Selenium IDE can generate automation code in any of your favorite language like Java, etc

  1. Code is rigid.
  2. You can make classes out of the code but not any framework.
  3. You have to certainly perform the record and play option again and again if any test case fail.
  4. This idea will definitely give you a piece of code but not a project on which you can rely upon.

Lets understand this with a picture, it would be difficult for this guy to find a way. But it would be much easier if something like this might happen to him.

Make sense, yeah…err…no!! Ok. What I mean is if we can specify directly that what path to take and when, then it might help the reader to understand better, as simple as this. Design patterns also helps us in doing the same stuff for our code, so that we can arrange our code snippets, classes, packages, etc in such a manner that it would help in making code more readable, understandable and manageable.

Advantages of page object pattern:

  1. Makes tests more readable and robust.
  2. Bring down the duplication of code.
  3. Improves the maintainability of tests, remarkably when there is frequent change in the AUT. (Useful in Agile methodology based projects).
  4. Simple and clear tests.
  5. Good support of tests, because everything is stored in one place.
  6. Easy creation of new tests. In fact, tests can be created by a person not knowing the features of automation tools.
  7. The UI changes, the fix need only be applied in one place.
  8. Code re-use: Able to use the same page object in a variety of tests cases.

In the coming blog I will be discussing how we can apply this Page Object Concept in Selenium scripts.

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