30LRLABOR LEARNERSREFERENCE Labor Day Coupon On SALE Now

30LRLABOR LEARNERSREFERENCE Labor Day Coupon On SALE Now

Coupon Code : 30LRLABOR

30% Discount on all products sitewide sale
We are available 24×7. Any questions?

support@learnersreference.com

Selenium interview questions

Get QA Tutorials, Training For Free:

Delivered by FeedBurner

What is test automation?
Test automation is the process of making use of software like selenium to automate the execution of tests, perform outcome comparison with expected outcome.
What is test automation framework?
Test automation in simple words is the automation of testing processes. Automation framework is a system built with needed components to perform this process. When it comes to test automation it is a framework that determines, controls the automation of a specific product. Automation framework is a system built on set of rules targeted towards testing a specific product
What is the advantage of test automation framework?
Automation is coded. This code can be reused for automating many test cases
Little manual work is needed once testing is automated
Testing cost reduction
One time development of code and framework can be reused multiple times
What are the testing types supported by selenium?
Regression testing
Functional testing
smoke testing
sanity testing
When is xpath used with selenium webdriver?
For traversing and finding elements within a document xpath is used. Elements that can’t be found using locators like id, class, name etc in a webpage can be easily located using xpath which is a syntax used for addressing into a document
What are the types of xpath?
Xpath falls into one of the following categories:
Absolute xpath – xpath single forward slash is used to locate the document root as per xpath expression. It is a direct way to find an element in a webage. If a change is made in the lement path the xpath will fail
Relative xpath – This starts with double forward slashes. This is used to search for the element anywhere within the document. This is common xpath expression widely used
What can be tested using selesense commands?
Selesense commands are selenium commands used for web application testing. A tester can make use of the selesense commands to perform the following:
Check broken links
Check for existence of UI objects
Ajax functionality testing
Alert testing
list option testing
windows testing
What are all the types of selesense commands?
Commands give direction to selenium automation engine on what needs to be done. Selesense commands fall into one of the following categories:
Actions commands
Accessors commands
Assertions commands
What are the components of selenium toolsuite?
Selenium tool suite is composed of multiple software tools.Detailed information and description of each and every software in tool suite is as follows :
Selenium IDE :
Selenium IDE, Integrated Development Environment is used for building test scripts. It is well integrated with web browsers and is a prototype tool.
It is based on simple concept of record and play back.
It isnothing but a firefox plugin that is well integrated with web browser, has a handy user interface and used for developing automated tests.
Record and playbac is simple record of steps that a user performs. These actions are stored as reusable scripts. These scripts are portable across many different
What is pip?
To install packages related to python pip utility can be made use of
How do you install a package with pip in python environment?
pip install [packagename]
How do you install selenium web driver using pip?
pip the utility used to install packages in a python environment will help us install selenium webdriver using simple syntax
pip install selenium
What is a selenium locator?
A selenium locator is an address that identifies the web element uniquely in a webpage. There are many different locators in selenium as follows:
ID
Classname
Name
Tagname
LinkText
PartialLinkText
XPath – standard navigation tool for xml
CSS Selector – this can be tag and id, tag and class, tag and attribute, tag class and attribute, inner text
DOM – The document object model is standard for navigation through html element tree
Can you explain about Selenium?
Selenium is an open source software testing framework used for automating web UI applications.
What are the different components that Selenium supports?
• Selenium Integrated Development Environment (IDE)
• Selenium Client API
• Selenium Remote Control
• Selenium WebDriver
• Selenium Grid
What are the main advantages of using Selenium?
• Is an open source reliable/robust browser based automation tool for automating web UI applications
• Scalable across environments
• Easily portable in different browser environment by using the appropriate browser driver
• Can be built in different languages based on what language the company is using
• Automated tests can be distributed across different machines for parallel execution of tests
What is the main disadvantage of using Selenium?
• Selenium supports web based application and does not provide support for windows based applications
• Requires a high technical expertise to build robust automation tests using selenium web driver
• Requires third party framework tools for report generation, object identification etc
What browsers are supported in Selenium?
• Internet Explorer
• Firefox
• Google Chrome
• Safari
• Opera
What operating systems does Selenium support?
• Windows
• Linux
• Apple OS
What languages does Selenium support?
• C#
• Java
• JavaScript
• Python
• Ruby
• Perl
• PHP
• Objective C
Can Selenium be used to test web services?
Yes, selenium can be used to test web services using SOAP UI. We use Groovy script to integrate Selenium with SOAP UI
Using selenium web driver list the different ways that you locate elements?
To locate web elements we use findElement (or) findElements method.
The different ways to locate a web element is as follows:
• By.name()
• By.id()
• By.tagName()
• By.className()
• By.linkText()
• By.partialLinkText()
• By.xpath()
• By.cssSelector()
What is XPath?
XPath is a way of identifying elements in a web page. The syntax for XPath is:

