adb, Agile Testing, android, Automation, Functional Testing, Java, Mobile Testing

ADB for mobile quality analysts.

As we (QA) are growing more towards automation, we have now started exploring tools which developers are using for their development. Not just for developing our own testing framework but also for capturing logs, checking code smells, etc we can use adb.

And I think this is very cool and good to start exploring in this direction, as learning is never ending and shall never stop. Mobile testing is very dynamic and in this blog I will share some experience over adb for android testing and debugging.
Continue reading “ADB for mobile quality analysts.”

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