Skip to main content

Posts

Showing posts from August, 2009

How selenium recorder compares with other tools?

I had chance to work on QTP and to sneak in to Test Complete in my Organization. I am bit depressed as to how irrationally QTP and Test Complete record web application and how much script one should tweak manually to make it compact. Let me cite example of Google Search for this. A selenium test for Google Search would be like this - selenium.open("http://www.google.com/"); selenium.type("q", "I love My Company"); selenium.click("btnG"); This certainly gives impression of app being opened, some thing being typed (though "q" might not be very clear here) and some button being clicked (again "bthG" is not very clear here) Same recorded test in QTP be as following - Browser("Google").Page("Google").WebEdit("q").Set "I Love My Company" Browser("Google").Page("Google").WebButton("google search").Click Google With Browser and Page objects embe