[ Log On ]

Writing faster WebDriver tests

Posted by frennky on 1/15/2013 @ 10:41 PM in Quality Assurance

Some day ago I met with a friend and had nice chat about testing. Eventually we came to a topic about Selenium. He's been using Selenium mostly for simple test cases, but now he was thinking of using it to test some reporting functionality.

His concern was if Selenium is actually the right tool to help him with that. At that point I said that Selenium is the best free tool for functional testing of web apps that we have now, but it's another thing how good it actually is. It all depends how you use it and for what.

[ more ]

Team Foundation Server Express

Posted by frennky on 12/25/2012 @ 11:10 PM in Quality Assurance

Of all the new developer tools and products that Microsoft launched this fall, Team Foundation Server Express got most of my attention. The fact that it's free and that it comes with reasonable limitations compared to full version, shows that Microsoft is really dedicated to making it's platform stronger.

This blog post won't cover all the features that are included or not, I'll just focus on those that are most interesting.

[ more ]

Disabling Google Ads

Posted by frennky on 12/15/2012 @ 10:41 PM in Quality Assurance

Some time ago I was doing some Selenium Webdriver tests for a website with Google Ads. For QA environment the ads were disabled through some website configuration, but for Staging environment everything was set up as on Live, and so the ads were enabled.

However, this caused some problems when running Webdriver tests. What happened is that on some pages the Webdriver would timeout because the requests made by Google Ads scripts were taking too long.

[ more ]

Switching to English

Posted by frennky on 12/12/2012 @ 3:45 AM in General

It's been more than a year and a half since I started this blog and as every blog author, I haven't written as much as I wanted, but this has been a great year so far, with a lot of great things happening at work and in my personal life and I'm not a bit sorry for not having more time to blog.

So this blog post won't be about me promising that I'll blog more (or less :) it's an announcement that all future posts will be in English. This is a decision which I've made after some thinking and a lot of encouragement from friends and colleagues.

Expect a real blog post soon ;) and thanks for reading.

[ more ]

GZip i shared hosting

Posted by frennky on 5/30/2012 @ 11:58 PM in Web Development

Upotreba kompresije je svakako jedna od tehnika optimizacije web aplikacija. Ukoliko nemamo kontrolu nad IIS konfiguracijom, ili nemamo dovoljno prava, kao npr. u slučaju shared hosting rešenja, možemo uključiti GZip kompresiju kroz web.config same web aplikacije.

[ more ]

Selenium 2 WebDriver injection

Posted by frennky on 5/25/2012 @ 12:01 AM in Quality Assurance

Selenium 2 WebDriver ima podršku za nekoliko browser-a:

  • FireFox 3.6 - 10
  • Internet Explorer 7 - 9
  • Opera 8 - 9
  • Chrome
  • itd.

Kako svi drajver implementiraju IWebDriver interfejs, prirodno je da se testovi pišu korišćenjem ovog interfejsa a ne konkretnog drajvera. Na taj način testovi će raditi sa bilo kojim internet pretraživačem. Međutim, tu se nameće problem kako instancirati konkretan drajver.

[ more ]

Baseless merge

Posted by frennky on 3/12/2012 @ 11:27 PM in Quality Assurance

Cilj ovog članka jeste da objasni šta je baseless merge i kako sprovesti takav merge. Razlog zašto pišem baš o ovome proizliazi i toga da sam više puta bio u situaciji da mi se developeri, pa čak i oni sa više iskustva, obraćaju sa istim problemom: kako izvršiti spajanje grana koje nisu u direktnoj (roditelj-dete) vezi.

[ more ]

Skrivanje interfejsa, klasa i metoda

Posted by frennky on 2/27/2012 @ 10:27 PM in Web Development

Sigurno ste nekom prilikom napravili biblioteku na koju ste bili ponosni, a onda totalno razočarani pretrpanim IntelliSense-om kada pokušate da je koristite. Veliki broj interfejsa, klasa ili metoda čine vašu biblioteku teškom za korišćenje. Pravilnom upotrebom modifikatora pristupa ovaj problem se može samo delimično sanirati, jer neki tipovi jednostavno moraju biti javni. Ovaj problem je naročito očigledan ako ste pravili biblioteku koja izlaže fluent API.

Na svu sreću postoji jedan atribut u okviru System.ComponentModel namespace-a koji nam može u ovome pomoći.

[ more ]