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’?”

Advertisements
Selenium, Selenium Errors, Testing, Uncategorized, Web Automation, Web Testing

java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property

java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
at com.google.common.base.Preconditions.checkState(Preconditions.java:177)

at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:105)
at org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:89)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:106)
Continue reading “java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property”

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

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

Fitnium – Quick start !

Den her Romeo bløder
Men du kan ikke se hans blod
Det her er kun følelser
Som denne gamle hund gravede op

Ce Roméo saigne
Mais on ne peut voir son sang
Ce ne sont rien d’autre que quelques sentiments
Que ce vieux chien a réveillé

Bu Romeo kanıyor
Ama kanını göremezsiniz
Bazı duygulardan fazlası değildir
Bu yaşlı köpeğin tekmelediği

Nice song , yeah !!!

Which one of the above translation you find easy to understand. And how you can actually make this understand to all other unheralded persons who does not know ‘Always’ song or Bon Jovi for that matter.
The answer is you will translate the same in to a common language which everyone can understand like ‘English’ in a similar manner like this :

This Romeo is bleeding
But you can’t see his blood
It’s nothing but some feelings
That this old dog kicked up

Continue reading “Fitnium – Quick start !”

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

Behavior Driven Development can make your life more relaxing.

In agile methodology, when we talk about delivery then its all about the customer satisfaction and acceptance. Recently, I presented a session in an open forum stating what Behavior-driven development (BDD) can actually do and how can we start applying BDD in our day-to-day development.

BDD is an interface between a coder and a customer. It turns a requirement into a simplified language, which everyone can understand and then in the backend the required work is done.

Generally, the requirements are not clear initially and then the costs incurred to add changes are more in the long run, say, at the time of delivery. The best part of this technique is that we can bridge the gap and have a common understanding of the Definition Of Done between all; coder,  quality analyst , customer, end user, business analysts. This applies to each and every person who are involved in the software development process right from the initial days to the delivery of the product.

Continue reading “Behavior Driven Development can make your life more relaxing.”

Functional Testing, Quality Analyst, Selenium, System Testing, Testing

Sharing fun through Software testing !

I agree , Software development comes with different flavors but the whole idea is to make a Working Model out of some technical skills and some some creative ideas.

In continuation , Testing in general is what we used to do on daily basis .

For example , if we are going to buy a mobile phone then generally what we used to see in any hand set is what color is most appealing , is the phone handy , is the hand set worth taking in comparison to its price , if i ll start the phone what all specifications i will get , what kind of camera it has , what all NEW features it has , what is the unique thing which is making it different from rest of the phone of different brand having same features but different range , etc etc..

Continue reading “Sharing fun through Software testing !”