123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Education >> View Article

Automation Frameworks Use With Selenium Webdriver

By Author: Siyaram Yadav
Total Articles: 276

Automation of test process incorporates robotization of following modules:

Test Execution: This is where an instrument is utilized to execute the contents.

Report Generation: This module focuses on taking test execution comes about as information and will produce the tweaked reports of various levels. It can be outline report which gives points of interest like PASS/FAIL status and Time taken to execute the experiment.

In itemized reports, it can list the quantity of special cases took care of, Start time and End time for each experiment, test cases passed, fizzled status and .

Deformity Logging: This module focuses on programmed imperfection logging of deformities into bug following apparatus and taking the screen shots.
Experiment composing: Automation of this part incorporates giving help to composing manual experiments and additionally producing relating catchphrases into computerization steps.

System Methodologies:-

There are four mainstream test robotization philosophies:

• Particular
• Catchphrase
• Datadriven
• Crossover

Particular Framework:

In this technique, is a standout amongst the most essential sort of robotization structure? In this structure, a test contents are composed to coordinate a usefulness that speak to modules of the application-under-test. Selenium Courses in Bangalore - These modules thus are utilized as a part of a progressive form to manufacture substantial experiments.

Points of interest:

Modular division of contents prompts simpler upkeep and furthermore the adaptability of the robotized test Scripts are autonomous to compose.


• The fundamental issue with secluded structures is that the test content has test information implanted in them, which will move toward becoming issue when refreshing the code/content.
• It is additionally troublesome at whatever point a test step comes up short which must be discover by troubleshooting where the experiment fizzled.

Information Driven Framework:

In this technique, test information is isolated from test contents and results are returned against the test information. Lastly if all the test information blends are passing, at that point just the experiment is dealt with as "PASS". On the off chance that any of the test information mixes is bombed, at that point the whole experiment will be dealt with as "fall flat".

Favorable circumstances:

• It is appropriate for test cases with various test information mixes.
• It decreases the quantity of test contents expected to actualize all the experiments.
• The test information can be recognized/arranged before test execution is prepared.


It is not appropriate for test cases having exceptionally straightforward activities which do exclude any test information.

Keyword Driven:

In this approach, watchwords are created which are equivalent to a unit level usefulness. It is an application autonomous structure using information table’s techniques and catchphrases to play out the activities

Focal points:

• High re-convenience can be accomplished by re-utilizing over numerous experiments.
• Maintainability is simple which doesn't require any Automation skill.
• Debugging is simple.


• Requires an entangled structure than the information driven system.
• Test cases develop longer and complex and this is because of the more prominent adaptability
• Takes time to manufacture and balance out the structure.

Half and half Framework:

This structure is the blend of the two information driven and catchphrase driven testing systems. It permits information driven contents to exploit the intense libraries and utilities in a catchphrase based approach.

Focal points:

The Hybrid system is work with various reusable modules/work libraries that are created in view of the accompanying components:

• Maintainability – Hybrid system essentially diminishes support exertion
• Re-ease of use – It permits to reuse test cases and library capacities
• Manageability - compelling test outline, execution, and traceability
• Accessibility – simple to configuration, create, change and investigate test cases while executing
• Availability – Allows to plan mechanization execution
• Reliability – because of cutting edge blunder taking care of and situation recuperation
• Flexibility – structure autonomous of framework or condition under test
• Measurability – adjustable announcing of test outcomes guarantee the quality yield

Working with Frames in Selenium Webdriver

What is iFrame?

An iFrame (Inline Frame) is a HTML report inserted inside the present HTML record on a site. iFrame HTML component is utilized to embed content from another source, for example, a commercial, into a Web page. A Web originator can change an iFrame's substance without making them reload the entire site. A site can have various casings on a solitary page. Furthermore, a casing can likewise have internal edges.

In Selenium to work with iFrames, we have diverse approaches to deal with outline contingent upon the need. It would be ideal if you take a gander at the underneath methods for dealing with outlines

driver.switchTo ().frame (int arg0);

Select a casing by its (zero-based) list. That is, if a page has different edges, the principal edge would be at record "0", the second at list "1" etc.

Once the casing is chosen or explored, every single resulting approach the WebDriver interface are made to that edge. i.e. the driver concentrate will be presently on the casing.

About Author:

Infocampus is an institute that provides Selenium Courses in Bangalore with placement assistance. Weekend and regular classes are available at Infocampus. It is one of the best selenium training institutes in Bangalore. Contact @ 9738001024 and attend free demo classes before joining classes. Make an enquiry at http://infocampus.co.in/best-selenium-testing-training-center-in-bangalore.html and get call back.

Total Views: 124Word Count: 855See All articles From Author

Education Articles

1. Exam Nse7_efw: Enterprise Firewall – Fortios 5.4 Exam
Author: Jessica Doyle

2. Prepare Your Kid For Playschool For His Own Betterment
Author: Bubbles Playway

3. Top 21 Prototyping Tools For Ui And Ux Designers 2018
Author: gyanguide

4. Use Advanced Digital Marketing To Become A Top Professional
Author: Mohini Singh

5. Details On Nursing Course In Mumbai!
Author: Rakesh Salunke

6. Take First Step Towards Success Through Learning French Language
Author: Ben Kachimo

7. Sql Server Dba Training Institute In Ameerpet Rr Technosoft
Author: gomathi

8. Need To Know Gmat Exam Rules, Regulations And Guidelines
Author: Brighter Prep

9. Geometry Homework Help Can Be Relieving To The Students
Author: Weston Young

10. Accept The Challenge Of Passing The Nse4-5.4 Exam On The First Attempt
Author: Jessica Doyle

11. Exam Hpe6-a44: Aruba Certified Mobility Professional (acmp) V8 Certification.
Author: Jessica Doyle

12. Reasons To Switch To Geographic Information System (gis) For Civil Engineering
Author: NIBT

13. What All You Will Learn From Iot Training Program?
Author: Multisoftsystems

14. Digital Marketing Course For Graduates
Author: Yogesh Sash

15. Danger In The Dust: Asbestos Awareness And Controlling
Author: Chris Haris

Login To Account
Login Email:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: