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

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