Selenium Certification Training | Anagha | 11th Jan

Discussion in 'Agile and Scrum' started by Support Simplilearn(4685), Jan 10, 2020.

  1. Support Simplilearn(4685)

    Support Simplilearn(4685) Well-Known Member
    Alumni

    Joined:
    Feb 11, 2010
    Messages:
    96
    Likes Received:
    0
    Hi All,

    This is the common group for the batch participants to post their queries regarding course-related issues.

    Thanks,
    Simplilearn
     
    #1
  2. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23
  3. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23
  4. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23
    Assignment for Day -1 :
    Scanner object assignment :

    Use the addition program, accept numbers from users and perfrom

    Add, subtract, multiple and display the results.

    Create separate methods for each operation

    Accept a string from user and display the string

    Format your code : ctrl+a. : Select all code. Ctrl+shift+f
     
    #4
    Brinda Gyawali Poudel likes this.
  5. Sarath Mutyapu

    Joined:
    Dec 13, 2019
    Messages:
    2
    Likes Received:
    0
    After completing the assignment, is there a place to submit the work?


     
    #5
  6. Brinda Gyawali Poudel

    Joined:
    Dec 29, 2019
    Messages:
    1
    Likes Received:
    0
     

    Attached Files:

    #6
  7. Sridhar Raju Arramaraju

    Joined:
    Dec 17, 2019
    Messages:
    3
    Likes Received:
    0
    Hi, Here is the assignment : com.zip
     

    Attached Files:

    • com.zip
      File size:
      2.4 KB
      Views:
      1
    #7
  8. Sarath Mutyapu

    Joined:
    Dec 13, 2019
    Messages:
    2
    Likes Received:
    0
    First Java Basic Program Code.
     

    Attached Files:

    #8
  9. Leilanie Mendoza

    Joined:
    Nov 30, 2019
    Messages:
    3
    Likes Received:
    0
     

    Attached Files:

    #9
  10. Leilanie Mendoza

    Joined:
    Nov 30, 2019
    Messages:
    3
    Likes Received:
    0
    Submitting Assignment 2 - Constructor
     

    Attached Files:

    #10
  11. Christopher Garrison

    Joined:
    Oct 28, 2019
    Messages:
    6
    Likes Received:
    0
     

    Attached Files:

    #11
  12. Christopher Garrison

    Joined:
    Oct 28, 2019
    Messages:
    6
    Likes Received:
    0
    where are the code samples and notes from Jan 2020 day 2 Selenium posted?
     
    #12
  13. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23
  14. Gopal K Maheshwari

    Joined:
    Nov 12, 2019
    Messages:
    3
    Likes Received:
    0
    =============================================================================
    Assignment from Gopal M [artistinme03]
    Please find the attached Java file.
     

    Attached Files:

    #14
  15. Gopal K Maheshwari

    Joined:
    Nov 12, 2019
    Messages:
    3
    Likes Received:
    0
    Hey, My message is not yet posted on the wall and it says waiting for moderator approval from last 2 days.
     
    #15
  16. Aparna Mitra

    Aparna Mitra Member

    Joined:
    Sep 10, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Anagha Ma'am,

    I read the below in one of the websites and needed some clarity.
    'Selenium browser classes (FirefoxDriver, ChromeDriver) have param and no-param constructors so this makes that there is no default constructor present in selenium.'

    Isnt default constructor same as no-param constructor ?
    So when I call the below - >
    //chrome
    new ChromeDriver() ----- is this default or no-param constructor ?
    new ChromeDriver(Capabilities desiredCapabilities)
    new ChromeDriver(ChromeOptions options)
     
    #16
  17. Aparna Mitra

    Aparna Mitra Member

    Joined:
    Sep 10, 2019
    Messages:
    2
    Likes Received:
    0
    I stumbled across a code and couldn't quite understand the steps in the constructor. Request you to share some understanding. Thanks.

    public abstract class TNGDriver {
    public static WebDriver driver;
    private static String chromeDriverPath = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chromedriver.exe";

    @SuppressWarnings("deprecation")
    public TNGDriver() {
    DesiredCapabilities capabilities = DesiredCapabilities.chrome();
    ChromeOptions options = new ChromeOptions();
    options.addArguments("--incognito");
    capabilities.setCapability(ChromeOptions.CAPABILITY, options);
    System.setProperty("webdriver.chrome.driver", chromeDriverPath);
    driver = new ChromeDriver(capabilities);
    driver.manage().window().maximize();
    }

    public static WebDriver getDriver() {
    return driver;
    }

    public static void setDriver(WebDriver driver) {
    TNGDriver.driver = driver;
    }
     
    #17
  18. Sridhar Raju Arramaraju

    Joined:
    Dec 17, 2019
    Messages:
    3
    Likes Received:
    0
    Hi all,
    Can any one provide a link from where I can download the <internet explorer 11> web driver for windows 10? Appreciated your help.
     
    #18
  19. Christopher Garrison

    Joined:
    Oct 28, 2019
    Messages:
    6
    Likes Received:
    0
    Hi - Here is my 2nd Assignment concerning using a non parameter and parameter constructor.
     

    Attached Files:

    #19
  20. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23

    No param constructor is one where in there is a explicit constructor written like in this case, chromedriver() has a code written in its constructor.
    Default constructor is one which JVM calls itself when no explicit constructor is defined. And this enables initialisations of instance variables.

    Sometimes default name is used for both.
     
    #20
  21. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23

    In this code , whenever this class gets instantiated , chrome browser is launched. Now there are many options/capabilities you can set with the browser when we launch the browser. We will be looking at the browser capabilities much later in the course.
    So instead of calling a separate method for launching browser, driver initialisation and browser launch is done in constructor.
     
    #21
  22. Sridhar Raju Arramaraju

    Joined:
    Dec 17, 2019
    Messages:
    3
    Likes Received:
    0
    Hi, I am attaching the Constructor with and without parameter. Also, attaching to launch a browser on user choice using Chrome, Firefox and Edge, but I am unable to find out the IE 11 browser driver compatible with Windows 10. Hope i will find it soon, then update my code and upload again.
     

    Attached Files:

    #22
  23. Christopher Garrison

    Joined:
    Oct 28, 2019
    Messages:
    6
    Likes Received:
    0
    selenium-my place of work and my favorite hobby
     

    Attached Files:

    #23
  24. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23
    Here is the link .
    https://selenium-release.storage.googleapis.com/index.html?path=3.141/

    Also refer to this link on how to configure IE
    https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver#required-configuration
     
    #24
  25. Sankar Ammu

    Sankar Ammu New Member

    Joined:
    Dec 8, 2019
    Messages:
    1
    Likes Received:
    0
    Hi,
    Attaching the Assignment for constructor with and with out parameters and launching the browsers (IE,Chrome & Firefox).
     

    Attached Files:

    #25
  26. Gopal K Maheshwari

    Joined:
    Nov 12, 2019
    Messages:
    3
    Likes Received:
    0
    Hi,
    Attached is the Code files for Basic Math, Constructor and BrowserLaunchAndNavigation assignment for Week 1 Assignment.
     

    Attached Files:

    #26
  27. Leilanie Mendoza

    Joined:
    Nov 30, 2019
    Messages:
    3
    Likes Received:
    0
    Submitting Assignment 3 & 4
     

    Attached Files:

    #27
  28. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    205
    Likes Received:
    23

Share This Page