How can I click a button that's only clickable from the bottom half? - selenium

So I'm trying to hit this button to activate the dropdown menu, but it seems that only half of it works, Im afraid the automation is clicking the top bottom or somewhere where is not active, let me illustrate with a few screenshots, which will contain a comparisson. ALSO can I click on one of the options from the dropdown without "activating it"? (clicking the DropDown Button)
Now another example from the button fully working
I have found that the button fully works if it's the first one to be clicked, if I click something else, then this issue happens, and that's only button with this issue

Related

How to bring popup to foreground?

I have a dynpro which creates a popup ALV (using a dialog container). A button on the popup will display another popup in the same way. My problem is that the last popup goes into the background, the selection going back to the first popup. Is there any way to fix/control this?

Is there way to close popup when swiping between tabs

I have a popup menu in one tab which not close automatically between swiping from tab to tab. Clicking outside of the popup window closing it, but the swipe is not detected as click so the popup stays on the screen as long as I click outside of it.
Have Googled this issue for a couple hours now with no results.
Can you give me any glue how handle this problem? I want that popup close when swipe, but don't know how.
I added id="somethinghere" for the tab, and for the popup menu element I added attach="somethinghere". Now it is attached to one tab and not following to other tabs, but it is not still closing. But this is better than nothing.

NSTextField in statsbar menu becomes unresponsive after clicking outside the menu

I'm building a statusbar menu using custom views, and everything seems to work fine except for text fields. The first time I open the menu, everything works fine. If I close the menu by clicking the statusbar icon again, it also continues to work fine.
If I close it by clicking outside the menu, however, the next time I open the menu the text fields will be completely unresponsive. I can sometimes highlight the NSTextField, and even make the "itemEdited" event happen.
Any ideas on this weird issue? Buttons put on the same view work fine.
I've made a sample project to demonstrate the problem: https://github.com/Nic0S/NSTextField-bug

Create Clickable Tooltip For Silverlight Controls

I add a button inside Tool Tip and handle the button click event.
and in run time I move the cursor to do click, the tool tip disappears.
my question is:
how can I do the tool tip don't disappear, so I can click the button inside it?

Selenium IDE - selecting an button outside the frame

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)