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”

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’?”

Agile Testing, Automation, Automation Framework, npm, Testing, Uncategorized, Web Automation, Web Testing

Beautification of console with npm dependency

While submitting a paper in one of the conference I have observed that its not just the code which they see while accepting the submission, but also the efforts you have added to show that the code has different elements which makes it unique And I am not talking about the DS, dynamic programming concepts which are by no choice are important and shall be considered while creating a framework. I will discussing in this post about a console beautification dependency of which can be added to project in very less time and presents a very beautiful welcome note before of the run. This can be a simple and quick add on to your framework, so I thought of adding the same in my project as well.

Continue reading “Beautification of console with npm dependency”
Assertions, Automation, Automation Framework, protractor, soft-assertions, Testing, typescript, Uncategorized, Web Automation

Soft assertions in protractor based typescript automation framework

How many of us has seen that while running code at once glance if the code fails at some step, then other test steps which meant to run post that step is marked as skipped in the final result?

Also, how about rephrasing the same sentence such that the code does not run and marked as skipped in the final run-results challenging the law of ‘fail-fast’. By the execution, we can not infer whether the code was wrong or the functionality dint work as it was an incomplete run for the one who ran it. I am sure many of the QA folks can relate to this. To be more precise, can we relate to this console screenshot.

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”