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 Tests, Load Tests, Manual Testing, Performance Tests, Portability Tests, Stress Tests, Test Cases, Testing, Usability Tests

Test cases of ‘folders in Windows OS’.

  • Functional Tests
  1. Creation of folder with all kinds of characters like underscore , hyphen should work.
  2. Verify for all special characters from keyboards like @,&,^ should not work.
  3. Check duplicate folders with same name should not be permitted.
  4. Validate handling of folder creation after 256 characters on windows should not be allowed.
  5. Check unicode characters should not be allowed.
  • Negative Tests
  1. Check renaming of already created folder should display a pop up warning window.
  2. Check renamed folder name should not conflict with already existing folder but warn user from doing it.
  • Usability Tests
  1. Creation of multiple folders should work
  2. Creation of multiple folder of different kinds should be supported.
  3. Maximum limit of folder name should be defined.
  4. Empty name folder should not be allowed
  5. Right click on folder should display multiple options of the folder
  6. Shotcuts like CTRL+N , CTRL +SHIFT+N. DELETE , SHIFT+ DELETE should work in windows OS for creation of folder and deletion of folders.
  • Security Tests
  1. Check for permission of folders.
  2. Check the folder when copied to different OS should work.
  3. Check for the protection of folder from malware.
  4. Check locking of folder can be done easily.
  5. Check for Antivirus settings , if folder creation is blocked.
  6. Check folder creation behavior when system is infected by virus.
  • Portability Tests
  1. Drag and drop of folders should work in windows.
  • Performance Tests
  1. Check the folder while creation or deletion should not take much time.
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, Functional Testing

Agile process -Part -II .

In continuation of my last post where I discussed what are the roles of the teams in the Agile process, here I am going to discuss how agile help in software development. Also how to actually start with agile software development.

The process focuses that there should be continuous interaction between team members. There are several terms which one should know before getting the knowledge of the process.

Sprint This is an iteration wherein all development, testing, discussions happen. It is of fixed time like 1 week, 2 weeks, 3weeks, etc. It has a specific goal to achieve that depends on the scope of sprint.

Backlog This has all the stories that are to be included in the future sprints or releases.

Sprint Story, This is a TO-DO task with specific business value, with a clear scope. Each story has some end functionality and feature.

Sprint Tasks Each story is further divided into small tasks. These tasks can be of any number and format.

Story point Each story is calculated depending upon its complexity, time is taken to do it, etc, And this is added to each story as a story point of it. Story points are always given to stories in the Fibonacci series pattern, 0,1,1,2,3,5,8,…

Sprint velocity For each Sprint a total calculation of story points as a whole determines the velocity of that Sprint.

This process has to drive by various meetings, let’s discuss them.

Sprint Planning 

All the stories are traversed in the backlog and some stories according to the priorities of stories are taken into consideration. Here all team member estimates the stories and gives story points to each story.

Sprint — Daily stand-ups 

In this each team member has to state three details of them :

  • What he/she has done yesterday
  • What he is planning to do
  • What is he doing? Or any blocker if he/she is facing any.

Scrum of scrums 

In this, each team’s Scrum Master collaborates to get an update of each team.

Sprint review

 This is the demonstration part where each team shows the work they have done within this sprint. It takes place at the end of each sprint.

Sprint retrospective

 This is the open space where the team talks on 3 areas:

This happens after the Sprint Retrospective and before the demo of the next sprint.

This is a process in which we can directly call BA within and outside the team, We can manage frequent calls to PO for a better understanding of the product . We can pair with User Acceptance Team for testing and thinking bigger as a customer perspective.

So all in all, unlike traditional models this approach has more interaction, more teamwork, a closer picture of the end product, and a lot more.

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

Automation, Functional Testing, Quality Analyst, Selenium, System Testing, Testing, Web Automation, Web Testing

Web Automation – quick walk !

What is WEB ? Everything which is available over internet is Web .

Automation in layman terms is to imitate a user action. It could be a joker who used to mimic as some child or a Robot doing the same stuff an human used to do.

So Automation is a big picture all-in-all it is a task which once done can save a lot of human manual tasks.

So lets start with how we can start this tour ?

images (4)In software development , automation is as important as manual stuff. And to mention specifically for Testing perspective , Automation testing is a base-line which a Team can rely on.

Continue reading “Web Automation – quick walk !”

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

Automation, Functional Testing, Quality Analyst, Testing, Web Automation, Web Testing

All about Automation and its pros and cons !

The current trend in user interfaces is geared towards graphical user interfaces (GUIs). GUIs are very complicated and hence GUI testing is very time consuming. Automation is a requirement for testing any larger graphical user interfaces, but automating GUI tests isn’t a forthright task. Automation is not that easy at first.

Continue reading “All about Automation and its pros and cons !”

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