"HOW TO EXPLAIN SELENIUM AUTOMATION FRAMEWORK 1. Programming language: Our automation framework for the Arousr website was built using Java as the programming language. We implemented a data-driven framework, which allows us to separate the test data from the test scripts, promoting flexibility and reusability. 2. Framework Type: Data driven framework, keyword driven by using Page Object Model 3. POM: We followed the Page Object Model design pattern to maintain a class for each web page in the application. This approach helps in creating a clear separation between the page elements and their associated methods, making the code more maintainable and readable .As per the Page Object Model, we have maintained a class for every web page. Each web page has a separate class and that class holds the functionality and members of that web page. Separate classes for every individual test. 4. Packages: To organize our code effectively, we utilized separate packages for Pages and Tests. The Pages package contains the page class files, while the Tests package holds the test scripts. This structure helps maintain a clear distinction between the page actions and the test scenarios. For example, Payment Page and Login Page have separate classes to store element locators. 5. Properties file: We utilized a properties file named config.properties to store static information throughout the framework. This file includes details such as browser-specific information, application URLs for development and testing environments, screenshot paths, security questions and answers, and login credentials. Using a properties file allows easy configuration and modification without touching the code. This file (config.properties) stores the information that remains static throughout the framework such as browser-specific information, application URL, development, testing URL screenshots path, security questions and answers, username, passw(Ctrl)ing, development, testing URL, etc. 6. Screenshots: As part of our framework, we incorporated functionality to capture screenshots during test execution. Screenshots are captured at specific steps or on test failures, providing visual evidence and aiding in troubleshooting and debugging. Screenshots will be captured and stored in a separate folder and also the screenshots of failed test cases will be added to the extent reports. 7. Maven: We integrated Maven as our build and dependency management tool. It helped us manage project dependencies, handle libraries, and streamline the project's build process. Maven ensures that all necessary dependencies are resolved and enables efficient project compilation and execution. Using Maven for build, execution, and dependency purpose. Integrating the TestNG dependency in the POM.xml file and running this POM.xml file using Jenkins. 8. Version Control Tool: To track and manage code changes, we utilized a version control tool such as Git or SVN. This allowed us to collaborate with other team members, track revisions, and easily manage different versions of our automation framework. 9. Jenkins: For continuous integration and automation of our test execution, we leveraged Jenkins. Jenkins enabled us to schedule and execute our automated tests at specific intervals or on code changes, providing faster feedback on the application's stability. By using Jenkins CI (Continuous Integration) Tool, we execute test cases on a daily basis and also for nightly execution based on the schedule. Test Results will be sent to the peers using Jenkins. 10. Installer Batch Files: We created installer batch files to facilitate easy setup and deployment of our automation framework. These batch files automate the installation and configuration process, ensuring that all necessary dependencies and environment settings are in place. In case of desktop-based applications installation you would be keeping PowerShell batch files. 11. src/test/resources: AutoIT Scripts, Sikuli images, licenses to make your application under test up & running, etc files kept 12. Test Base Class: Test Base class (TestBase.java) deals with all the common functions used by all the pages. This class is responsible for loading the configurations from properties files, Initializing the WebDriver, Implicit Waits, Extent Reports. I 13. Reports : We incorporated reporting functionality to generate comprehensive test reports. These reports provide detailed information about test execution, including test results, pass/fail status, execution times, and any errors or exceptions encountered during the test run."
Please make a video with these type of questions 1.How you integrating ExtentReport with Selenium ? 2.How you will fetch data from Excel in Data driven testing ? 3.Write the code for take screenshot or Scroll ? 4.How you implement OOPs concepts on your Framewormk explain? 5.What are things you can't Automate in that scenario what you will do ? 6.Your web application has a functionality like if logged in from India it will show location as India ,if you logged in from London it will show London How you will test it ? 7.How to find all the broken links in a page ?
HOW TO EXPLAIN SELENIUM AUTOMATION FRAMEWORK 1. Programming language: Java 2. Framework Type: Data driven framework driven by using Page Object Model 3. POM: As per the Page Object Model, we have maintained a class for every web page. Each web page has a separate class and that class holds the functionality and members of that web page. Separate classes for every individual test. 4. Packages: We have separate packages for Pages and Tests. All the web page related classes come under the Pages package and all the tests related classes come under Tests package. For example, Payment Page and Login Page have separate classes to store element locators. 5. Properties file: This file (config.properties) stores the information that remains static throughout the framework such as browser-specific information, application URL, development, testing URL screenshots path, security questions and answers, username, passwc-ing, development, testing URL, etc.
The above screenshot illustrates a standardized maven project. As per the above maven project, all the tests are kept in the 'src/test/java'and remaining files (such as config.properties, element locators (POM classes files, test data, etc.,) kept under 'src/main/java'. 5.TestNG: Using TestNG for Assertions, Grouping, and Parallel execution. 6. Screenshots: Screenshots will be captured and stored in a separate folder and also the screenshots of failed test cases will be added to the extent reports. 7. Maven: Using Maven for build, execution, and dependency purpose. Integrating the TestNG dependency in the POM.xml file and running this POM.xml file using Jenkins. 8. Version Control Tool: We use Git as a repository to store our test scripts. 9. Jenkins: By using Jenkins CI (Continuous Integration) Tool, we execute test cases on a daily basis and also for nightly execution based on the schedule. Test Results will be sent to the peers using Jenkins. 10. Installer Batch Files: In case of desktop-based applications installation you would be keeping PowerShell batch files. 11. src/test/resources: AutoIT Scripts, Sikuli images, licenses to make your application under test up & running, etc files kept 12. Test Base Class: Test Base class (TestBase.java) deals with all the common functions used by all the pages. This class is responsible for loading the configurations from properties files, Initializing the WebDriver, Implicit Waits, 13.Reports. Extends reports
Sir good explanation same thing if you make video on BDD cucumber how to explain in interview it would be great and boost confidence since most of the companies using bdd selenium framework
Guys I need a bit of help Yes i also worked with Selenium but my project was process automation has nothing with developing stuff Also the company was using some unknown in house developed tools like AutomatON how would i frame my answer ? Any help is appreciated Thanks in advance!!
Selenium framework with java is explained everywhere. I am not able to find selenium framework with python explained anywhere. Request you to make a video on it. It will be very helpful.
"HOW TO EXPLAIN SELENIUM AUTOMATION FRAMEWORK
1. Programming language: Our automation framework for the Arousr website was built using Java as the programming language. We implemented a data-driven framework, which allows us to separate the test data from the test scripts, promoting flexibility and reusability.
2. Framework Type: Data driven framework, keyword driven by using Page Object Model
3. POM: We followed the Page Object Model design pattern to maintain a class for each web page in the application. This approach helps in creating a clear separation between the page elements and their associated methods, making the code more maintainable and readable .As per the Page Object Model, we have maintained a class for every web page. Each web page has a separate class and that class holds the functionality and members of that web page. Separate classes for every individual test.
4. Packages: To organize our code effectively, we utilized separate packages for Pages and Tests. The Pages package contains the page class files, while the Tests package holds the test scripts. This structure helps maintain a clear distinction between the page actions and the test scenarios. For example, Payment Page and Login Page have separate classes to store element locators.
5. Properties file: We utilized a properties file named config.properties to store static information throughout the framework. This file includes details such as browser-specific information, application URLs for development and testing environments, screenshot paths, security questions and answers, and login credentials. Using a properties file allows easy configuration and modification without touching the code. This file (config.properties) stores the information that remains static throughout the framework such as browser-specific information, application URL, development, testing URL screenshots path, security questions and answers, username, passw(Ctrl)ing, development, testing URL, etc.
6. Screenshots: As part of our framework, we incorporated functionality to capture screenshots during test execution. Screenshots are captured at specific steps or on test failures, providing visual evidence and aiding in troubleshooting and debugging. Screenshots will be captured and stored in a separate folder and also the screenshots of failed test cases will be added to the extent reports.
7. Maven: We integrated Maven as our build and dependency management tool. It helped us manage project dependencies, handle libraries, and streamline the project's build process. Maven ensures that all necessary dependencies are resolved and enables efficient project compilation and execution. Using Maven for build, execution, and dependency purpose. Integrating the TestNG dependency in the POM.xml file and running this POM.xml file using Jenkins.
8. Version Control Tool: To track and manage code changes, we utilized a version control tool such as Git or SVN. This allowed us to collaborate with other team members, track revisions, and easily manage different versions of our automation framework.
9. Jenkins: For continuous integration and automation of our test execution, we leveraged Jenkins. Jenkins enabled us to schedule and execute our automated tests at specific intervals or on code changes, providing faster feedback on the application's stability. By using Jenkins CI (Continuous Integration) Tool, we execute test cases on a daily basis and also for nightly execution based on the schedule. Test Results will be sent to the peers using Jenkins.
10. Installer Batch Files: We created installer batch files to facilitate easy setup and deployment of our automation framework. These batch files automate the installation and configuration process, ensuring that all necessary dependencies and environment settings are in place. In case of desktop-based applications installation you would be keeping PowerShell batch files.
11. src/test/resources: AutoIT Scripts, Sikuli images, licenses to make your application under test up & running, etc files kept
12. Test Base Class: Test Base class (TestBase.java) deals with all the common functions used by all the pages. This class is responsible for loading the configurations from properties files, Initializing the WebDriver, Implicit Waits, Extent Reports. I
13. Reports : We incorporated reporting functionality to generate comprehensive test reports. These reports provide detailed information about test execution, including test results, pass/fail status, execution times, and any errors or exceptions encountered during the test run."
Woww...
And iam attending an interview next week..Ive worked for a login functionality project..So can i use this framework..copy paste it
@@ukchandrika2215 Cool, Good luck for interview
@@ukchandrika2215 did you get job??
@@ukchandrika2215 did you get a job anywhere?
Thank You Sir , Was Struggling to explain Automation Framework , now got it 🙏🙏🙏
Please make a video with these type of questions
1.How you integrating ExtentReport with Selenium ?
2.How you will fetch data from Excel in Data driven testing ?
3.Write the code for take screenshot or Scroll ?
4.How you implement OOPs concepts on your Framewormk explain?
5.What are things you can't Automate in that scenario what you will do ?
6.Your web application has a functionality like if logged in from India it will show location as India ,if you logged in from London it will show London How you will test it ?
7.How to find all the broken links in a page ?
Do u know those answer
Seriously yesterday night I was searching this today you are uploaded this video.
Thank you so much sir
HOW TO EXPLAIN SELENIUM AUTOMATION FRAMEWORK
1. Programming language: Java
2. Framework Type: Data driven framework driven by using Page Object Model
3. POM: As per the Page Object Model, we have maintained a class for every web page. Each web page has a separate class and that class holds the functionality and members of that web page. Separate classes for every individual test.
4. Packages: We have separate packages for Pages and Tests. All the web page related classes come under the Pages package and all the tests related classes come under Tests package. For example, Payment Page and Login Page have separate classes to store element locators.
5. Properties file: This file (config.properties) stores the information that remains static throughout the framework such as browser-specific information, application URL, development, testing URL screenshots path, security questions and answers, username, passwc-ing, development, testing URL, etc.
The above screenshot illustrates a standardized maven project. As per the above maven project, all the tests are kept in the 'src/test/java'and remaining files (such as config.properties, element locators (POM classes files, test data, etc.,) kept under 'src/main/java'.
5.TestNG: Using TestNG for Assertions, Grouping, and Parallel execution.
6. Screenshots: Screenshots will be captured and stored in a separate folder and also the screenshots of failed test cases will be added to the extent reports.
7. Maven: Using Maven for build, execution, and dependency purpose. Integrating the TestNG dependency in the POM.xml file and running this POM.xml file using Jenkins.
8. Version Control Tool: We use Git as a repository to store our test scripts.
9. Jenkins: By using Jenkins CI (Continuous Integration) Tool, we execute test cases on a daily basis and also for nightly execution based on the schedule. Test Results will be sent to the peers using Jenkins.
10. Installer Batch Files: In case of desktop-based applications installation you would be keeping PowerShell batch files.
11. src/test/resources: AutoIT Scripts, Sikuli images, licenses to make your application under test up & running, etc files kept
12. Test Base Class: Test Base class (TestBase.java) deals with all the common functions used by all the pages. This class is responsible for loading the configurations from properties files, Initializing the WebDriver, Implicit Waits,
13.Reports. Extends reports
Thanks much
Thanks alot
Thank you for such a detailed explanation…it’s so helpful..thank you for all your efforts to benefit others…appreciate it..
Sir good explanation same thing if you make video on BDD cucumber how to explain in interview it would be great and boost confidence since most of the companies using bdd selenium framework
Thanks for the wonderful session
Hi..Please share this document..this is really helpful..very nycly u are explaining..thanks..
Great Effort Sir
Thank you very very very very very much sir for the information you have provided
Thank you for this video. it will be more helpful if you share the document that you described in video
Thank you Rakesh sir for your detailed information....
Waited for this video long time sir
Thanks much
Much needed video and nicely explained Sir
Very informative and helpful…thanks
Sir I am really happy to see this perfect video for us ..How to say thank you I don't know
very useful for interview preparation, thanks.
Sir plz make videos for women who have gap or career break due to maternity and marriage
Thanks it was useful.
Hi Sir,
Can you please explain the flow of execution where it starts and how it goes ? in this framework.Thanks in advance :)
Its helpful explanation please post documents
Thank you
sir can you please explain how above framework which you explained is considered as Hybrid?
Sir plz explain dada driven framework amd Behaviour data driven BDD framework difference.
Can I get this word file ple ! It’s really helpful .
hi sir, Can you just make a video how to explain pytest framework in interview
How to explain testNG framework in an interview.... Plz make a complete video on it from scratch
sir..could you please explain similarly for selenium automation using python too?
Thank you so much sir !!
thanks
wil it possible to access this document you are explaining in video
Can you explain the java programming question, especially interviewer asked
Thanku sir.....
Guys I need a bit of help
Yes i also worked with Selenium but my project was process automation has nothing with developing stuff
Also the company was using some unknown in house developed tools like AutomatON
how would i frame my answer ?
Any help is appreciated
Thanks in advance!!
Sir can you please explain how to tell Cucumber framework
Nice sir
How can you proceed to write existing frame work? (Adding some function in application)
tq sir
Cucumber framework also is the same sir ?
How is the coverage calculated ?
Can u please tell me about how to validate values on 1 page with values coming from another page
for this do we have to verify from database or we have to store the data from 1 page in data structure and access it in another page in POM pattern
Selenium framework with java is explained everywhere. I am not able to find selenium framework with python explained anywhere. Request you to
make a video on it. It will be very helpful.
Good stuff
Explain bdd framework folders how to explain in interview
Can u give pdf format?
Can I get this pdf file?
Sir how we will explain defect bug life cycle in interview?
Sir plz share this notes
Dear sir,
Please share this document in pdf format.
Pls send this pdf anybody have. Will be very helpful for interview
In my framework there were no properties file
how can I download this document?
Sir provide documents or pdf of answer and question
Please share this PDF sir
There is no sequential explanation in this video
Send that pdf
Unfortunately no interview…
can you provide that pdf ?
Can you provide that pdf ?