All Blog Posts (728)

Reading from web table using webdriver

Below is the code to get the data from a specific web table

import java.util.List;

import org.openqa.selenium.By;

import org.openqa.selenium.WebElement;

import org.openqa.selenium.firefox.FirefoxDriver;



public class table

{

    public void getdata() throws Exception

{

     FirefoxDriver fd=new…

Continue

Added by Ankur Srivastava on August 21, 2015 at 6:45 — 2 Comments

Community RoundUp - TestBash Guidelines and more!

Have you seen the TestBash submission guidelines?  It's our no-nonsense approach to selecting speakers.  It might be useful to those planning on submitting to TestBash (submissions close this week!)

Michael Larsen on his …

Continue

Added by Software Testing Club on August 17, 2015 at 22:00 — No Comments

Getting mobile testing right

These days, performing comprehensive mobile application testing - covering all bases to ensure that defects are taken care of before anything is shipped - can feel overwhelming.

Teams can no longer count on software testing for just a single platform or device. Among other things, they may have to deal with the fragmentation of the Android, address multiple modern Web browsers and/or account for unusual constraints and usage…

Continue

Added by Sanjay Zalavadia on August 4, 2015 at 19:00 — No Comments

Name Of JAR Files Which Are Used For Cucumber Integration With Selenium Webdriver

When we want to integrate cucumber with selenium webdriver then we have to add following JAR files in Eclipse for implementation of cucumber -

1. Cucumber-core-1.2.3.jar

2. Cucumber-html-0.2.3.jar

3. Cucumber-java-1.2.2.jar

4. Cucumber-junit-1.2.2.jar

5. Cucumber-jvm-deps-1.0.5.jar

6. Gherkin-2.12.2.jar

7. Hamcrest-core-1.3.jar

8. Jchronic-0.2.6.jar

9. Junit-4.12.jar

You can download all JAR files through below…

Continue

Added by Ankur Srivastava on July 30, 2015 at 9:38 — No Comments

Can Government IT Projects Be Done Using Agile?

 

The CNN moments for the government projects are not uncommon. In the recent years, Obamacare seems to have made it to the list. Even though it is easier to blame the software for the glitch, the issues related to implementing software in government departments are much wider.

The government projects are funded by taxpayers’ money, and transparency is critical. Government need to choose carefully the vendor who could complete the work within stipulated time and budget.…

Continue

Added by Sanjay Zalavadia on July 28, 2015 at 16:00 — No Comments

Why Managers Also Need To Be Effective Coaches

The position of a manager seems fairly straightforward - you are responsible for overseeing the execution of all daily tasks, employee processes and related activities. However, in order to be effective in this role, QA management must go beyond simply managing to actively coaching their staff members.

 

There are a few reasons why effective coaching can be beneficial to teams:

 

1. Helps further goals



Employees who are distant from the…

Continue

Added by Sanjay Zalavadia on July 27, 2015 at 22:00 — No Comments

How to Lead Your Team to Automation Testing Success

Some cool and scary things are happening in my life. In a few weeks, I will be taking over as the Scrum Master for my Development team. The awesome news is that I’m getting a fancy office with an awesome massage chair! Just kidding, I’m not. But I am going to get more responsibility. I am not only going to continue to lead Automated Testing efforts at my company, I am also going to attempt to help the team become more “Agile”.…

Continue

Added by Nikolay Advolodkin on July 14, 2015 at 14:00 — No Comments

Speed Up Your Website Loading Time with These 6 Web Design Tips

While running the business marketing, it is crucial boosting the online presence these days. To cope with it for a long time, a website is a must. The website has become a great marketing tool in today’s competitive level of the business marketing. But, what is the use of having the website, if there are no visitors? The time has come for your business to perform accurately with the website performance.

Improvement is essential, either it is from the website properties or the…

Continue

Added by David Christian on July 10, 2015 at 18:47 — 4 Comments

The Bank of England invites the ethical hackers

Speaking earlier this July, Bank of England Governor Mark Carney, noted that less than a third of financial institutions deemed ‘critical’ to the UK economy have carried out cyber security testing under the Bank’s CBEST…

Continue

Added by Cecilia Rehn on July 7, 2015 at 10:30 — No Comments

How to count number of images available on a web page then download them using selenium webdriver?

The simplest way to gather the images from a website is to find them by tagName.

First we create a WebElement list with the elements which tagName is ”img”.

Then we check the elements to be sure that they are displayed.

If they are displayed then we get their names and sources.

To download them we use the “org.apache.commons.io.FileUtils.copyURLToFile” function.

It is very simple, we just need to add the URL and the file path to it.

In the end we write out the number…

Continue

Added by Ankur Srivastava on July 6, 2015 at 8:13 — No Comments

How to Open Chrome Browser in Selenium WebDriver

First of all you have to download chromedriver.exe file from the below site

https://sites.google.com/a/chromium.org/chromedriver/

then use below code :

System.setProperty("webdriver.chrome.driver","C://chromedriver.exe"); 
WebDriver driver=new ChromeDriver(); // this line launch chrome browser
driver.get("http://www.google.co.in");

Added by Ankur Srivastava on July 3, 2015 at 5:37 — 3 Comments

How to find the number of images on the page?

 
We can find the number using selenium.getXpathCount("//img").intValue() method.
 


selenium=new DefaultSelenium("localhost", 4444, "*firefox", "http://www.yahoo.com");
selenium.start();
selenium.open("/");
int linkCount = selenium.getXpathCount("//img").intValue();
 
How to track the properties for each and…
Continue

Added by Ankur Srivastava on July 2, 2015 at 14:05 — No Comments

Typical journey of a Software Tester

Just consider the job title “Software Tester” and try to think about the job responsibilities. First thing which occurs in mind is to just “Test Software”. But is this is it? Is there is nothing more which a software tester does? Is only testing a software is enough by a tester to complete a project successfully. There are also numbers of other questions which can be pointed and be asked. A misconception which people have in their mind about software testers are that they are just some bunch…

Continue

Added by awais iqbal on June 18, 2015 at 9:42 — No Comments

Quick ruby script to find log errors

This is something I'm still working on in my own time for my automation setup.

If an error occurs on the server it can be quickly flagged and fed into a report.

The following ruby script will read an external text file line by line.

If it finds a line of text containing the string "error" it will feed it into an array, then remove all of the duplicate errors.

I've done some further editing to strip out the time, date and session information for my log…

Continue

Added by Stephen Bates on June 18, 2015 at 8:30 — No Comments

A Poem For Testers

Whilst waiting for some more fixes to be made to my test environment on Friday I was listening to the spoken word musical genius that is Scroobius Pip and wondered what, I myself, could feel so passionately about that I would write a poem to share some of my feelings on.

As I waited and waited for the fix to be worked on and applied I…

Continue

Added by Ashley Parsons on June 8, 2015 at 10:24 — 1 Comment

A Beginner’s Guide to Website Testing

An effective website has a powerful impact on the business. Visitors on the website look for information they need. When it comes to the website testing tools, there are some general locations that focus on the expectations of the first-time users. Website testing tools scrutinize the whole website before making it live.
Hence, if you are a beginner, you need to understand deeply about the functions of a website testing…
Continue

Added by David Christian on June 1, 2015 at 22:49 — 3 Comments

The Art of re-use

In a current role a work colleague said to me whilst complementing me on something ‘everything you do you can re-use’ whilst initially flattered at the compliment it got me thinking, whilst I’ve learnt to spot opportunities for re-use and the time and effort saving benefits that can be gleamed from re-use do other people share this mind-set?…

Continue

Added by Mike Loundes on June 1, 2015 at 11:42 — 2 Comments

Will pentesting scope change soon?

I have an impression that penetration testing is mostly associated with things like port scanning, missing security patch seeking, breaking weak encryption and optionally social engineering. Web Application Penetration Testing is different, isn’t it? Having a lot of experienced, competent and certified pentesters/hackers/IS security professionals with little to no experience with web application security testing, what is going to happen in the industry moving to cloud and adding web access…

Continue

Added by Ainars Galvans on May 27, 2015 at 8:58 — 3 Comments

BugMagnet now allows personalised configurations

BugMagnet 0.8, pushed out to the Chrome Extension store today, allows users to define custom edge cases, boundaries and interesting examples. This was by far the most requested feature since BugMagnet came out, so I certainly hope that the new version helps people be more productive while testing.

Previously, users had to change the main config file and re-build the extension from the…

Continue

Added by Gojko Adzic on May 25, 2015 at 13:33 — 1 Comment

Fifty Quick Ideas To Improve Your Test: Half price this week

I'm incredibly proud that our new book, Fifty Quick Ideas To Improve Your Tests, was the #1 bestseller in both Software Testing and Software Development on Amazon.com today. The book is available on Amazon Kindle at half price until Friday. Here are the quick links:…

Continue

Added by Gojko Adzic on May 20, 2015 at 20:41 — 1 Comment

Blog Topics by Tags

Monthly Archives

2016

2015

2014

2013

2012

2011

2010

2009

2008

2007

2006

Adverts

© 2016   Created by Rosie Sherry.   Powered by

Badges  |  Report an Issue  |  Terms of Service