Skip to main content

Selenium Interview Questions and Answers


What is Selenium? What is the difference between Selenium WebDriver and Selenium IDE?

Selenium is an automation tool which is used to test different applications mainly web applications, browsers and platforms. Selenium is a set of tools:
Selenium Integrated Development Environment: It’s a record and playback tool designed to record the user actions and playback the user actions that are performed.
Selenium Remote Control: It is used to write automated web applications UI in any programming languages such as Java.
Selenium WebDriver: It is introduced in Selenium 2.0, the robust technology that was used in Selenium webdriver uses browser native commands.
Selenium Grid: It is also introduced with Selenium 2.0, it is mainly used to distribute the test in different systems and manage from a single point.

What are the browsers and environments selenium supports?

Selenium Supporting Browsers:  Firefox 27, 26, 24, 17; Internet explorer 6, 7, 8, 9, 10, 11; Safari Driver 5.1x, Opera Driver 12.x and chrome driver.
Selenium Supporting Environments: Windows xp, 7, 8, 8.1 and Windows 10 and Linux.

What are the programming languages Selenium supports?

Selenium supports C#, Java, JavaScript, Objective C, Perl, PHP, Python, Ruby.

How much you rate yourself on Selenium out of 10?

Well, don’t overrate yourself for this question, give the answer what you feel and don’t give too less as well.

Why did you choose Selenium as your tool for automation?

These days most of the company’s preferring Selenium as their functional testing tool as it is an open source software and is widely used and you can do different types of automation testing and it has large online community support and you can develop our scripts with different programming languages such as C#, Java, Ruby, Python etc.

What are the differences between Selenium and UFT or QTP?

Selenium
UFT
Selenium is an open source tool
UFT is a commercial automation tool by HP.
You can test only web applications
You can test different applications and web browsers.
You can develop the scripts only on VB script
You can develop the scripts with Java, Perl, Ruby, PHP etc.
Selenium has good online community support
UFT has technical support by HP

What are the different types of testing you can do with Selenium?

By using selenium you can do functional testing, smoke testing, regression testing, integration testing, Load and performance testing.

What is Selenese?

Selense is s a set of commands that were performed by a selenium tool on the web application.

What are the different type of locators or elements available in Selenium?

ID, Name, Link, CSS, XPATH, DOM and location by element id etc.

What is assertion and what are the different types of assertions available in Selenium?

You can perform different assertions on the application such as text, alert, editable, checked etc.One of the popular assertion and my favorite is assertTrue(message, condition).

What are the different web drivers available in selenium?

FirexfoxDriver, ChromeDriver, SafariDriver, OperaDriver, InternetExplorerDriver, IPhoneDriver, IphoneSimulaterDriver, RemoteWebDriver.

These are some of the frequently asked questions in selenium.

Some of the important websites on Selenium:


Comments

Popular posts from this blog

NeoLoad Interview Questions and Answers

Here are some of the interview questions and answers on NeoLoad:
What is NeoLoad?
NeoLoad is a performance testing tool designed to test different types of web, standalone and mobile applications.
What is the difference between Loadrunner, JMeter and NeoLoad?
Click here for differences
What are the different counters you monitor in NeoLoad?
Average Response Time(requests), average response time(pages), average requests/s, average throughput, current response time(requests), current response time(pages), current requests, current throughput, current users count, controller cpu load, controller memory load etc.
What are the different type of tools you can integrate with NeoLoad?
App Dynamics, CA APM Integration, Dyna trace integration, HP ALM or Quality Center Integration, Java and Jamo Solutions M-eux Test Integration, Jenkins Integration, perfecto mobile integration, selenium integration.
What are the different type of Operating systems you can monitor?
Linux Monitor, Solaris Monitor, AIX …

Sitescope Monitoring Tool Features and Monitors

Why Sitescope is called Agentless Monitoring Tool?
HP SiteScope monitors the application/infrastructure/server/operating system without installing any agent software on the system to be monitored. This feature makes the installation, usage and maintenance of Sitescope simpler when compared with the any performance monitoring tools like Diagnostics.
Sitescope Monitors:
Sitescope has also upgraded and changed drastically to meet the rapidly changing technologies and environments like virtualization and cloud computing. Using Sitescope we can monitor different web servers, application servers and database servers. We can also monitor operating systems Windows, Linux, Sun Solaris, IBM AIX. It has more than 100 monitors including Weblogic, Websphere, SAP, SIEBEL, SNMP, LDAP, Network Monitor etc. HP SiteScope can also monitor cpu utilization, response time, disk space, and resource availability of a variety of host types and application platforms.
Sitescope Features:
SiteScope provides failover …

LR Functions with Examples | Loadrunner Functions with Examples

LR Functions in Loadrunner with Examples.

lr_abort Stops the script execution.lr_advance_param It will take the next value in the parameter list.lr_continue_on_error Continue on error even if the request is failed.lr_convert_string_encoding Converts a string to a UTF 8 or Unicode.lr_db_dataset_action Validates database contents by setting checkpoints.lr_db_connect Connects to a database.lr_db_dataset_action Performs an action on a dataset.lr_db_disconnect Disconnects from a database.lr_db_executeSQLStatement Submits an SQL statement to a database.lr_checkpoint Validates the value of a parameter against an expected value (checkpoint).lr_db_getValue Retrieves a value from a dataset.lr_debug_message Sends a debug message to the LoadRunner output or Application Management agent log file.lr_decrypt Decrypts an encoded string.lr_disable_ip_spoofing Disables IP Spoofing.lr_enable_ip_spoofing Enables IP Spoofing.lr_end_sub_transaction Marks the end of a sub-transaction.lr_end_transaction Mark…