Hi Naveen, thanks for the excellent videos. I have some queries. Can you please help me with that. 1. What is the difference between TDD and BDD framework. Based on what criteria do we have to go for TDD or BDD framework. 2. Which are the popular BDD frameworks from Selenium point of view?
@naveenautomationlabs7 жыл бұрын
Data Driven Framework in Selenium WebDriver with TestNG DataProvider and Apache POI API. +How to use @dataProvider annotation +How to fetch test data from excel using data provider utility +How to define @dataProvider with @Test annotation in TestNG +How to parameterize @Test - Test Case using TesNG- data providers ****Subscribe to my channel, and press bell icon to get some interesting videos on Selenium and Automation: kzbin.info
@testinginsights-muktasharma6 жыл бұрын
Hi Naveen, i have few queries, if you can help me in understanding: 1. Where we will write main method, even if am using TestNG framework? If we are not writing main method here, then from where the execution will begin ? 2. Suppose we have 100 test cases, do we need to prioritize all of them? If yes, how? If no,can we prioritize few of the test cases and then leave the rest of test cases? Possible? 3. What is TDD given in the title? How do we explain it in interview? I have been seen these terms, TDD & BDD at so many places in job description. 4. Can we apply grouping on test methods as well, like you said we can apply grouping on test cases? 5. I tried to find the continuation of the video..can you please tell me the title of the immediate next video.
@naveenautomationlabs6 жыл бұрын
Hi Mukta, Seems you are referring old video. Please refer this playlist for all TestNG features. kzbin.info/aero/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy (it will give answer for your queries #1,2,4,5)
@naveenautomationlabs6 жыл бұрын
To answer your query #2: TDD and BDD are the framework approaches. TDD - Test Driven Development Frameworks like (TestNG/Junit). BDD - Behavirol Driven Development Frameworks like (Cucumber, JBehave). You need to tell what are the different TDD and BDD framework tools you have used. For BDD - Cucumber please refer this demo video : kzbin.info/www/bejne/aYKniqWLrZxredk
@naveenautomationlabs6 жыл бұрын
For query#1: If you don't write main() method in testNG class, it doesn't matter. TestNG will start the execution on the basis of given annotations which internally calls the JVM so we dont need main() method in testng class.
@testinginsights-muktasharma6 жыл бұрын
Thank you for the prompt reply!
@CMsuka4 жыл бұрын
@@naveenautomationlabs Thanks Naveen for the explanation.... as Usual great video with lucid guidelines. Referring your above answer ,w.r.to " TDD - Test Driven Development Frameworks like (TestNG/Junit).", Can U please clarify are we using testNG /Junit with selenium in TDD mode ? If not, Can we commit in the interview panel as "TestNG and Junit are TDD and I am using it ?" Your clarification would be more grateful....Thanks in Advance !
@naveenautomationlabs6 жыл бұрын
Naveen AutomationLabs - Channel Full Playlists on KZbin: Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation: kzbin.info%20AutomationLabs?sub_confirmation=1 Playlists URLs: ========= 1. Core Java: kzbin.info/aero/PLFGoYjJG_fqqyIj2ht0aHMx_HnGX3ZFEx Desc: Learn Core Java Step By Step. These tutorials videos are specially designed for beginners. ========== 2. Selenium WebDriver: kzbin.info/aero/PLFGoYjJG_fqo4oVsa6l_V-_7-tzBnlulT Desc: Learn Selenium WebDriver (Selenium 3.x) from the beginning. If you are a Manual tester who is eager to upgrade to the Automation skills. 1. Learning to automate Real-time project scenarios. 2. Learn to convert Manual test case to Automation script. 3. Framework design with respect to Real-time projects. 4. Learn end to end automation using Continous Integration by Jenkins tool. ============ 3. TestNG: kzbin.info/aero/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy Desc: Learn TestNG Framework Step by Step. TestNg integration with Selenium WebDriver ============ 4. Learn Dynamic Xpath: kzbin.info/aero/PLFGoYjJG_fqoY3PNcMLjp4pJZSXUCHeiB Desc: Do you want to have expertise in Selenium, Learn Dynamic XPath! Become a genius in XPath and crack interview like a Pro!! =========== 5. Data Driven Framework: kzbin.info/aero/PLFGoYjJG_fqqlW6swKwutBOVU2O8k_JHT Desc: Learn how to implement Data Driven Framework by using Apache POI API and TestNG =========== 6. Page Object Model (POM): kzbin.info/aero/PLFGoYjJG_fqq6cHeqfsDes3pdVh3kpl74 Desc: Page Object Model (POM) Design With Selenium WebDriver: +Learn Page Object Model Step by Step +POM design - Architecture & Pattern +What is Page Chaining Model +Use of PageFactory API in Selenium ===========
@kaush73 жыл бұрын
perfect
@DeepakMishra-ql4gh4 жыл бұрын
Hey Naveen what is the difference B/W TDD approach and TDD Framework , Both are similar of different
@shivangichandra53623 жыл бұрын
@Naveen How How to handle different pre-conditions for different test cases?
@sumayazamasyed89826 жыл бұрын
Hi Naveen, as you said @BeforeMethod, @Test and @AfterMethod is a pair, if we don't use @BeforeMethod and @AfterMethod also @Test will work. Can you please tell what is the difference between using with and without @BeforeMethod and @AfterMethod. Thanks in advance
@vasavimaddukuri60925 жыл бұрын
Hi Naveen, Your videos are really helpful. Thanks a lot for taking time to record everything. Where can I get the Xls_Reader class code that you have been referring to?
@sarathchandra99897 жыл бұрын
hi buddy where is the continuation for this video ?? that selenium script using TestNG ended abruptly in the end .. can you point me in right direction
@onionsandwich6 жыл бұрын
Whaat .... You've just stopped recording in the middle ?
@PRIYAJAIN-dh5ig4 жыл бұрын
TestNg url is changed to dl.bintray.com/testng-team/testng-eclipse-release/
@rajasekharvb20375 жыл бұрын
Hi Naveen, Thanks for the video I have small query can you help me out. In this TTD framework as you said that for every @Test annotation @Beforemethod and @Aftermethod are executing. But if I want execute @Beforemethod and @Aftermethod one time for all the @Test annotations then how it is possible. Ex: If I have a scenario like once I login into my application I need to perform all scenarios like compose mail, search mail, delete mail...Then only I want logout. I mean to say that I want execute @Beforemethod 1st (i.e Login), then need to complete all @Test annotations..., Then @Aftermethod. By this no need to Login and Logout for every @Test. Please advise me. Thanks
@varaprasad69114 жыл бұрын
simple bro use @before class to initiate the browser and @afterclass to log out and close the browser
@Raj-uz9nv7 жыл бұрын
@parameter name and @dataprovider...and...how to run through XML file...havent u expalined that
@naveenautomationlabs7 жыл бұрын
Hi Raj, @parameter passing from XML and @dataprovider annotations both the topics are covered in a different video. Please refer the full playlist here: kzbin.info/aero/PLFGoYjJG_fqp25buwscrsKA5q8qsLsuUy