gemhoogl.blogg.se

Difference between selenium webdrive and qtp
Difference between selenium webdrive and qtp











difference between selenium webdrive and qtp

however QTP is limited to Internet Explorer on Windows. Selenium supports Firefox, IE, Opera, Safari on operating systems like Windows, Mac, linux etc.

difference between selenium webdrive and qtp

  • Selenium is used specially for testing web based applications while QTP can be used for testing client serverapplication also.
  • Selenium is an open source whereas QTP is a commercial tool.
  • difference between selenium webdrive and qtp

  • It has highly developer community supported by Googleġ3) Why testers should opt for Selenium and not QTP?Īns: Selenium is more popular than QTP as.
  • It has got powerful methods to locate elements (Xpath, DOM, CSS).
  • Difference between selenium webdrive and qtp mac os#

  • It supports different OS like Windows, Linux and Mac OS.
  • It supports C#, PHP, Java, Perl, Phython.
  • ClickAt command accepts element locator and x, y co-ordinates as arguments. Variables, parameters, packages, methods and classes are annotated some of the JUnit annotations which can be useful areġ1) While using click command can you use screen coordinate?Īns: To click on specific part of element, you would need to use clickAT command. In verification, all the commands are going to run guaranteed even if any of test fails.ġ0) What is JUnit Annotations and what are different types of annotations which are useful ?Īns: In JAVA a special form of syntactic meta-data can be added to Java source code, this is know as Annotations. Verify: Verify command will check whether the element is on the page, if it is not then the test will carry on executing. In other words, the test will terminate at the point where check fails. The test will stop on the step failed, if the asserted element is not available. typekeys() emulates like actual user typingĩ) What is the difference between verify and assert commands?Īns: Assert: Assert allows checking whether an element is on the page or not. Type key populates the value attribute using JavaScript whereas.
  • As there is no object repository concept in Selenium, maintainability of objects becomes difficultĨ) What is the difference between type keys and type commands ?Īns: TypeKeys() will trigger JavaScript event in most of the cases whereas.
  • No vendor support for tool compared to commercial tools like HP UFT.
  • For any reporting related capabilities have to depend on third party tools.
  • It does not support the Bitmap comparison.
  • Selenium supports only web based applications.
  • It enables to create ‘relative’ path expressionsħ) List out the technical challenges with Selenium?Īns: Technical challenges with Selenium are.
  • Double slash ( // ) start selection matching anywhere in the document.
  • It allows you to create ‘absolute’ path expressions.
  • Single slash ( / ) start selection from the document node.
  • It is also useful in identifying the dynamic elements.Ħ) Explain the difference between single and double slash in X-path?
  • Grid: With the help of Grid you can distribute tests on multiple machines so that test can be run parallel which helps in cutting down the time required for running in browser test suitesĪns: Web testing tools Selenium RC and WebDriver are consolidated in single tool in Selenium 2.0ģ) How will you find an element using Selenium?Īns: In Selenium every object or control in a web page is referred as an elements, there are different ways to find an element in a web page they areĤ) List out the test types that are supported by Selenium?Īns: For web based application testing selenium can be usedįor post release validation with continuous integration automation tool could be usedĪns: X-Path is used to find the WebElement in web pages.
  • With most of the browsers Webdriver and RC works.
  • WebDriver and RC: It provide the APIs for a variety of languages like Java.
  • Selenium IDE (Integrated Development Environment) : It is a tool for recording and playing back.
  • 1) What is Selenium and what is composed of?Īns: Selenium is a suite of tools for automated web testing.













    Difference between selenium webdrive and qtp