Watch, Follow, & Connect with Us. CodeCentral. In software development, a codebase (or code base) refers to a whole collection of source code that is used to build a particular software system, application, or. Snippet is a programming term for a small region of re-usable source code, machine code, or text. Ordinarily, these are formally defined operative units to. This article introduces the Generic Repository pattern and Unit of Work in ASP.Net MVC applications. This (set of) program(s) will help you solve a certain kind of puzzle. Namely puzzles that are made out "glued" together basic units. Most Popularly Asked Selenium Interview Questions and Answers. In this tutorial, we have listed the 5. Selenium interview questions including Selenium Web. Driver interview questions. A quick note about this Selenium article series before we move to this last tutorial: This is the last tutorial in our Selenium online training series of 3. I hope you all enjoyed these tutorials and started learning from it. If you are new here please head over to this very first tutorial in this training series. Top 5. 0 Selenium Interview Questions and Answers: Q #1) What is Automation Testing? Automation testing or Test Automation is a process of automating the manual process to test the application/system under test. Automation testing involves use to a separate testing tool which lets you create test scripts which can be executed repeatedly and doesn’t require any manual intervention. Q #2) What are the benefits of Automation Testing? Benefits of Automation testing are: Supports execution of repeated test cases. Aids in testing a large test matrix. Enables parallel execution. Encourages unattended execution. Improves accuracy thereby reducing human generated errors. Saves time and money. Q #3) Why should Selenium be selected as a test tool? Seleniumis free and open sourcehave a large user base and helping communitieshave cross Browser compatibility (Firefox, chrome, Internet Explorer, Safari etc.)have great platform compatibility (Windows, Mac OS, Linux etc.)supports multiple programming languages (Java, C#, Ruby, Python, Pearl etc.)has fresh and regular repository developmentssupports distributed testing. Q #4) What is Selenium? What are the different Selenium components? Selenium is one of the most popular automated testing suites. Selenium is designed in a way to support and encourage automation testing of functional aspects of web based applications and a wide range of browsers and platforms. Due to its existence in the open source community, it has become one of the most accepted tools amongst the testing professionals. Selenium is not just a single tool or a utility, rather a package of several testing tools and for the same reason it is referred to as a Suite. Each of these tools is designed to cater different testing and test environment requirements. The suite package constitutes of the following sets of tools: Selenium Integrated Development Environment (IDE) – Selenium IDE is a record and playback tool. It is distributed as a Firefox Plugin. Selenium Remote Control (RC) – Selenium RC is a server that allows user to create test scripts in a desired programming language. It also allows executing test scripts within the large spectrum of browsers. Selenium Web. Driver – Web. Driver is a different tool altogether that has various advantages over Selenium RC. Web. Driver directly communicates with the web browser and uses its native compatibility to automate. Selenium Grid – Selenium Grid is used to distribute your test execution on multiple platforms and environments concurrently. Q #5) What are the testing types that can be supported by Selenium? Selenium supports the following types of testing: Functional Testing. Regression Testing. Q #6) What are the limitations of Selenium? Following are the limitations of Selenium: Selenium supports testing of only web based applications. Mobile applications cannot be tested using Selenium. Captcha and Bar code readers cannot be tested using Selenium. Reports can only be generated using third party tools like Test. NG or Junit. As Selenium is a free tool, thus there is no ready vendor support though the user can find numerous helping communities. User is expected to possess prior programming language knowledge. Q #7)What is the difference between Selenium IDE, Selenium RC and Web. Driver? Feature. Selenium IDESelenium RCWeb. Driver. Browser Compatibility. Selenium IDE comes as a Firefox plugin, thus it supports only Firefox. Selenium RC supports a varied range of versions of Mozilla Firefox, Google Chrome, Internet Explorer and Opera. Web. Driver supports a varied range of versions of Mozilla Firefox, Google Chrome, Internet Explorer and Opera. Also supports Html. Unit. Driver which is a GUI less or headless browser. Record and Playback. Selenium IDE supports record and playback feature. Selenium RC doesn't supports record and playback feature. Web. Driver doesn't support record and playback feature. Server Requirement. Selenium IDE doesn't require any server to be started before executing the test scripts. Selenium RC requires server to be started before executing the test scripts. Web. Driver doesn't require any server to be started before executing the test scripts. Architecture. Selenium IDE is a Javascript based framework. Selenium RC is a Java. Script based Framework. Web. Driver uses the browser's native compatibility to automation. Object Oriented. Selenium IDE is not an object oriented tool. Selenium RC is semi object oriented tool. Web. Driver is a purely object oriented tool. Dynamic Finders(for locating web elements on a webpage)Selenium IDE doesn't support dynamic finders. Selenium RC doesn't support dynamic finders. Web. Driver supports dynamic finders. Handling Alerts, Navigations, Dropdowns. Selenium IDE doesn't explicitly provides aids to handle alerts, navigations, dropdowns. Selenium RC doesn't explicitly provides aids to handle alerts, navigations, dropdowns. Web. Driver offers a wide range of utilities and classes that helps in handling alerts, navigations, and dropdowns efficiently and effectively. WAP (i. Phone/Android) Testing. Selenium IDE doesn't support testing of i. Phone/Andriod applications. Selenium RC doesn't support testing of i. Phone/Andriod applications. Web. Driver is designed in a way to efficiently support testing of i. Phone/Android applications. The tool comes with a large range of drivers for WAP based testing. For example, Android. Driver, i. Phone. Driver Listener Support. Selenium IDE doesn't support listeners. Selenium RC doesn't support listeners. Web. Driver supports the implementation of Listeners. Speed. Selenium IDE is fast as it is plugged in with the web- browser that launches the test. Thus, the IDE and browser communicates directly. Selenium RC is slower than Web. Driver as it doesn't communicates directly with the browser; rather it sends selenese commands over to Selenium Core which in turn communicates with the browser. Web. Driver communicates directly with the web browsers. Thus making it much faster. Q #8) When should I use Selenium IDE? Selenium IDE is the simplest and easiest of all the tools within the Selenium Package. Its record and playback feature makes it exceptionally easy to learn with minimal acquaintances to any programming language. Selenium IDE is an ideal tool for a na. Thus, to identify web elements accurately and precisely we have different types of locators in Selenium: IDClass. Name. Name. Tag. Name. Link. Text. Partial. Link. Text. Xpath. CSS Selector. DOMQ #1. What is difference between assert and verify commands? Assert: Assert command checks whether the given condition is true or false. Let’s say we assert whether the given element is present on the web page or not. If the condition is true then the program control will execute the next test step but if the condition is false, the execution would stop and no further test would be executed. Verify: Verify command also checks whether the given condition is true or false. Irrespective of the condition being true or false, the program execution doesn’t halts i. XML stands for Extensible Markup Language and is used to store, organize and transport arbitrary data. It stores data in a key- value pair which is very much similar to HTML tags. Both being markup languages and since they fall under the same umbrella, Xpath can be used to locate HTML elements. The fundamental behind locating elements using Xpath is the traversing between various elements across the entire page and thus enabling a user to find an element with the reference of another element.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
October 2017
Categories |