Selenium | Anagha | May 4th

Discussion in 'Web App and Programming' started by Ravi T, Apr 30, 2019.

  1. Ravi T

    Ravi T Well-Known Member
    Simplilearn Support

    Joined:
    Jan 8, 2018
    Messages:
    254
    Likes Received:
    27
    Hi All,

    Please use this thread to connect with Trainer & TA(Teaching Assistant) offline.
     
    #1
  2. Ravi T

    Ravi T Well-Known Member
    Simplilearn Support

    Joined:
    Jan 8, 2018
    Messages:
    254
    Likes Received:
    27
    Hi Anagha,

    Getting timedout Error while select a WebElement.

    Screenshot:
     
    #2
  3. Ravi T

    Ravi T Well-Known Member
    Simplilearn Support

    Joined:
    Jan 8, 2018
    Messages:
    254
    Likes Received:
    27
    Hi Ravi,

    Please use the below code as the solution.
     
    #3
  4. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    #4
  5. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Hi Anagha,

    Can you please share the link of share drive where the yesterday's class notes and code has been kept.

    Thanks
    Rajnish
     
    #5
  6. Amol Jadhav

    Amol Jadhav Member

    Joined:
    Apr 30, 2019
    Messages:
    4
    Likes Received:
    0

    Attached Files:

    #6
  7. Amol Jadhav

    Amol Jadhav Member

    Joined:
    Apr 30, 2019
    Messages:
    4
    Likes Received:
    0
    Also the recording of the yesterday session is not available.
     
    #7
  8. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    #8
  9. Amol Jadhav

    Amol Jadhav Member

    Joined:
    Apr 30, 2019
    Messages:
    4
    Likes Received:
    0
    Dear Anagha,
    Having queries on defining method with string variable. Please find attached document for your reference. Queries are mentioned at the bottom of PDF.

    Please check and let me know.
     

    Attached Files:

    #9
  10. Swathi Shetty_1

    Swathi Shetty_1 Active Member

    Joined:
    Mar 22, 2019
    Messages:
    27
    Likes Received:
    2
    Hi.I downloaded and installed JDK and selenium,But when i run a program it comes as a build up error.it says the program can't be launched and a build up error.Even a very simple program like hello program.What may be the problem?
     
    #10
  11. Swathi Shetty_1

    Swathi Shetty_1 Active Member

    Joined:
    Mar 22, 2019
    Messages:
    27
    Likes Received:
    2
    when i create a new project a pop up comes as "building workspace" has encountered a problem.Error occurred during the build
     
    #11
  12. Lilli Anderson

    Lilli Anderson New Member

    Joined:
    Apr 25, 2019
    Messages:
    1
    Likes Received:
    0
    Hi Anagha! Great class yesterday!
    When I go to the Google drive link you provided, it just takes me to the install instructions. There are no other files listed that I can see where I can view class notes. Where do I find the class notes etc?
    Also, where do we post our homework and in what format?
    thanks!
    Lilli
     
    #12
  13. Amol Jadhav

    Amol Jadhav Member

    Joined:
    Apr 30, 2019
    Messages:
    4
    Likes Received:
    0
  14. Vineeta Sankaran

    Vineeta Sankaran New Member

    Joined:
    Feb 26, 2019
    Messages:
    1
    Likes Received:
    0
  15. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    Week 1: Assignment 1- Use of ChromeDriver with Selenium


    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;

    public class LaunchChrome {
    public static WebDriver driver;
    public static void main(String[] args) throws InterruptedException {
    System.setProperty("webdriver.chrome.driver", "E://Hanee//SeleniumProjects//01//drivers//chromedriver.exe");
    driver = new ChromeDriver();
    driver.get("http://www.amazon.com");
    Thread.sleep(2000);
    driver.close();
    }
    }

    Thanks,
    Hanee
     
    #15
    Last edited: May 7, 2019
    Anagha Gadgil likes this.
  16. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    For Mac users : Pls check the file permissions on geckodriver. if there is no execute permission then you will see the exception as "driver executable does not exist". Change the premising using chmod 755

    Jay : This should solve your issue. Check and let me know
     
    #16
  17. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    #17
  18. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
  19. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
  20. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    #20
  21. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    Swati, Please check first if java is working fine before installing selenium, Refer to the pdf for setting path variable.
    Check from your command prompt if java is recognised . [ java -version]
    In Eclipse,
     
    #21
  22. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    #22
  23. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Hi Anagha,

    I am getting an error using chrome browser details are given below-

    Latest chrome version is 74.0.3729.131
    Downloaded chrome driver is 74.0.3729.6

    Error in IDE console-

    Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 22550
    Only local connections are allowed.
    Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.

    Please refer the attached the screen shot and suggest how to proceed with chrome.

    Note- Able to run the scripts using Firefox and IE browsers.

    Thanks
    Rajnish
     

    Attached Files:

    #23
  24. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    Week 1: Assignment 2-
    Write a student class with 2 constructors. One default and one with string parameter
    Scenario 1: When you pass student name to this class, it should print the name.
    Scenario 2: If you do not pass any name, it should print it as 'Unknown'




    package Examples;
    public class student {

    public student() {
    System.out.println("--This is Scenario 1 Calling as: ");
    System.out.println("Unknown");
    }

    public student (String name) {
    System.out.println("--This is Scenario 2 Calling as: ");
    System.out.println("Student name is: " + name);
    }

    public static void main(String[] args) {
    student name1 = new student();
    student name2 = new student("Hanee Srivastava");
    }
    }​

    Thanks,
    Hanee
     
    #24
    Anagha Gadgil likes this.
  25. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Can you please suggest how to proceed further.
     
    #25
  26. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    #26
  27. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Thanks.

    I have downloaded the from the above provided link, but still i am getting the error.

    Can you please check your browser version and chrome driver version. Provide me so that the same i can also use. Since, your browser version and driver are both got validated.

    I am using the below versions.

    Latest chrome version is 74.0.3729.131
    Downloaded chrome driver is 74.0.3729.6
     
    #27
  28. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Week1: Class2- Assignment of constructors-

    /*Write a student class with 2 constructors. One default and one with string parameter
    Scenario 1: When you pass student name to this class, it should print the name.
    Scenario 2: If you do not pass any name, it should print it as 'Unknown'*/

    package JavaBasics;

    public class StudentRajnish {
    public StudentRajnish() {
    System.out.println("1. Calling number 1 scenario: ");
    System.out.println("Unknown");
    }

    public StudentRajnish(String name) {
    System.out.println("2. Calling number 2 scenario");
    System.out.println("Student name is" + name);
    }

    public static void main(String[] args) {
    StudentRajnish name1 = new StudentRajnish();
    StudentRajnish name2 = new StudentRajnish("\t RAJNISH KUMAR SRIVASTAVA");
    }
    }
     
    #28
    Anagha Gadgil likes this.
  29. Hanee Srivastava

    Joined:
    Mar 1, 2019
    Messages:
    12
    Likes Received:
    3
    Hi,

    Mine is "Version 73.0.3683.103" in both.

    Thanks.
     
    #29
    Rajnish (2690) likes this.
  30. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Thanks for your support Hanee.

    Unfortunately still i am getting the same error. Did the below steps. It seems some of system configuration is blocking to run this Chrome browser using Selenium.

    I have downgraded the chrome browser and stopped to auto update.
    Chrome browser earlier used 74.0.3729.131
    New Chrome browser Version 73.0.3683.103
    downloaded chrome driver Version which is available 73.0.3683.68.

    Still the same error i am getting.

    Starting ChromeDriver 73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72) on port 25065
    Only local connections are allowed.
    Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
    Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed
    (unknown error: DevToolsActivePort file doesn't exist)
    (The process started from chrome location C:\Users\rajnish_sai\AppData\Local\Google\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
    (Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 9.63 seconds
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48'
    System info: host: 'RAJNISH', ip: '192.168.43.242', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'
    Driver info: driver.version: ChromeDriver
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
    at org.openqa.selenium.remote.JsonWireProtocolResponse.lambda$errorHandler$0(JsonWireProtocolResponse.java:54)
    at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
    at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
    at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
    at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
    at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
    at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
    at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
    at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
    at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:123)
    at Selenium.ChromeBrowserLaunch.main(ChromeBrowserLaunch.java:11)
     
    #30
  31. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    This error is seen when the driver is not compatible with chrome version.
    Since you are saying that you have verified the versions, lets try these..

    1. Reinstall chrome : https://www.google.com/chrome/?system=true&standalone=1. and depending on the version, download the corresponding driver. Sometimes this fixes the incompatible issues

    2.Even if this does not solve, we can try adding --no-sandbox options to chrome in the code.. [I will post the code here] after you confirm the above did not work.
     
    #31
  32. Swathi Shetty_1

    Swathi Shetty_1 Active Member

    Joined:
    Mar 22, 2019
    Messages:
    27
    Likes Received:
    2
    Constructor Assignment

    package
    com.simplilearn.Day2.oops;



    public class ConstAssign {



    public ConstAssign () {

    System.out.println("The Name of the student is Unknown");



    }

    public ConstAssign (String Fullname) {

    System.out.println("The name of the Student is :" +Fullname );



    }



    public static void main(String[] args) {

    ConstAssign obj = new ConstAssign();

    ConstAssign obj1= new ConstAssign("Swathi Hegde");







    }



    }
     
    #32
    Anagha Gadgil likes this.
  33. Lakshmi Haritheertham

    Joined:
    May 3, 2019
    Messages:
    1
    Likes Received:
    0
    where should we submit assignment, should we post it in this forum?
     
    #33
  34. Saseetha Gowtham

    Saseetha Gowtham Active Member
    Alumni

    Joined:
    Apr 18, 2019
    Messages:
    22
    Likes Received:
    2
    Hello,
    i have an issue on Friefox launch browser. FF browser open without any issues. but i see the error in the console. Help needed! Thanks!
    Program:
    package com.simplilearn.day2.oops;

    import java.util.concurrent.TimeUnit;

    import org.openqa.selenium.firefox.FirefoxDriver;
    import org.openqa.selenium.WebDriver;

    public class LaunchBrowser {

    public static void main(String[] args) {
    System.setProperty("webdriver.gecko.driver", "/Program Files/Drivers/geckodriver.exe");
    WebDriver driver = new FirefoxDriver();
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(40,TimeUnit.SECONDS);
    driver.manage().timeouts().pageLoadTimeout(90, TimeUnit.SECONDS);
    driver.get("https://www.amazon.com");

    }

    }


    Error in the console:
    1557438583716 mozrunner::runner INFO Running command: "C:\\Program Files\\Mozilla Firefox\\firefox.exe" "-marionette" "-foreground" "-no-remote" "-profile" "C:\\Users\\AjayG\\AppData\\Local\\Temp\\rust_mozprofile.WSvKg2IdEATB"
    1557438584731 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: mozillaAddons
    1557438584731 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: resource://pdf.js/
    1557438584732 addons.webextension.screenshots@mozilla.org WARN Loading extension 'screenshots@mozilla.org': Reading manifest: Invalid extension permission: about:reader*
    1557438589580 Marionette INFO Listening on port 55008
    1557438589752 Marionette WARN TLS certificate errors will be ignored for this session
    May 09, 2019 5:49:49 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: W3C
     
    #34
    Pratima Rawat likes this.
  35. Saseetha Gowtham

    Saseetha Gowtham Active Member
    Alumni

    Joined:
    Apr 18, 2019
    Messages:
    22
    Likes Received:
    2
    May 5th Student assignment
    ----------------------------------------------------------
    package com.simplilearn.day2.oops;

    public class student {
    String name;

    public student() {
    System.out.println("Unknown");
    }

    public student(String name) {
    this.name =name;
    System.out.println("Name of the Student: " + name );
    }

    public static void main(String[] args) {
    new student("Megan");
    new student();
    }

    }
     
    #35
  36. Saseetha Gowtham

    Saseetha Gowtham Active Member
    Alumni

    Joined:
    Apr 18, 2019
    Messages:
    22
    Likes Received:
    2
    May5th Assignment:
    Launching Chrome browser:


    import java.util.concurrent.TimeUnit;

    import org.openqa.selenium.*;
    import org.openqa.selenium.chrome.ChromeDriver;

    public class LaunchBrowserChrome{

    public static void main(String[] args) {
    System.setProperty("webdriver.chrome.driver", "/Program Files/Drivers/chromedriver.exe");
    WebDriver driver = new ChromeDriver();
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(40,TimeUnit.SECONDS);
    driver.manage().timeouts().pageLoadTimeout(90, TimeUnit.SECONDS);
    driver.get("https://www.amazon.com");

    }

    }

    -----------------
    Message in the console
    Starting ChromeDriver 74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}) on port 26070
    Only local connections are allowed.
    Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
    May 09, 2019 7:17:09 PM org.openqa.selenium.remote.ProtocolHandshake createSession
    INFO: Detected dialect: OSS
     
    #36
  37. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    Here are the issues :
    1. its not string. its with caps String. Hence its suggesting you to add a variable and pass it through main.
    2. In your method1, you are returning a value but have not defined it ..
    public String method1() { return " Any String"} hover over the red x and you should be able to see the error there.
    3. you are working with integers in the method and returning string.. why?

    Change your method 1 to :
    public String method1(){
    int x=10;
    int y = x-5;
    return "Returning from the method"
    }


    The question about classname<variable> -suggested by eclipse. -> this specified type parameter to the class. Its a usage for Box class which is advanced java technique. We need not worry about that...

    Make sure that you use "S"tring and not lowercase "s"
     
    #37
  38. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Anagha

    Still the same issue. Please provide the other options to get this chrome browser up and running.

    Chrome browser Version 73.0.3683.103
    Chrome driver Version which is available 73.0.3683.68

    Still the driver version is not the same as chrome driver.
     
    #38
  39. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Thank you all for your support. I have followed the below steps and its worked.
    1. Uninstall chrome

    2. Remove the chrome folder from the directory C:\Users____\AppData\Local\Google\chrome

    3. Reinstall chrome
    Able to execute the Selenium code for Chrome browser.
     
    #39
    Swathi Shetty_1 likes this.
  40. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Week1: Class2- Use of ChromeDriver with Selenium-

    package Selenium;

    import org.openqa.selenium.WebDriver;
    import org.openqa.selenium.chrome.ChromeDriver;

    public class ChromeBrowserLaunch {

    public static void main(String[] args) throws InterruptedException {
    System.setProperty("webdriver.chrome.driver", "D:\\Automation testing-Simplilearn\\Simplilearn_Ana\\SeleniumProject\\drivers\\chromedriver.exe");
    WebDriver driver = new ChromeDriver();
    driver.manage().window().maximize();
    driver.get("https://www.seleniumhq.org");
    Thread.sleep(2000);
    driver.get("https://www.amazon.in");
    Thread.sleep(2000);
    driver.close();
    }

    }

    // Version 73.0.3683.103
     
    #40
  41. Smitha shree karthala

    Joined:
    Mar 31, 2019
    Messages:
    8
    Likes Received:
    1
    Hi Anagha,

    I am able to successfully launch Chrome and mozilla browser but facing issue with IE browser. Below is the code used:
    public class LaunchIE {

    public static void main(String[] args) {
    // TODO Auto-generated method stub
    System.setProperty("webdriver.ie.driver", "F:\\Selenium Set up\\drivers\\IEDriverServer.exe");
    WebDriver driver = new InternetExplorerDriver();
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(40,TimeUnit.SECONDS);

    driver.manage().timeouts().pageLoadTimeout(90, TimeUnit.SECONDS);
    driver.get("https://www.seleniumhq.org");


    }

    }
    When i run the code, IE browser is launched where plain white screen with message "This is the initial start page for the WebDriver server" is displayed. Can you please try to check what is stopping IE to redirect to the specified URL.

    Thanks,
    Smitha
     

    Attached Files:

    #41
  42. Rajnish (2690)

    Rajnish (2690) Active Member

    Joined:
    Jul 28, 2014
    Messages:
    15
    Likes Received:
    3
    Smitha

    Please refer the IE browser launch steps from below share location, there are few settings we need to do.

    https://drive.google.com/open?id=1aupEPZWTHhiPSVKiYgijr4vl11pilgIR
     
    #42
  43. Pratima Rawat

    Pratima Rawat Member

    Joined:
    Apr 22, 2019
    Messages:
    9
    Likes Received:
    1
    //Assignment on Constructors
    package com.simplilearn.day1.assignment;
    public class Constructors {

    String name;

    public Constructors()
    {
    System.out.println("Unknown");
    }


    public Constructors(String name)
    {

    this.name=name;
    System.out.println("Student name is "+name);
    }


    public static void main(String args[])
    {
    Constructors Student1=new Constructors();
    Constructors Student2=new Constructors("Pratima");
    }

    }
     
    #43
    Anagha Gadgil likes this.
  44. Tamin Asif

    Tamin Asif Member

    Joined:
    Mar 14, 2019
    Messages:
    3
    Likes Received:
    1
    Constructors Assignments:

    public class student {
    public student() {
    System.out.println("Unknown");
    }
    public student(String name) {
    System.out.println("Student Name: " +name);
    }
    public static void main(String[] args) {
    student name1 = new student();
    student name2 = new student("Tam");
    }
    }
     
    #44
    Anagha Gadgil likes this.
  45. Pratima Rawat

    Pratima Rawat Member

    Joined:
    Apr 22, 2019
    Messages:
    9
    Likes Received:
    1
    I am also facing the same issue
     
    #45
  46. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    This is OK if your browser is launching and you are able to navigate to website without issues.
    The are the warnings thrown by Marionette to gecko driver and can be ignored. Marionette is the driver included in Firefox and due to some overriding functions, these warnings are thrown..
     
    #46
  47. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    Plea

    Please do these settings for IE :
    Special settings to be done in IE Browser before launching this browser through selenium. All sites
    to be set either Enabled or Disabled”
    In IE : Goto Tools -&gt; InternetOptions -&gt; Select security
    Click on every zones : Internet Local Intranet Trusted Sites Restricted sites
    Uncheck or Check the “Enable protected mode” checkbox for all
     
    #47
  48. Anagha Gadgil

    Anagha Gadgil Well-Known Member

    Joined:
    Mar 18, 2019
    Messages:
    149
    Likes Received:
    16
    Plea

    Please do these settings for IE :
    Special settings to be done in IE Browser before launching this browser through selenium. All sites
    to be set either Enabled or Disabled”
    In IE : Goto Tools -&gt; InternetOptions -&gt; Select security
    Click on every zones : Internet Local Intranet Trusted Sites Restricted sites
    Uncheck or Check the “Enable protected mode” checkbox for all
     
    #48
  49. Saseetha Gowtham

    Saseetha Gowtham Active Member
    Alumni

    Joined:
    Apr 18, 2019
    Messages:
    22
    Likes Received:
    2
    Thanks Anagha for the clarification!
     
    #49
  50. Pratima Rawat

    Pratima Rawat Member

    Joined:
    Apr 22, 2019
    Messages:
    9
    Likes Received:
    1
    Hi Anagha,

    Could you please tell the location of google drive for Day 3 and Day 4 notes
     
    #50

Share This Page