Automation, Automation Framework, Design patterns, Java, Maven, Safari, Selenium

Running selenium scripts on browser Safari and Mac Operating System

Safari Logs

SafariDriver Launcher
 [ 0.007s] [safaridriver.client] Connecting to SafariDriver browser extension...
 [ 0.019s] [safaridriver.client] This will fail if you have not installed the latest SafariDriver extension from
 http://selenium-release.storage.googleapis.com/index.html
 [ 0.020s] [safaridriver.client] Extension logs may be viewed by clicking the Selenium [✓] button on the Safari toolbar
 [ 0.071s] [safaridriver.client] Connected to extension
 [ 0.072s] [safaridriver.client] Requesting extension connect to client at ws://localhost:10975

Continue reading “Running selenium scripts on browser Safari and Mac Operating System”

Advertisements
Agile Testing, central repository, collabration, Continuous Integration, git

A quick beginners guide of git.

The team is when more than 2 people work on a small goal to achieve some concrete task. On every single day we get daily tasks to complete with timelines. From getting up for office, to reach home back, from preparing food, to have lunch on time, from reaching the office on time , having dinner with family on time. Hand-in-hand, we have similar official tasks which are prominent and can cause problem if not met. So as a person all we need is tracking of time, things, tasks and at the same time sharing the same work done or work in progress with each and every member be it a family member or team member.

Continue reading “A quick beginners guide of git.”

AndroidDriver, Appium, Maven, Selenium, TestNG

FAILED CONFIGURATION: @BeforeTest startDriver org.openqa.selenium.SessionNotCreatedException:

ERROR
FAILED CONFIGURATION: @BeforeTest startDriver
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: No app set; either start appium with --app or pass in an 'app' value in desired capabilities, or set androidPackage to launch pre-existing app on device) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 828 milliseconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40'
System info: host: 'HSNMM-KhyatiS', ip: '10.50.33.63', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_79'

Continue reading “FAILED CONFIGURATION: @BeforeTest startDriver org.openqa.selenium.SessionNotCreatedException:”

eclipse, sdk, Selenium

An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

ERROR STACK

An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.11.1.v20160208-0816
No repository found containing: osgi.bundle,com.google.guava,15.0.0.v201403281430
No repository found containing: org.eclipse.update.feature,org.eclipse.emf.common,2.11.1.v20160208-0816
No repository found containing: osgi.bundle,org.eclipse.m2e.archetype.common,1.6.2.20150902-0001
No repository found containing: osgi.bundle,org.eclipse.m2e.core,1.6.2.20150902-0002

Continue reading “An error occurred while collecting items to be installed session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).”

Functional Testing, Functional Tests, interview, Manual Testing, Mobile Testing, Selenium, Test Cases, Test Steps, Testing, Web Testing

Functional test cases of shopping cart.

Here are some areas which we can focus on while testing shopping cart:-

SingleProductAddToCart
1. Select any product.
2. Select Add to Cart icon.

1. Verify that the correct PDP page is shown with all the necessary
links and information.
2. Verify that product should be successfully added to cart and in the Cart icon, 1 should be displayed.

Continue reading “Functional test cases of shopping cart.”

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

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

Automation, Automation Framework, Selenium, System Testing, Testing, Web Automation, Web Testing

How to take screenshots via Selenium.

If we have to prove something to either a developer or a Product owner then we generally we have several ways via which we can actually show the idea to them, but what if whatever you want to show stop working when you actually want to demo it? This is silly, right? But it happens, You have to believe me!!
Continue reading “How to take screenshots via Selenium.”

Automation, Automation Framework, Browser, Functional Testing, Headless browser, Selenium, System Testing, Testing, Web Automation, Web Testing

How to run Selenium tests in headless mode.

Quick, pace, speed are some synonyms which describes us. We , humans, wants pace in each and every act of ours. We want to speed up things as much as we can do. So we try experimenting things as in we try to search for betterment of work, as we are growing in automating things, replacing human acts to programs or machinery.

If I talk about selenium, then the major time which is spent in framework is at execution. And if I go one step more deeper then the initial point where the execution takes time is when it is trying to open browser be it Chrome, IE or any other. So just to wipe out this pain point there is one such browser which works in headless mode, and is compatible with selenium as well.

Continue reading “How to run Selenium tests in headless mode.”

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

airtel money, e commerce, m pesa, m-commerce, mobile money, unbanked

M-commerce use cases

Think of a scenario in which we have a mobile user in India and he wants to send money to his relative living in Africa who does not have any bank account.

Continue reading “M-commerce use cases”

Automation, Automation Framework, Design Pattern, Design patterns, Page Object Model, Testing, Web Automation

Part II – One step deeper into Page Object Model.

As we have already discussed in my last post on page object model, why we need design patterns while coding. In this post, lets see what all pre-requisites are required to get a quick start so that we can get a better understanding of POM aka Page Object Model:

  1. The functionality classes (PageObjects) represent a reasoned common lineage between the pages of the application.
  2. The Page Object pattern act for the screens of your web app as a sequence of objects.
  3. It encapsulates the characteristics represented by a page.
  4. It permit us to mock-up the UI in our tests.
  5. A page object is an object-oriented class that work as an interface to a page of your AUT.

Continue reading “Part II – One step deeper into Page Object Model.”

India

A tribute to my ‘Great Nation’ – India.

I, a proud Indian, believes this is our duty to make all realize that poverty, illiteracy are not the tick-tack game in which we have an option to opt an option or get out of the game when bored. It is a sin which is happening all over in our own country. Today it is a pleasure for me to share some thoughts along with some real picture which will show how we are dealing with these things in our life. And I am sure it will prove to be an eye opener for all those who will read this piece of text.
Continue reading “A tribute to my ‘Great Nation’ – India.”