I am not able to find the xpath or handel the scroll bar in kendo grid using selenium webdriver.
I want to scroll right on the horizontal bar. Can anyone please help me out?Please check the highlighted scrollbar
checked with java script code but not worked.
Through Selenium click on some element which is on the right side of the page, so it will automatically scroll.
Related
In Selenium, I want to retrieve or scroll elements in a popup window as shown in the figure.
The usual "driver.find_elements_by_class_name~" will not get the elements in the popup window.
handle_array = driver.window_handles
driver.switch_to.window(handle_array[1])
I could not get it by using
How can I get it?
CLICK IMAGE
Is there a way to see the position of the grid with Safari Web Inspector like Firefox do it with grid inspector ?
Stretching the Metrics tab in Inspect Element's Right side pane of Elements tab will display the css box model with padding, border, margin and position.
If you are using Safari version 9.1, you can see it by selecting "Styles - Computed" in the Styles dropown in the Styles drawer on the right of the dev tools. (The Styles section otherwise defaults to "Styles - Visual", so you need to make the selection to make the box visible). Hope this helps.
The question was about grid inspector. There is no grid inspectors in Safari. Although Safari is noted for Safari Responsive Design mode there is no grid inspector in Safari yet.
As of Safari Technology Preview 123 and Safari 15, there is now a CSS Grid inspector.
In the Elements tab you'll find a grid button, if a grid is present.
In the Layout subtab, all grids on the page will be listed at the bottom.
Just to help clarify, the image below shows where the grid overlay can be turned on in Safari's Inspector.
I have used Bootstrap multiselect plugin in a dynamic table.
Somehow in IE11 the dropdown's vertical scroll bar is missing as the picture below.
Note: Mouse scroll up/down is working and Its perfectly fine in other browsers
Any clue? Thanks in advance
I am using a dojo tree widget in the left side pane in OneUi. It shows horizontal scroll bar if the text is bigger than the width of the panel.
Problem is, in some IE instances the horizontal scroll bar is shown on top of the text and not below the text.
Can anybody tell me any workaround to fix this problem (apart from not using IE)
Regards,
Prashant
I am relatively new to Selenium. We are using the Selenium IDE to do some regression testing. I have a menu bar that has different buttons on it that will drop down a menu when you hover over any of the buttons (there are 4 buttons on the menu bar). So when i select one of the menu items from the dropdown, it opens a page inside the same window. This page looking at the debug info in Selenium seems to be a frame. This frame open right under the menu bar and the menu bar is still visible. Once the page has loaded completely, I want to go outside the frame and click on a button on the menu bar and click on the next item to verify. This doesnt seem to work, once the page (frame) has loaded then nothing happens. I have tried using window focus, select frame, mouse over commands but nothing seem to work. i have also used the relative = parent and relative = top commands with the select frame command but cant get it to work.
Any tips or suggestions are welcome. If I am not clear on the description I can provide more details. Thanks for the assist.
If the control is outside of the frame Selenium is pointing to, then you need to switch back to default content, and possibly switch to the frame the control is in.
Driver.SwitchTo().DefaultContent();
Driver.SwitchTo().Frame(frameID);
you should firstly switch to appropriate frame where your button is located in:
1. Switch to frame
Command: selectFrame
Target: your_frame_id
2. Click button
Command: click
Target: your_button_id (or you can use XPath or CSS selector instead)