www.ITeLearn.com Call: +1-314-827-5272 Email: learn@itelearn.com
Sr. No.
Point
QTP
Selenium
Remarks
1
Actual end user simulation, Is the test conducted using this tool equivalent to an end user action?
YES
NO
Selenium performs actions in the background on the browser. It modifies the DOM structure of the HTML page in order to perform actions on the page. To be more precise it executes javascript on UI objects within the webpage to perform actions like click, type, select etc. This is the reason why you can execute tests with the browser minimized. QTP claims to perform end user simulation, in other words executing QTP scripts is equivalent to a person performing those steps manually on the application.
2
Support for most UI Components
YES
YES
Certain events, methods and Object properties are not supported by selenium. But broadly most UI components are supported. QTP requires extra addins (plugins, not free) to work with dotNet components.
3
UI-Object management & storage
YES
NO
QTP comes built-in with object repository. Object repository management is quite easy in QTP. Selenium has no such built in feature but objects can be managed using UI-Element user extension. Other custom solutions like properties files can also be used in selenium. But for all such solutions the map file in selenium has to be hand-coded i.e unlike QTP the objects won't be recorded/added automatically .
4
Support for Dialog Boxes
YES
NO
QTP supports all kinds of IE dialog boxes. There is partial support for dialog boxes in Selenium. Some actions like retrieving the tittle of he dialog box can't be performed in selenium
5
Support for file upload scenario
YES
NO
This is the scenario where you upload a file located in your local