3rd Round Interview Questions Flashcards

1
Q

Tell me about yourself

A

o Good afternoon, my name is Pat. I have 6 years in the industry.
o I currently work at Envestnet Asset Management in SDET role .
o I am mainly involved with the test case automation using Cypress.
o Current project is enhancing the internal web application.
o Customers can create investment accounts and view their portfolio.
o most of our test cases is validating if data pops up on the screen and We are pulling data from a database
o The libraries are already created by the seniors and we are writing the test cases on the basis of that
o a normal test case would be that
 We have a dashboard, we create a dummy account
 create a sample trans, type in info in the text fields and submit. assert the trans is confirmed
 we would also test that a trade can be cancel, assert that it is canceled it shows as cancelled in previous transactions list
 For the most part, we already created custom commands for repetitive actions like navigating to the page and logging in in our Commands file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do you know about CapitalRX and why do you want to join?

A

o Taking on the pharmaceutical giants in the industry with a transparent and fair pricing on prescriptions
o I want to at least be a part of that and gain experience being surround by other go-getters.
o If there is a better way to do it, I want to learn it
o I asked Rob that if I had an idea, will I be able to run with it and will I get the feedback I need to be better. This is why I want to join a start up
o It’s a team of smart, driven people.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What types of testing have you done?

A

o The different type of testing I’ve done are Smoke ,Functional , Regression, End-to-End and Integration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How would you approach a ticket?

A

o Before I approach a ticket, I want to know what I am working on.
o I will talk to Dev team for any information.
o If they can’t give enough knowledge, I will reach out to whoever wrote the ticket. I want a complete understanding of the ticket so I can adequately test it.
o I would work based off the requirement document according to the acceptance criteria

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Tell me about your experience with Cypress and what do you know about it?

A

o Cypress runs in a Deterministic Manner
 Cypress will make a To Do List of everything you asked of it and execute it in the order you asked
 Resulting in flake-free testing
o The subject is passed through the chain
o Cypress will Automatically wait for Should Assertion (4 seconds by default )
o Cypress can see the screenshot before and after the action.
 If you have a click action, you can see before and after the click
 If you use Type, you can see before and after click
o We can create custom commands using Cypress.Commands.add to create custom commands declared in our Commands File which will shorten steps like Login
o You don’t have to build STATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a con of Cypress?

A

o Cypress is iffy with its error messages.
o For example, if we are working with REACT, and there is a server issue, it will say there is a REACT/DOM issue. The error messages are too generic .
o With Selenium, if there is a stale element, the error message will state the exact error and it is more clear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

With testing, do you want more Front-End or Back-End ?

A

o You would want more Backend and less Frontend

o Front end tests are flaky so you definitely want to have backend tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do you have any questions?

A

o Punita
 How do you like the work environment?
 What were your biggest hurdles when you joined?
 Whats the best advice you can give to do well?
o Ryan :
 what hurdles did you face?
 What motivates you ?
 “its actually inspiring hearing something like that live instead of on youtube”
o Etugo
 Manual Testing is your goto
 What is the biggest hurdle that you feel exist
 What is the best advice you can give to well in this environment
o Charles
 What is biggest hurdle that you feel exist
 What is best advice you can give to do well

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Have you worked with Jira?

A

o Yes, I worked a bit with it. I looked up stories/tickets updated statuses on them and looked over for updates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

• Do you have any exposure to CICD (continuous integration, continuous delivery) pipelines? Jenkins?

A

• I know how to view the pipelines, I know how to restart the builds but I have very limited exposure to it because my organization was very contained and if I needed anything outside of that, I reached out to appropriate team , My experience has been very specific. I focused on UI testing, that’s all I had access to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s current pain point at job?

A

o The bigger the corporation, the bigger the red tape
o It feels like an assembly at times but I understand that’s how it goes but I want to grow more
o My team tried to implement javascript, We wanted to go Cypress route
o Took us a long time to get it to happen, a lot of meetings
o We did a side project to prove with performance increases that it was a good idea
o Selenium has a lot of stale elements
o I wanted to convert it
o If we handle it in javascript, it would happen so much faster
o Finally they ended up listening to us, we picked up Cypress from the ground level
o In the beginning, I bit off more than I can chew.
o The learning curve was really big, now I feel confident in cypress

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