Xpath=//tagname[@attribute=’value’]
Where,
// : Select current node.
Tagname: Tagname of the particular node.
@: Select attribute.
Attribute: Attribute name of the node.
Value: Value of the attribute.
What are the different flavors of XPath?
• Absolute XPath
• Relative XPath
How do you launch different browsers in selenium web driver?
By instantiating the appropriate browser driver and the using the handle to do different things in that browser (Ex: Load a URL, finding elements in the web page etc)
How do you clear a text from textbox?
By using clear() method on a web element.
Ex:
If a textbox has been instantiated before and the testBox contains values, then use, textBox.clear() to clear the values in the test box.
What is the difference between close and quit command?
The quit command will kill the driver, driver server and all associated browser windows whereas the close command only closes the current browser windows
The close command only closes the browser window the driver has focus on.
What is implicit wait in Selenium?
Implicit wait time are common to all web elements and has a global timeout associated with it.
How do you refresh browser in selenium?
You cam refresh a browser using refresh command. This is called from the driver instance of a browser (Ex: driver.navigate().refresh()
How can cookies be deleted in Selenium?
Cookies can be deleted by selenium as follows:
• deleteCookie(Cookie cookie)
• deleteAllCookies()
• deleteCookieNamed(String name)
What is an explicit wait in Selenium?
Explicit wait times are used if we need to delay the wait time of a particular web element.
How can we check if an element is displayed in a webpage?
By using isDisplayed() method.
Ex: Webelement textBox is a Text Box. If we need to know if the textBox is displayed then we use textBox.isDisplayed() to verify if the textBox is displayed.
How can we check if an element is enabled in a webpage?
By using isEnabled() method
Explain about isSelected()method
This method is to check if a particular web element on a webpage is selected currently.

Get QA Tutorials, Training For Free:

Delivered by FeedBurner

AWS certification cost

AWS certification cost is something that needs to be considered while choosing your certification track in AWS.
To start with is an AWS certification does worth the cost?
In our opinion it is much more valuable than what it has been offered for right now. Always look at your career growth, stability, future negotiation prospects in long run maybe atleast 3 years form now on
Is AWS a stable company?
There are plethora of certification tracks from ton lots of vendors. Before shedding money all of us want to know if AWS will survive longer. Here are some facts that we’ve gathered from our regular news updates on technology stocks and tech industry:
1) A recent amazon related stock news was talking about $4.1 billion revenue that amazon has made this year from AWS alone. Looks like the e-commerce giant will fulcrum its businesses based on revenue from AWS
2) With such money spinning potential expect AWS to sustain and survive for another 20 years minimum. See to that AWS is developing a solid Cloud computing platform that will outbeat microsoft azure
3) If you are starting your career as new IT professional, already experienced infrastructure professional including system administrator, database administrator, security administrator, network administrator start preparing for AWS, learn to migrate the systems onto AWS via test trial runs so that you can be least assured that you are the last one to get pink slip in your department
4) AWS will be expanding its regions across china, sweden and many more countries in coming days
What is the cost of each and every AWS certification?
Here is the certification roadmap based on AWS website
AWS Architecting Certification Track

AWS Certified Solutions Architect Associate Exam Details:
Multiple choice and multiple answer questions
80 minutes to complete the exam. This includes regular exam Q&A as well as feedback type questions
Available in different languages like English, Japanese, Simplified Chinese, Traditional Chinese, Korean, German, Russian, Spanish, and Brazilian Portuguese
Certification Exam cost is $150

AWS Certified Solutions Architect Professional – This can be availed upon completion of any one of associate certification track
Certification exam cost is $300
AWS Developer Certification Track
AWS Certified Developer Associate – Certification Exam cost is $150
AWS Certified Devops Engineer Professional – This can be availed upon completion of any one of associate certification track
Certification exam cost is $300
AWS Operations Certification Track
AWS Certified Sysops administrator associate – Certification Exam cost is $150
AWS Certified Devops Engineer Professional – This can be availed upon completion of any one of associate certification track
Certification exam cost is $300
Specialty Certifications that requires one current associate or professional certification
Certification exam cost is $300 for both the speciality certification tracks
AWS Certified Bigdata Speciality
AWS Certified Advanced Networking Specialty
To summarize associate certs are priced at $150, professional level and speciality certificaitons cost $300

AWS Certified Associate Exams On Sale