selenium webdriver tips & tricks

Sunday, 01 February 2015 07:14

There is no method verifyTextPresent in Selenium WebDriver, so if you need to check text on the page, you can use the following methods:

sikuli: an introduction

Monday, 19 January 2015 06:57

Sikuli is a visual technology to automate graphical user interface (GUI) using images (screenshots).

Sikuli consists of:

  • Sikuli Script
  • API for Jython
  • Sikuli IDE

universal image loader. part 3

Thursday, 15 January 2015 12:15

For this, it has four overloaded methods:

  • void displayImage(String url, ImageView view)
  • void displayImage(String url, ImageView view, DisplayImageOptions options)
  • void displayImage(String url, ImageView view, ImageLoadingListener listener)
  • void displayImage(String url, ImageView view, DisplayImageOptions options, ImageLoadingListener listener)

universal image loader. part 2

Tuesday, 13 January 2015 11:29

All manipulations are held by the ImageLoader class. It is a singletone, so to get a single instance of the class, you should call the getInstance() method. Before using ImageLoader to its intended purpose (to display images), you should initialize its configuration - ImageLoaderConfiguration using the init (...) method. Well, then you can use all variations of the displayImage(...) method with a clear conscience.

universal image loader. part 1

Wednesday, 07 January 2015 10:03

When developing applications for Android, one often faces the problem of displaying some graphical content from the Internet. So, you should provide image loading from the Web in an Android app, their processing and displaying with limited memory again and again. And despite the problem homogeneity, each new project imposes its own specific requirements on the task.

You may need to organize caching of downloaded images; if images are rather large, it is necessary to ensure effective working with the memory to prevent the disastrous mistake OutOfMemoryError . It is also possible that an image-stub has to be showed during the image loading; and maybe the same image should be displayed in different size variations, etc.

Page 3 of 10

100.000 visitors per second? the story behind a startup in the cave of lions More