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;
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.
java selenium cucumber
|
show 1 more comment
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.
java selenium cucumber
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
|
show 1 more comment
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.
java selenium cucumber
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.
java selenium cucumber
java selenium cucumber
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
|
show 1 more comment
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
|
show 1 more comment
1 Answer
1
active
oldest
votes
SOLUTION - need to be done with robot class or another automation library.
https://www.guru99.com/using-robot-api-selenium.html
Closing question.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
SOLUTION - need to be done with robot class or another automation library.
https://www.guru99.com/using-robot-api-selenium.html
Closing question.
add a comment |
SOLUTION - need to be done with robot class or another automation library.
https://www.guru99.com/using-robot-api-selenium.html
Closing question.
add a comment |
SOLUTION - need to be done with robot class or another automation library.
https://www.guru99.com/using-robot-api-selenium.html
Closing question.
SOLUTION - need to be done with robot class or another automation library.
https://www.guru99.com/using-robot-api-selenium.html
Closing question.
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
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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