Tags » Code Snippets

Adding Captions to Sorgalla jCarousel

I recently was tasked to write up a custom homepage carousel for ‘featured’ content on one of the leading gaming sites on the internet. I am not the kind of person who is going to reinvent the wheel and immediately went hunting for a slider that had the base features I needed. 368 more words

Code Snippets

Java - Getting WebResponse Code and Message

Selenium webdriver doesnt support page response code. Using html unit and webclient we can send request and verify the response from the header. Below is the code for the same. 50 more words

Code Snippets

Get Product Image based on its Position - Magento

You might have seen website where the product images changes when you move mouse on it. In this tutorial i’ll show you how to do it with Magento. 467 more words


Selenium Webdriver - Excel, ChromeDriver, TestData

In this topic, we will try to automate the sample HP application. http://newtours.demoaut.com/mercuryregister.php. All we will do is enter 4 data elements in an excel sheet, read them, launch chrome browser and write the data onto the AUT (Application under test). 356 more words

Code Snippets

Selenium Webdriver - Launching various browsers

Selenium Webdriver is popularly used Test Automation Package. We can use various IDE to actually import this package and automate web applications. In this post i have given the code to launch 3 different browsers using Eclipse IDE : Internet Explorer, Google Chrome and Firefox (Default of Selenium Webdriver). 231 more words

Code Snippets

SOAP UI - Test Execution Log Files

I will be continuing this post from http://testautomationqtp.wordpress.com/2014/07/01/soap-ui-parametirization-using-groovy-script/.

In this post, i have added steps to generate log files while execution. It will create a logfile with today’s date and write all the iterations of responses and requests along with the time stamps in that given day. 888 more words

Code Snippets

[Code Snippet] OS detect với PHP

Bắt đầu với bài viết đầu tiên tôi sẽ giới thiệu với các bạn một đoạn snippet nhỏ mà tôi vẫn dùng cho các ứng dụng web của mình đó là kiểm tra xem hệ điều hành hiện tại của server có phải là Linux hay là Windows. 123 more words

Code Snippets