Sunday 14 October 2012

Introductory training video to Selenium/Java

Hi All,

I was watching some videos related to Selenium/WebDriver, found this one very helpful for beginners. Please watch this video if you want to work on Selenium and java.  This video basically talks about java for beginners.

Note-: I have not prepared this video, this is a just a reference to the people who wants to work on selenium and also follow my blog.



Thanks!!

Sunday 7 October 2012

Selenium Selectors XPath or CSS which one is your favourite?

Hey Guys,

If you people have ever written any selenium scripts, you must be aware of XPath and CSS selectors. They are the most used selectors in Selenium especially XPath. There are other selectors like ID,Class Name, Name, Link Text though exist and you can use them but XPath and CSS gives you an edge while finding an element in  complex HTML structure. Ok so which one is better? XPath or CSS????

In my experience so far, I have used XPath selectors/locators in selenium but in recent times they are my last options to use, Yes I mean, I prefer CSS before XPath. Reason is very simple, XPath is slow. I do write all my tests for IE browser and IE does not support XPath natively and it is damn slow in IE. But as I said, It is my last option that mean, i know when no other selectors finds me an element, XPath is the saviour.

Here I am posting a video by Sauce which is showing  a comparison between XPath and CSS, a really nice video to watch.


Watch the video, and share your experiences with XPath and CSS selectors in Selenium also. Please give your valuable comments to improve the blog. 

Thanks!!

Related Posts

Related Posts...