Android apps to use in appium android test examples


Friday, April 6, 2018

Selenium Interview Preparation

Selenium Interview Preparation...

Generally Interviews depends upon Company equally good equally our sense that nosotros advert inwards our Resume, It may vary from 1 fellowship to another but if y'all gear upwards properly thence y'all tin confront whatsoever type Interview, 

Take Selenium Interviews, 

If y'all are a fresher thence y'all mention your Selenium noesis inwards your Resume's Professional Summary,

Suppose If y'all are an experienced person thence y'all advert your Selenium Skills in Your Resume's professional person Summary, together with Job Responsibilities in your Project (one or to a greater extent than projects).
In this post, I am going to comprehend Selenium Interview Preparation for experienced
people. Selenium Experienced people confront this type of Interview Questions that 
I am going to explain, Questions may vary shape 1 Interview to around other but if 
you gear upwards these Questions thence definitely you tin confront whatsoever Selenium Interview.
Generally Interviews depends upon Company equally good equally our sense that nosotros advert inwards our Selenium Interview Preparation
Types of Questions inwards Interviews, 

Questions inwards Interviews basically 2 types, 
1) General Questions
2) Subject/Experience Related Questions

For Examples, mutual full general questions are,
1) Tell me most yourself?
2) Why y'all are looking for a change?
3) What is your forcefulness together with what is your weakness?  etc...

Experienced related questions, suppose y'all are a Java Professional/developer then,

1) What is ArrayList inwards Java together with when y'all utilisation it?
2) What is the deviation betwixt Static together with Non-static methods inwards Java? etc..
Come to principal stream, Selenium experienced professionals ordinarily confront this type of Questions...

1) Explain most your Current Project?

Here, explicate most your electrical current Project architecture, modules, together with functionalities, together with your Job Responsibilities etc..., patch answering this interrogation y'all may confront around supplementary questions.

2) How y'all Selected Selenium Tools together with Others for Test Automation?

Actually our Test atomic number 82 selected Selenium  Tools, together with other supported tools amongst the contribution of our squad members for automation afterward Test tool (Selenium) selected past times the Management.

> Selenium WebDriver to create basic Tests,

> Java Programming to write Test Scripts.

> TestNG testing framework for grouping Test Cases, prioritizing examine Cases, executing Test batches, together with generating Test Reports.

Note: nosotros selected an automation framework/hybrid framework that designed past times senior people our company, created Framework components, thence using Framework components designed Test cases/test scripts

3) Write a code for "Add Manufacturer" Functionality inwards your electrical current project?

It is depends on our project, Interviewer may inquire to write 1 or 2 Selenium code examples from our projection that nosotros explained already to the Interviewer.

Here, Interviewer checks our coding logic, non the exact code, thence write the code, 

Suppose afterward instantiating together with creating the browser driver, then,
navigate to "Add Manufacturer" page,

next, click on  "Add Manufacturer" link
driver.findElement(By.linkText("Add Manufacturer")).click();

next larn inwards Manufacturer name, 

next enter Address1, 2 Steps, afterward entering all mandatory fields, thence submit,

like this y'all tin write selenium Test script on white paper.

4) Write a code to capture together with verify the Conformation message inwards your Application?

For Example, afterward successful submission of "Manufacturer" details thence it volition present the confirmation message, nosotros tin capture the message together with compare...

String Message= driver.findElement("conform_message")).getText();

next compare this message amongst expected, 

if (Message.equals("Manufacturer Added Successfully")){

5) write a code to closed the Popup Window?

Selenium supports Web elements only, if nosotros desire to grip Popup Window (It is non spider web element) thence nosotros necessitate to create Alert Object, 

Alert popUp = driver.switchTo().alert(); // Switch the driver focus from the spider web page to Popup/Alert message

String errorMessage2 = popUp.getText(); // Capture the message on Popup Window together with shop into a String...

popUp.accept(); //Close Error Popup/click OK Button the Popup

6) write a code to click tertiary link inwards 2d frame of your webpage?

Frames are sections of Web pages, if it Manual Testing thence nosotros tin operate whatsoever chemical element from whatsoever frame directly, but inwards Automated Testing using Selenium, root nosotros necessitate to larn to 2d frame from hand window thence click the tertiary link...


7) How y'all position the Synchronization work inwards your Test Script?

perform dry out run of the Test Script thence nosotros tin position the Synchronization Problem (If is there), 

Test Run basically 2 types,
i) Dry Run/sample run -check weather condition the Test script is executing without errors or not?

ii) Real Run - existent run purpose is Testing

8) How y'all demeanour Data Driven Testing using Selenium?

Testing the same examine instance or functionality amongst multiple sets of examine data,

In my projection I used excel equally Test information file, using Java programming import & read examine data, together with conducted Data driven testing.

9) How y'all demeanour Cross Browser Testing?

In my projection I conducted cross browser testing amongst Mozilla Firefox, Google Chrome, together with Microsoft edge/IE browsers equally per my client requirement, Downloaded Browsers drivers root thence instantiate browser drivers, create browser drivers together with executing examine scripts. 

10) How y'all are treatment Exceptions inwards your electrical current Project?

Usually I handle, Exceptions inwards Selenium Testing using Java Exception treatment mechanism.

Frequently I grip "NoSuchElement" similar exception inwards my Selenium code, together with other exceptions also.

11) What are the challenges that y'all faced inwards Test Automation using Selenium?

Two major challenges that I faced inwards my electrical current project,

i) Element Identification

ii) Executing Test scripts using Internet explorer browser, no issues amongst Google Chrome together with Mozilla Firefox browsers.

12) How y'all enhance defects that y'all uncovering inwards Automated Testing using Selenium?

In my Project nosotros are using Jira for Test Management/Defect management, 

After deducting the defect patch Selenium Test execution, launch Jira, larn inwards defect details together with shipping through our fellowship internal mailing system.

13) How y'all demeanour Database Testing?

Selenium Webdriver is express to Testing our applications using Browser. To utilisation Selenium Webdriver for Database Verification nosotros necessitate to utilisation the JDBC ("Java Database Connectivity").

JDBC (Java Database Connectivity) is a SQL marking API that allows us to execute SQL statements. It is responsible for the connectivity betwixt the Java Programming linguistic communication together with a broad hit of databases.

14) Explain most the Page Object Model?

Page Object Model is an object pattern pattern to create Object Repository for spider web elements/objects (Ex: Links, Buttons, Edit boxes etc...).
Under this model, container classes for spider web elements are created that deport equally object repositories.

Advantages of Page Object Model:

• Centralized maintenance of elements/objects
• Reusability, reduces duplication of code
• It is Efficient together with Scalable
• It makes the framework user friendly.
Also Read & Watch:

1) Selenium Latest Videos together with Class Notes

2) Selenium Live Project

3) Selenium Sample Resume


No comments:

Post a Comment