All Questions
12 questions
0
votes
2
answers
110
views
Now able to handle autocomplete dropdown
Handle Autocorrect Dropdown in Java Selenium
I am facing one issue when handling autocorrect dropdown, when testing manually the dropdown is working fine but when i execute the test ,and sendkeys some ...
1
vote
1
answer
84
views
How to select the autocomplete result that contains a certain phrase within the website https://www.easyjet.com/en using Selenium and Java
I am practicing against the following website https://www.easyjet.com/en
I am passing a value of "London" into the Origin search box. This returns six airport matches. I'm then trying to trawl ...
0
votes
2
answers
766
views
How to extract the list of cities from the autocomplete with respect to user input from dropdown box using Selenium Java
Looking for the list with what user has typed
Trying to automate the City Selection but unable to get the Origin City List when I type some matching letters. Rather I am getting the default list ...
0
votes
1
answer
109
views
Autocomplete selenium
I have the list which has multiple links under each section. Each section has different inks I need to click a particular link under each section. I have written the below code but when it executes it ...
1
vote
2
answers
644
views
How to automate autocomplete textbox
I am trying to automate a testcase where textbox provides intelligence to autocomplete the field.
Please find the link below for autocomplete text box :
http://demoqa.com/autocomplete/
Please find ...
1
vote
1
answer
2k
views
Selenium Google Places Autocomplete Java
I am trying to automate Google auto suggestion and selecting a random suggestion using Selenium.
WebElement element = driver.findElement(By.xpath("//input[@id='id_address']"));
element.sendKeys(“whi”...
1
vote
0
answers
418
views
How to get an autocomplete to work with java webdriver?
I have the following selenium automation code that used to work for an autocomplete dropdown:
@FindBy(xpath = "//*[@id='s2id_customer-name-search']/a")
private static WebElement customerDrop;
@...
0
votes
4
answers
191
views
Selenium Autosuggestions Xpath Java Exception
I need help with below Java code with Selenium. I am trying click on the first item on auto suggestions list on site http://booking.com. I have failed to do only on booking.com. It works for Google ...
0
votes
1
answer
2k
views
Clicking autocomplete menu item using Selenium
I am trying to test the auto complete feature in a search wizard wherein after sending search query, I have to click on the top menu item which would appear as auto complete just like it happens in ...
0
votes
2
answers
447
views
How to to select an option in an auto complete field
I have a field named "Race". When I add two characters e.g. "AS" in it, it shows me autocomplete options below which have i) Asian ii) Asian Indian etc etc options in it. The HTML for the field is as ...
5
votes
5
answers
24k
views
How to fill in an autocomplete inputbox using Selenium? (Why an automated input does not load autocomplete options BUT a manual input does?)
The following code tests an autocomlete box of a webpage:
public class Test {
public static void main(String[] args) throws InterruptedException {
System.setProperty("webdriver.chrome....
8
votes
3
answers
21k
views
Test autocomplete with Selenium webdriver
I have a text box in which when I type one letter say 's' , it displays a list of results ( like google search) .
I am using latest selenium webdriver with java.
I have tried
sendKeys("s"),
...