• Lets say in Cypress, you have to automate a list of buttons, what do you do to click only the third buttons?

A
  • I can use cy.get(‘locator’) . contains(‘whatever text the button has ‘)
  • If the buttons all have the same locators and text, I would use cy.get(‘ locator’). Eq(‘ index of 2’) to get the 3rd element in that array
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Lets say you have dropdowns everywhere, you have a big selection of actions a-z and you don’t want to write the same set of actions every time, how would do you do that method in one central location?

A

• I would add a custom command and name that method “login” and have it saved in a file called Commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do you know about Selenium ?

A

o When you work with Selenium or libraries that use selenium protocol like webdriverio , you run into issues like stale elements,
o Lets say the HTML is refreshing or rerendering, Selenium doesn’t see if the DOM is completely rerendered, it still thinks it working on the same page. So it is still pointing to the element before the rerender and now you have elements you cant interact with or element not visible exception. You end up needing to use Wait.Commands and Visibility of Element located.
o With modern day libraries , like puppeteer or playwright, they run in DEV TOOLS so you don’t worry about that issue, or you get it rarely. only a small component of the DOM is getting rerendered
o Overall the tests are much more maintainable under modern libraries

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

describe biggest challenge

A

o UI testing is very fragile . Stale elements,
o Development can change a locator, and all test breaks
o To make test maintainable, you have to be very conscious of how you code it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Have you worked with SauceLabs?

A

o Yea we have experience with saucelabs but nothing with the setting up process , if needed I can pick it up , its not a big deal ( always say you can pick it up) , If I can pick up javascript, Im sure I could learn a tool
o I have no experience with setting up infrastructure , but connecting it to outside sources, that’s the DevOps teams, we would put out a request and they would handle it

17
Q

What is a good smoke test and how would you limit it?

A

o The goal of a smoke test is to see if developers achieved a degree of stability.
o test of major functionality and shows product is ready for further test like functional testing
o I would focus on the critical scenarios but if that is too much of a starting point, I would reach out to Product Owner and ask what they would want most

18
Q

What is included in a good Test Plan?

A

o Introduction - includes the purpose and scope of the project
o Features to Be Tested:
 Login Page, Dashboard, Reports
o Deliverables - list of docs need to be delivered at each phase of testing life cycle
 EX: test cases, bug report
o Pass/Fail Criteria:
 Ex: all major func of the app should work as intended and the pass percentage of test cases should be more than 95% and there should not be any critical bugs

19
Q

What are the critical scenarios that need to be included in a smoke test?

A

o Build Verification
o Account Creation - try to create new user , new creds
o Login/Logout
o Business Critical Features - most commonly used functionality
o Integration scenarios - make sure system doesn’t break in any integration points
o Add/Edit/Delete - do an entry for these 3 to ensure proper database connectivity
o Overall Navigation - touch frequently used functionality and pages

20
Q

How would you decide what to prioritize in terms of testing to make mini regression test suite?

A
  1. Select test cases with frequent defects // look at past releases & sprints
  2. importance of the usability of the feature in app
  3. chooses tests with critical funcs like login, edit, add
  4. frequent code changes
  5. end to end test flows - the entire process for adding new payment for a mobile bank app
  6. field validation test cases - inputting details in a mandatory field , does it show error message or continues
21
Q

How do you perform manual testing?

A

o u need a good grasp of the application or ticket that you’re working

after i write test cases , some positive some negative

review with the team

run it to see if we have defects , if not that’s good

Read and understand the software project documentation/guides. Also, study the Application Under Test (AUT) if available.
o Draft Test cases that cover all the requirements mentioned in the documentation.
o Review and baseline the test cases with Team Lead, Client (as applicable)
o Execute the test cases on the AUT
o Report bugs.
o Once bugs are fixed, again execute the failing test cases to verify they pass.

22
Q

What was your worst experience with UI Testing?

A

o I was UI only, my scripts gotta run
o I had to make sure my workflow worked, we have a dashboard, customer A wants to buy B Stock
o we never verified if it went into the actual system
o we didn’t verify if it got placed into the actual system because I was UI only,
o a particular account- if you initiate an order with particular number, it never worked but shows up as placed
o we caught that before it went into production
o from our side we ok’d it
o it made us think of integration testing. instead of just UI testing