Setup Menus in Admin Panel

ITeLearn.com

All About Automation Frameworks

Event All About Automation Frameworks

  • June 30 2016

All About Automation Frameworks

Free Orientation Sessions by Karthik

All About Automation Frameworks A free session by ITeLearn.com

0. What is Test automation. Why do we require frameworks?
1. Various Automation Frameworks.
2. Best practices to build.
3. How to choose the right framework for your project?
4. Typical challenges and how to resolve them?

Manual Testing to Automation

Record vs Custom Code
1. Gives us more control on what has to be done.
2. Add logic, add conditions, add loops.
3. Optimize the code and make it more faster .
4. Take the basic code to a very advanced.

Efficiency | Reusability | Accuracy

Custom Code to a Framework

What is a framework?
– Structure
– Standards
– Proven
– Robust
– Easy to implement, change or maintain over a regular code
– Customized

Human Skeleton :
Bird skeleton :

***Linear Framework
User Login
– LoginLink.Click
– UserNameField.EnterText.”karthik”
– PswdField.EnterText.”karthik”
– RememberPswd.Click
– LoginButton.Click
– Confirm Login

Send Email
– LoginLink.Click
– UserNameField.EnterText.”karthik”
– PswdField.EnterText.”karthik”
– RememberPswd.Click
– LoginButton.Click
– Confirm Login
– Click compose
– type msg,
– type subj
– send
– confirm send
– logout

1000, 5000, 10000.
Disadvantages For Linear
1. Changes require lot of time … efficiency lost.
2. With many changes, errors are prone to happen. – Accuracy is also lost

***Functional Decomposition Framework

UL —–
Function userLogin(uName, uPswd){
– LoginLink.Click
– UserNameField.EnterText.”karthik”
– PswdField.EnterText.”karthik”
– RememberPswd.Click
– LoginButton.Click
– Confirm Login
}
SE ——-
UL —–
Attac —-
AddContact—-

NEW TC – Send with attachment
UL
SendEmail
Attach
UL

Advantages:
1. Changes require lesser effort. Efficiency
2. Reuse this over and over.
3. Accuracy improved

Disadvantages:
1. The data is hardcoded. Data is inside the code …
2. Each time we need to change the data then, we have to go and change in the code
3. QA Team – 20% automation engineers, 80% manual engineers
4. We want the non-techy/manual engineers also to use this framework

**** Data Driven Framework

Advantages:
1. Repeat the same TC for varied sets of Test Data
2. Much more faster – Efficiency
3. Sharing load with the ME

Disadvantages:
1. Changes to TC requires code change
2. To add new TC, we have to do a code change

**** Keywordd Driven Framework
– Divides all test steps by using reusable keyword functions
– stores externally

Advantages:
1. Changes to TC requires no code change
2. To add new TC requires no code change

Disadvantages:
1. Webpages change and element identification becomes an issue
2. Dynamism in the web objects

*** Page Object/Factory Framework
Element identifications are taken and put in a new location that
can reused


All About Test Automation Frameworks2

For any queries, please post your questions below.


Subscribe

Member Testimonials

Anuradha Velpuri

I was impressed by the quality, content and very impressed with Mr. Shanker’s knowledge. We learned all the terminology, test View Full →
2015-06-24T15:36:43+00:00
I was impressed by the quality, content and very impressed with Mr. Shanker’s knowledge. We learned all the terminology, test View Full →

Reena Rani

This is Reena here from MOST IV Batch. Thank you so much for providing the wonderful and awesome training on View Full →
2015-06-24T15:20:16+00:00
This is Reena here from MOST IV Batch. Thank you so much for providing the wonderful and awesome training on View Full →

Prakash Kosana

My experience so far related to my training is awesome. I really love the way Karthik teaching. He absolutely come View Full →
2015-07-02T16:28:51+00:00
My experience so far related to my training is awesome. I really love the way Karthik teaching. He absolutely come View Full →

Nimmi Srivastava

It has been a tremendous knowledgeable journey for me while I was going through the Selenium course. No doubt, I’ve View Full →
2015-06-24T15:31:04+00:00
It has been a tremendous knowledgeable journey for me while I was going through the Selenium course. No doubt, I’ve View Full →

Lenora (US)

Thank you for reaching out to me in reference to training. I am greatly interested because I am so inspired View Full →
2015-03-05T20:29:06+00:00
Thank you for reaching out to me in reference to training. I am greatly interested because I am so inspired View Full →
No Events in next 365 days
Main Menu