• selenium webdriver commands
    Quality,  Selenium,  Webdriver

    Selenium Webdriver Commands

    Selenium Webdriver Commands There are many selenium webdriver commands use to automate a project as we have seen in my previous posts of selenium webdriver. Some of the available commands in webdriver are Browser Commands, Interactive Commands, Information Commands, String Comparison Commands, Validation Commands etc. Browser Commands: The browser commands use to open the browser, close the browser and open the website by get the url. get :- It is to open the URL of the web application.     Syntax: driver.get(“url”); quit():- It is to close the browser.     Syntax: driver.quit(); close:- It is to close the child or pop up window. Syntax: driver.close();   Interactive Commands: The interactive commands…

  • Video Recording Test Scenarios
    Quality,  Software Testing,  Test Scenarios

    Video Recording Test Scenarios

    Video Recording Test Scenarios Verify the availability of Video Recorder device like Multimedia Mobile phones, Smartphone, Handycam, Digital Camera, CCTV etc. Verify the device ON and setting of the device should be in Video Recording mode. Verify that the lens of the Camera should have clear view to record. Verify that Recording button should appear to record in video recording mode. Verify that Timer should appear while recording a video. Verify that there should be enough space in the device or SD card to record and save a video. Verify the Play the recording feature and check whether the video have been recorded successfully or not with desired quality. Verify…

  • TestNG with XML
    Quality,  Selenium,  Software Testing,  Webdriver

    TestNG with XML

    TestNG with XML Framework TestNG with XML has many advantages in Selenium, as we can do parallel testing and can execute multiple test scripts of multiple classes. By the use of XML with TestNG framework we can do multi browser testing, means we can launch multiple browsers simultaneously like Google Chrome, Mozilla Firefox, Internet Explorer, Safari etc and run same script. Suppose we make test scripts for 600 test cases, but we want to run the test scripts no. 3, 258, 423 and 586 only, then in this type of scenario we will use TestNG.xml file to execute these test scripts. We can run the scripts (test methods) in user…

  • TestNG Framework in Selenium
    Quality,  Selenium,  Software Testing,  Webdriver

    TestNG Framework in Selenium

    TestNG Framework in Selenium TestNG framework in Selenium is a testing framework and the advanced version of JUnit testing framework. The limitations which are identified in JUnit, all are overcome and also given added advantages. It is an add-on to the eclipse. Also in latest version of eclipse, TestNG has been pre-installed. But if somehow it has not been installed in eclipse then I have described TestNG installation steps in eclipse below. Steps to install TestNG: Go to Eclipse >> click on Help >> Select Install New Software. Click on Add >> give name as TestNG and give the location as ‘http://beust.com/eclipse’ >> click on OK. Check the checkbox at…

  • Junit Framework in Selenium
    Quality,  Selenium,  Software Testing

    JUnit framework in Selenium

    JUnit framework in Selenium It is a java unit testing framework where we can implement the scripts in java programming language and it can be executed. We can develop the test scripts in junit framework in selenium in the same way as we implement the test cases in manual testing. Junit is used to test the small codes, so that defects can be identified by the developers at the early stage of development process. How to use Webdriver with Junit in eclipse? Take a Junit class by right clicking on the project >> click on New >> select Junit test case. Give the Package Name as Junit Practice and give…