How to figure out identifier of input fields from external pop up windowHow to read the value of a private field from a different class in Java?Gson: How to exclude specific fields from Serialization without annotationsGetting selenium to send keys to google's sign in box (coding in python)Selenium WebDriver: Java: Mac OS X: how control file upload automation for CuteWebUI_Uploader_Resource from CuteWebUI for ASP.NETEntering Username/Password in Authentication pop-up windowlogin with username and password by using selenium in pythonHandling Authentication Required pop upNoSuchElement Exception (selenium)Selenium: org.openqa.selenium.NoSuchWindowException: Currently focused window has been closedHandling browser pop-ups that stop processing in Java/Selenium

If "more guns less crime", how do gun advocates explain that the EU has less crime than the US?

crippling fear of hellfire &, damnation, please help?

Can the IPA represent all languages' tones?

Tempoverlustspiel

My cat is a houdini

How can I communicate my issues with a potential date's pushy behavior?

If you know the location of an invisible creature, can you attack it?

What can Amex do if I cancel their card after using the sign up bonus miles?

The cat ate your input again!

What is a good class if we remove subclasses?

Escape Velocity - Won't the orbital path just become larger with higher initial velocity?

Aderet's Anonymous Sefer and Haskamah?

Is this n-speak?

Can renaming a method preserve encapsulation?

Website error: "Walmart can’t use this browser"

Does Nightpack Ambusher's second ability trigger if I cast spells during the end step?

Are differences between uniformly distributed numbers uniformly distributed?

What kind of liquid can be seen 'leaking' from the upper surface of the wing of a Boeing 737-800?

How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?

Are there any other rule mechanics that could grant Thieves' Cant?

Running code generated in realtime in JavaScript with eval()

How much can I judge a company based on a phone screening?

How is являться different from есть and быть

Why is statically linking glibc discouraged?



How to figure out identifier of input fields from external pop up window


How to read the value of a private field from a different class in Java?Gson: How to exclude specific fields from Serialization without annotationsGetting selenium to send keys to google's sign in box (coding in python)Selenium WebDriver: Java: Mac OS X: how control file upload automation for CuteWebUI_Uploader_Resource from CuteWebUI for ASP.NETEntering Username/Password in Authentication pop-up windowlogin with username and password by using selenium in pythonHandling Authentication Required pop upNoSuchElement Exception (selenium)Selenium: org.openqa.selenium.NoSuchWindowException: Currently focused window has been closedHandling browser pop-ups that stop processing in Java/Selenium






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to put username and password to pop up window. The trouble is that this is some kind of modal or some external window where I can´t find any xpath, id etc... element how to identify this fields. I have came through all topics regarding this but non of them helped me in Java for cucumber/selenium.



Using "https://username:password@wedomain.cz/" doesn´t work.



Using code like this:



