Can't find xpath selector for items on dropdown menu - xpath

At this website:
https://tablebuilder.singstat.gov.sg/table/TS/M015751
I want to change the Frequency from Annual(default) to Quarterly.
I know the xpath of the dropdown menu is
button_select5=driver.find_element_by_xpath("(//span[#class='sc-pNWdM XJxhY sc-cbeScs fNvcGj icon-caret-down'])[1]").click()
But I can't select "Quarterly"

Try this line
driver.find_element_by_xpath("//div[.='Quarterly']").click()

Related

Ultrawingrid dropdown menu scroll down

I am automation tester and using LEANFT C# tool in windows applications.
We have a scenario where I need to scroll down dropdown menu and select the value inside the ultrawingrid. I am able to select the values that are shown in first screen after clicking the dropdown menu. I need to scroll down the dropdown but not able to do it. I tried like below syntax
"system.windows.forms.sendkeys("{PGDN}")"
"system.windows.forms.sendkeys("{DOWN}")"
"system.windows.forms.sendkeys("{END}")"
How to scroll down the dropdown menu one by one and select the values ?

Custom drop-down as an item in a kendo tree

I am trying to create an item that is a button "show more" and when you press on it you can show a kind of context menu / drop down that all of the items in that drop down are with checkboxes and there is a search component in it too, so you can search some items in the dropdown by their name. For example: (instead of "c++,c#,Object c" it's should show "show more", i.e. static text)
I tried to use kendoContextMenu. But I don't know if it's could work because the problem with context menu is that when I will click on a checkbox the menu will close. Please advise me of a way to do that or if you have an example of code. Thanks!
The MultiSelect component might be a good starting point
https://docs.telerik.com/kendo-ui/api/javascript/ui/multiselect.
My understanding is that MultiSelect does not have a "select more than one at a time in dropdown" feature.
You might consider using a pop up window and within that implement your own custom ui that features everything you want
search term box
scrolling list of selected and selectable items
accept or cancel changes in selection
Regarding your dojo that extends drop down list, I can't code the extension for you. However, changing the dataSource assignment to a setDataSource call will populate the extension component according to the template.
// kendo.ui.DropDownList.fn.dataSource = options.testItemSource;
me.setDataSource(options.testItemSource);

Capybara/Ruby dropdown values selection

Drop-down values of month selection while registration of a new account in google.
I need to select the value December after I click on the the month field.
This I need in capybara/ruby.
I have used the below code to search month drop-down and click it.
find("#BirthMonth").click
Now the values in drop-down appear in my result but I need to know how to select them.
You can use:
find('#BirthMonth').select(value)
If the select is a real <select> element then
select('December', from: 'BirthMonth')
Should do what you want without worrying about the find and click. If it's a select replacement built from div, ul, li, etc then we'd need you to post an hetml sample

How to display checkbox with values in filter menu

I am adding columns dynamically in the kendo ui grid. I have added property filterable as true. When I click the filter icon, it opens the default context menu.
What I want is on click of filter icon, I want to display checkbox along with value.
How can I do this.
Thanks
Try setting filterable to true & columnMenu to false.
Perhaps this link from the official telerik documentation can help: Checkbox filter menu filtering The main idea is to use the filterMenuInit event to insert custom templates for every column needed.

Double Column CSS Dropdown Menu

I am looking for Two column css drop down menu. Can you tell me the website where I can get the source code for this???
Example: If mouse over on the horizontal drop down menu, it should show two columns.
Here is a detailed look on how to create your own dropdown menu in 2 columns. :-)
http://www.ehow.com/how_12008977_make-dropdown-menu-two-columns.html

Resources