Logo

dev-resources.site

for different kinds of informations.

The Input password field is not displaying password but mot throwing error

Published at
12/8/2024
Categories
r
datascience
selenium
automation
Author
joker_20d7a
Categories
4 categories in total
r
open
datascience
open
selenium
open
automation
open
Author
11 person written this
joker_20d7a
open
The Input password field is not displaying password but mot throwing error

Im trying to automate login with Rselenium in Rstudio please see below

remote_driver <- rsDriver(browser = "firefox", 
                          geckover = "0.33.0",
                          verbose = FALSE, 
                          port = 4457L)


# Assign the remote driver object to a variable
driver <- remote_driver[["client"]]

driver$navigate("https://etopup.gloworld.com:8443/agentportal/agentportal/Application.html#")
Enter fullscreen mode Exit fullscreen mode

I can easily locate the username and the userID without any error, please see below

Sys.sleep(2)
reseller_id_input <- driver$findElement(using = 'id', "gwt-debug-Reseller_ID")
# Supply a value to the input field (e.g., "your_reseller_id")
reseller_id_input$sendKeysToElement(list("Napset"))


user_id_input <- driver$findElement(using = 'xpath', "//div[contains(text(),'User ID:')]//following::input[1]")
#Supply a value to the input field (e.g., "your_user_id")
user_id_input$sendKeysToElement(list("Yodigzy"))
Enter fullscreen mode Exit fullscreen mode

The problem is the password part, when i locate the password field and send in password text, it doesnt reflect in the password field and does not show or display any error. see below

#Locate the Password input field
password_field <- driver$findElement(using = "id", value = "gwt-debug-Password")
password_field$sendKeysToElement(list("your-password"))
Enter fullscreen mode Exit fullscreen mode

and without this password i cant proceed to login, is there any logic behind this or what, i really need help with this.

Thanks

selenium Article's
30 articles in total
Favicon
How to solve the problem of limited access speed of crawlers
Favicon
Starting testing
Favicon
Comprehensive Guide to Waits in Selenium 4
Favicon
Effective Strategies for Managing Flaky Tests in Automated Test Suites
Favicon
Application of proxy IP in automated testing framework
Favicon
My First Steps with Playwright ๐ŸŽญ: A Testerโ€™s Journey from Selenium
Favicon
Web/Mobile UI Test Automation Using Selenium & Appium For Food Ordering Solution
Favicon
Hi @All, I'm working devOps engineer in product based company and I want to is there any tool or way to get test cases from existing products as development from scratch is not possible on this stage to automate automation testing using Selenium Jenkins ?
Favicon
Selenium Vs. Cypress: What are the Key Differences?
Favicon
Improve User Experience & SEO: The Power of Automated Accessibility Testing
Favicon
Playwright vs Selenium WebDriver: Simplified. Which one to choose for your application automation needs?
Favicon
BrowserStack vs TestGrid: Which Cloud Testing Platform Suits Your Needs?
Favicon
Building Robust Web Automation with Selenium and Python
Favicon
Test Automation Frameworks- The Complete Guide
Favicon
The Input password field is not displaying password but mot throwing error
Favicon
ไฝฟ็”จ selenium ่ฎ€ๅ–้œ€่ฆ็™ปๅ…ฅๆœƒๅ“ก็š„็ถฒ้ 
Favicon
Handling Dynamic Tables with Changing Rows and Columns
Favicon
Struggling with Selenium/WebdriverIO Updates? Letโ€™s Break It Down Step-by-Step!
Favicon
Cypress vs Selenium: Which Testing Tool Is Right for You?
Favicon
How to Write Effective Test Cases
Favicon
Playwright vs Selenium: A Detailed Comparison
Favicon
Selenium webDriver Cheat sheet
Favicon
Selenium WebDriver steps and methods
Favicon
Selenium Testing: The Complete Step-by-Step Tutorial
Favicon
error when executing script in selenium using chromedriver
Favicon
Mastering Selenium C# with NUnit: In-Depth Guide to Page Object Model (POM) and Data Object Model (DOM)
Favicon
WebDriverIO Tutorial For Selenium Automation - A Complete Guide
Favicon
Selenium CAPTCHA Bypass: Tokens vs. Clicks โ€” Which Oneโ€™s Faster?
Favicon
Cloud Test Automation with Selenium: Revolutionizing Testing for Cloud-Based Applications
Favicon
Why You Should Learn Automation: A Guide to Saving Time as a Developer

Featured ones: