adb, Agile Testing, android, Automation, Mobile Testing, MTP, PTP

How to start mobile testing in android.

There are multiple approaches you can take to kick start mobile testing. For this you need to understand what you are actually trying to achieve and what constraints you have like how many team members, testing devices, etc.

The first thing you have to have a good environment to start with. There are two ways to do the same one via emulators, and the other on actual devices. Emulators are easily available, free of cost though they are very slow and real results are hard to capture in them. While real devices are fast which lead to real results and are easy to use. 
Continue reading “How to start mobile testing in android.”

DataBase Testing, Databases, DB2, Oracle, Postgres

How to deal with the databases when it stops following its own master.

During my experience in testing, I have worked on multiple databases, and I must say if you are working on database direct interaction then you must have encountered issues now and then over various areas.

One of the major issue is when you are dealing with databases having multiple tables and these tables are connected with each other with constraints like foreign keys, primary keys, triggers, stored procedures etc.

Other being, when a database server is used by various team members then you might see issue related to concurrent users. Today in this piece of write-up I will share how can we deal with multiple databases when multiple user is using one database server. In other words, how can we drop the connections in different databases, how can we make it happen via scripts like Shell scripts, etc.
Continue reading “How to deal with the databases when it stops following its own master.”

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, Functional Testing

Agile process -Part -II .

In continuation to my last post where I discussed what are the roles of the teams in Agile process , here I am going to discuss how agile helps 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 process.

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

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

backlog
Continue reading “Agile process -Part -II .”

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

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, Selenium, Testing

Introduction to Selenium Locators.

Often, Recording and playing back a recorded script using Selenium IDE and Webdriver is just a stepping stone to write a more meaningful test script(see my last blog). Almost, in all the cases, it serves as a template to add more code and to do more.

At times there are many facts which we used to overlook which seems very minute but turns to be very weird when comes to actual writing. While it may be a straight thing to use a locator strategy suggested by the recorded test, this is seldom useful while dealing with dynamic resources. One of them is finding locators.

There are many ways to detect locators in selenium. One way is via Selenium IDE,which records the user action and in return gives the locator. The other way is to find the locator via HTML from web page.
Continue reading “Introduction to Selenium Locators.”

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

Selenium, Testing

Lets talk Selenium !!

In today’s fast paced world, the task of manual testing where huge amounts of data is involved looks very cumbersome. Time is like the wind, it lifts the light and leaves the heavy. We have so little time to get all the things done which we want to do in our busy lives. This really comes into picture when it comes to running your own online business or site.

Many, perchance most, software applications today are written as web-based applications to be run in an Internet browser. The efficacy of testing these applications varies broadly amid-st companies and organizations. In an era of highly interactive and susceptible software processes where many organizations are using some form of Agile methodology, test automation is frequently becoming a exigency for software projects. Test automation is oftentimes the answer. Test automation means using a software tool to run repeatable tests against the application to be tested.

Continue reading “Lets talk Selenium !!”