WebElement email_id = driver.findElement(By.linkText("Uživatelské 
jméno"));
email_id.sendKeys("XXX");
WebElement password_id = driver.findElement(By.linkText("Heslo"));
password_id.sendKeys("xxx");
Thread.sleep(5000);

WebElement sign = driver.findElement(By.linkText("Přihlaste se"));
sign.click();


Doesn´t work. I must also say that domain I go to is different from domain I see on security pop up window.



enter image description here










share|improve this question
























  • can you share your html?

    – KunduK
    Mar 27 at 10:46











  • @MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

    – Pritam Maske
    Mar 27 at 11:11











  • @Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

    – MartinF
    Mar 27 at 11:53











  • @Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

    – MartinF
    Mar 27 at 11:54






  • 1





    @MartinF : refer this guru99.com/using-robot-api-selenium.html

    – Pritam Maske
    Mar 27 at 11:56

















0















I am trying to put username and password to pop up window. The trouble is that this is some kind of modal or some external window where I can´t find any xpath, id etc... element how to identify this fields. I have came through all topics regarding this but non of them helped me in Java for cucumber/selenium.



Using "https://username:password@wedomain.cz/" doesn´t work.



Using code like this:



WebElement email_id = driver.findElement(By.linkText("Uživatelské 
jméno"));
email_id.sendKeys("XXX");
WebElement password_id = driver.findElement(By.linkText("Heslo"));
password_id.sendKeys("xxx");
Thread.sleep(5000);

WebElement sign = driver.findElement(By.linkText("Přihlaste se"));
sign.click();


Doesn´t work. I must also say that domain I go to is different from domain I see on security pop up window.



enter image description here










share|improve this question
























  • can you share your html?

    – KunduK
    Mar 27 at 10:46











  • @MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

    – Pritam Maske
    Mar 27 at 11:11











  • @Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

    – MartinF
    Mar 27 at 11:53











  • @Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

    – MartinF
    Mar 27 at 11:54






  • 1





    @MartinF : refer this guru99.com/using-robot-api-selenium.html

    – Pritam Maske
    Mar 27 at 11:56













0












0








0








I am trying to put username and password to pop up window. The trouble is that this is some kind of modal or some external window where I can´t find any xpath, id etc... element how to identify this fields. I have came through all topics regarding this but non of them helped me in Java for cucumber/selenium.



Using "https://username:password@wedomain.cz/" doesn´t work.



Using code like this:



WebElement email_id = driver.findElement(By.linkText("Uživatelské 
jméno"));
email_id.sendKeys("XXX");
WebElement password_id = driver.findElement(By.linkText("Heslo"));
password_id.sendKeys("xxx");
Thread.sleep(5000);

WebElement sign = driver.findElement(By.linkText("Přihlaste se"));
sign.click();


Doesn´t work. I must also say that domain I go to is different from domain I see on security pop up window.



enter image description here










share|improve this question














I am trying to put username and password to pop up window. The trouble is that this is some kind of modal or some external window where I can´t find any xpath, id etc... element how to identify this fields. I have came through all topics regarding this but non of them helped me in Java for cucumber/selenium.



Using "https://username:password@wedomain.cz/" doesn´t work.



Using code like this:



WebElement email_id = driver.findElement(By.linkText("Uživatelské 
jméno"));
email_id.sendKeys("XXX");
WebElement password_id = driver.findElement(By.linkText("Heslo"));
password_id.sendKeys("xxx");
Thread.sleep(5000);

WebElement sign = driver.findElement(By.linkText("Přihlaste se"));
sign.click();


Doesn´t work. I must also say that domain I go to is different from domain I see on security pop up window.



enter image description here







java selenium cucumber






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 27 at 10:18









MartinFMartinF

476 bronze badges




476 bronze badges















  • can you share your html?

    – KunduK
    Mar 27 at 10:46











  • @MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

    – Pritam Maske
    Mar 27 at 11:11











  • @Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

    – MartinF
    Mar 27 at 11:53











  • @Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

    – MartinF
    Mar 27 at 11:54






  • 1





    @MartinF : refer this guru99.com/using-robot-api-selenium.html

    – Pritam Maske
    Mar 27 at 11:56

















  • can you share your html?

    – KunduK
    Mar 27 at 10:46











  • @MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

    – Pritam Maske
    Mar 27 at 11:11











  • @Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

    – MartinF
    Mar 27 at 11:53











  • @Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

    – MartinF
    Mar 27 at 11:54






  • 1





    @MartinF : refer this guru99.com/using-robot-api-selenium.html

    – Pritam Maske
    Mar 27 at 11:56
















can you share your html?

– KunduK
Mar 27 at 10:46





can you share your html?

– KunduK
Mar 27 at 10:46













@MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

– Pritam Maske
Mar 27 at 11:11





@MartinF : It seems that the Pop up is a windows Pop up, which can not be handled by selenium though we have some workaround for that such as Robot class of java or autoIt ot sikuli

– Pritam Maske
Mar 27 at 11:11













@Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

– MartinF
Mar 27 at 11:53





@Kajal Kundu Application is written in Angular 7 so it is SPA so this doesn´t have background classic html page...sorry.

– MartinF
Mar 27 at 11:53













@Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

– MartinF
Mar 27 at 11:54





@Pritam Maske So probably to look for Robot class of java implementation somewhere in google, right? :-)

– MartinF
Mar 27 at 11:54




1




1





@MartinF : refer this guru99.com/using-robot-api-selenium.html

– Pritam Maske
Mar 27 at 11:56





@MartinF : refer this guru99.com/using-robot-api-selenium.html

– Pritam Maske
Mar 27 at 11:56












1 Answer
1






active

oldest

votes


















0














SOLUTION - need to be done with robot class or another automation library.



https://www.guru99.com/using-robot-api-selenium.html



Closing question.






share|improve this answer


























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55374779%2fhow-to-figure-out-identifier-of-input-fields-from-external-pop-up-window%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    SOLUTION - need to be done with robot class or another automation library.



    https://www.guru99.com/using-robot-api-selenium.html



    Closing question.






    share|improve this answer































      0














      SOLUTION - need to be done with robot class or another automation library.



      https://www.guru99.com/using-robot-api-selenium.html



      Closing question.






      share|improve this answer





























        0












        0








        0







        SOLUTION - need to be done with robot class or another automation library.



        https://www.guru99.com/using-robot-api-selenium.html



        Closing question.






        share|improve this answer















        SOLUTION - need to be done with robot class or another automation library.



        https://www.guru99.com/using-robot-api-selenium.html



        Closing question.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 27 at 12:50









        Pritam Maske

        1,2682 gold badges10 silver badges18 bronze badges




        1,2682 gold badges10 silver badges18 bronze badges










        answered Mar 27 at 12:47









        MartinFMartinF

        476 bronze badges




        476 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55374779%2fhow-to-figure-out-identifier-of-input-fields-from-external-pop-up-window%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현