Introducing Order Hub: Complete Fulfillment Network Management Solution Order Hub, part of the IBM® Sterling Order Management System, is the…
Development
In the healthcare and life sciences space, good content strategy and content creation are rooted in scientific principles. We base…
by George Whittaker Introduction Penetration testing, often referred to as pen testing, is a critical practice in the field of…
Editor’s note: This article was last updated by Ikeh Akinyemi on 30 May 2024 to discuss using refs with Vue’s…
In the aftermath of the Synnovis ransomware attack that struck last week, London hospitals continue to struggle to deliver patient…
The US Cybersecurity and Infrastructure Security Agency (CISA) has warned that scammers are impersonating its employees, in an attempt to…
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has issued an alert about a recent impersonation scam in which scammers…
Microsoft’s cybersecurity efforts have been roundly criticized in recent months, and despite pledges to do better, the company has compounded…
The Toronto District School Board is investigating a recent ransomware attack that affected its testing environment. The Toronto board is…
The financially motivated UNC3944 threat group has shifted focus to data theft extortion from software-as-a-service applications but without the use…
A significant data breach has exposed the private information of more than 1,200 Baw Baw Shire residents who contacted customer…
Software isn’t what it used to be. That’s not necessarily a bad thing, but it does come with its own…
Arranging content in an easily accessible way is the backbone of any user-friendly website. A good website will present that…
Join hosts Dru Freeman and Jennifer Bailey on the Kodeco Podcast as they explore strategies for surviving layoffs with developer…
The landscape of AI-driven information retrieval is rapidly evolving, with groundbreaking advancements that promise to outpace established giants like Gemini…
The paper “A Survey of Pipeline Tools for Data Engineering†thoroughly examines various pipeline tools and frameworks used in data…
When I am trying to run the below mentioned Selenium web driver code in IE 11 browser, I get below error:
Exception in thread “main” org.openqa.selenium.NoSuchElementException: Unable to find element with css selector == #text-input-what
Code:
package com.indeed.tests;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
public class IndeedJobSearch {
public static void main(String[] args) {
// TODO Auto-generated method stub
// Call the IE server to invoke IE browser
System.setProperty(“webdriver.ie.driver”,”C:\Users\paulso\Desktop\Testing\Automation\Selenium Automation\IEDriverServer_Win32_3.14.0\IEDriverServer.exe”);
// Create Internet explorer driver to driver the browser
WebDriver driver= new InternetExplorerDriver();
// Maximize the window server.
driver.manage().window().maximize();
// Open Indeed home page
driver.get(“https://www.indeed.co.uk/”);
driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);
// Find What field and enter Selenium
driver.findElement(By.id(“text-input-what”)).sendKeys(“Selenium”);
}
}
Error (Console log):
Started InternetExplorerDriver server (32-bit)
3.14.0.0
Listening on port 8609
Only local connections are allowed
Sep 20, 2018 11:31:15 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
Exception in thread “main” org.openqa.selenium.NoSuchElementException: Unable to find element with css selector == #text-input-what
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
I am not able click on the specific element, which is in the image format. I have tried using available locators i.e id and image using XPath and remaining locators are same for all remaining menus.
Below is the HTML code. In the below code class locator is same for all other menus. How to automate this type of scenario?
<a href=”#” class=”nav-link nav-toggle” onclick=”OnReportImageClick()”>
<img src=”/Images/reports.png”>
<span class=”title”>Reports</span>
</a>
The XPath I have tried is //*[@id=”ReportsView”].
Whenever I ran the test logs are not displayed in log viewer panel in application, logs are displayed in command prompt.
Can anyone pls suggest for this issue?
How can I see logs in log viewer panel instead of cmd prompt?
I was enabled logviewer check box also.
Brisk is billed as a fast, multithreaded, cross-platform download manager with support for browser integration. The post Brisk – fast,…