Agile Testing, Loggers, Selenium, Selenium Errors, Selenium Webdriver, Uncategorized, Web Automation, Web Testing

Setting loggers in Selenium

Imports to make

import java.io.File;
import java.io.IOException;
import org.apache.log4j.ConsoleAppender;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.RollingFileAppender;

Continue reading “Setting loggers in Selenium”

Advertisements
Quality Analyst, Testing, Uncategorized

Lessons learned (the hard way)

What we speak is what we have learnt. There are some very basic simple rules which we can follow as we grow as a Quality Analyst. In this post I will share a little of my experience.

Don’t try to test everything, or even close to everything.
Continue reading “Lessons learned (the hard way)”

Uncategorized

Manual testing is eating us,or otherwise..!!

We as a tester always relish on the new things, we always want to discover things.

If we go by definition we have different profiles in IT sector, one of the well-known role is of Quality analyst. She is the person who takes care of the Quality. Lets put it like this she is the guard of our software. As we have guards outside banks who takes care of the money kept inside the bank. Similarly a QAs job is to safeguard software from different areas.

Continue reading “Manual testing is eating us,or otherwise..!!”

Uncategorized

M-commerce .. an insight.

Mobile is a big hit on 21st century, we are so much obsessed with mobile phones that we can not count hours we spend in our day-to-day life without this small device. This is because we want ease in everything, we want more handy , more acessible devices which can drive us busy all time. Its not Facebook, or candy crush or gmail which are killing our time whole day, there are many other things without which we can not close our day.

Continue reading “M-commerce .. an insight.”

Automation, Automation Framework, Cookies, Functional Testing, Java, Java Basics, Java Class, Java Methods, Java Object, Selenium, Testing, Uncategorized, Web Automation

Part 1 – Resolution of some major-frequently-seen Selenium utilities.

This blog will only focus on areas which coders usually search over web. Here I am collating the data according to my own experience. These methods can be added in the Utility class directly to make wide use of different functionalities.

Continue reading “Part 1 – Resolution of some major-frequently-seen Selenium utilities.”

nodejs, protractor, Uncategorized

SyntaxError: Unexpected token while working with protractor on local machine

 ERROR CODE
D:\Protractor\node_modules\protractor\built\logger.js:76
info(...msgs) {
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (D:\gramLabs\code\Protractor\gramLabs\node_modules\protractor\built\configParser.js:6:18)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)

Continue reading “SyntaxError: Unexpected token while working with protractor on local machine”

Continuous Integration, Java, Jenkins, SubVersion, Uncategorized, version control

Jenkins- java.net.BindException: Address already in use

In this post, I will be sharing a solution of error which is very common while starting up Jenkins.

Aug 03, 2018 1:41:25 AM winstone.Logger logInternal
SEVERE: Container startup failed
java.io.IOException: Failed to start Jetty
at winstone.Launcher.<init>(Launcher.java:156)
at winstone.Launcher.main(Launcher.java:354)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Continue reading “Jenkins- java.net.BindException: Address already in use”

Automation, Automation Framework, Selenium, Selenium Errors, Testing, Uncategorized

Exception in thread “main” org.openqa.selenium.WebDriverException: f.QueryInterface is not a function

In this blog post I will share resolution of an issue which is very general and often seen by Selenium developers.

Continue reading “Exception in thread “main” org.openqa.selenium.WebDriverException: f.QueryInterface is not a function”

Continuous Integration, git, Java, Jenkins, Uncategorized, version control

Jenkins installation

Jenkins is a very useful tool not for the DevOps engineer but for the whole agile team. From coding to the last deployment of code it is a widely accepted tool of continuous integration. In this blog post, I will be sharing the steps to install Jenkins.

Jenkins can be installed on the local machine as well as server-client set up in the same way a new software can be added to the Application list.

Continue reading “Jenkins installation”

Uncategorized

Selenium Grid : Forbidden for Proxy , HTTP ERROR: 403

Command to start Selenium Grid at your local


F:\Selenium>java -jar selenium-server-standalone-2.41.0.jar
Aug 20, 2014 7:44:34 PM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid server
2014-08-20 19:44:35.907:INFO:osjs.Server:jetty-7.x.y-SNAPSHOT
2014-08-20 19:44:35.952:INFO:osjsh.ContextHandler:started o.s.j.s.ServletContextHandler{/,null}
2014-08-20 19:44:35.960:INFO:osjs.AbstractConnector:Started SocketConnector@0.0.0.0:4444

Continue reading “Selenium Grid : Forbidden for Proxy , HTTP ERROR: 403”

Functional Testing, Functional Tests, Manual Testing, Performance Tests, Portability Tests, Quality Analyst, Services Testing, Stress Tests, System Testing, Test Cases, Testing, Uncategorized, Usability Tests

How to test ‘Fan’?

If we want to examine any tester then the best way to know him/her is to ask him real time questions over real time examples. Just like the day-to-day objects which we used to work on and see on daily basis. So lets take an instance of ‘Fan’ , and this you see, you use multiple times a day.
Continue reading “How to test ‘Fan’?”

Automation, Quality Analyst, Services Testing, SoapUI, System Testing, Testing, Uncategorized, Web Automation, Web Testing

SoapUI Tutorial Part 2 : A complete run-through of how to make projects in SoapUI

In this piece of write-up, I will share how can we make new projects , test suite , test case , test steps in a new SoapUI .
SoapUI provides multiple option to make a tester more comfortable and getting fast learning curve of services.
It has that capability via which a user work as if he/she is going through any documentation or user manual.
TIP : Right Click is the answer to most of the questions in SoapUI.
Continue reading “SoapUI Tutorial Part 2 : A complete run-through of how to make projects in SoapUI”

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, Automation Framework, Java, Java Basics, Selenium, Uncategorized, Web Automation, Web Testing

org.openqa.selenium.firefox.NotConnectedException Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms- Selenium Issue resolution on Firefox

Hi every one , I have started working on selenium some years back and there are multiple issues which I have seen from the beginning of my career. Today I will share a resolution of an issue which is most common and if you go through the error log you will not get any clue what the issue is all about .

Continue reading “org.openqa.selenium.firefox.NotConnectedException Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms- Selenium Issue resolution on Firefox”