FailedToPerformActionsOnBlockedControlException By Coded UI Recording and Playback - coded-ui-tests

enter image description here
I am getting the above error. When i debug the Coded UI script. I Recorded closing a window by clicking on "X" and when i play back it is giving this error.
enter image description here
When i try to drag the crosshair on to the Closing Button of the window ("X"). The Blue Rectangle is not identifying it but i am able to identify all other controls giving the blue color rectangle but not this. Anyone faced the same problem? what could be the solutions to it.

Related

Imageview with different position/scale from preview to simulator

I am trying to add buttons and text up in background image but either the imageview is shifting down or the textview&buttons are shifting down. I think the screenshot explains the problem itself.
Screenshot of problem
EDIT: Tried to add both red underlined lines to code to see if it helps but it didnt.

My Android Application misbehaves it is showing spread color like ink on the paper anyone knows why so?

I have not use black bg in my whole application
First it shows like this which is expected
after clicking floating action button bg color of listview changes
but then it shows like this after action

Attribute inspector for buttons has no background color

Sorry but looks a simple question. In the attribute inspector menu of all my buttons the background color option menu/property disappeared in Main storyboard. I cannot change the color. I can change the text color, the shadow color, the background gives only the option of images but no color?? I rebooted xcode, and the MacBook as well.
I found the issue. On the attribute inspector at the very bottom there is the view section. On the right of the View there was missing "show" word, looks like a bug and that's why I have not seen that I could expand the view. Now that I expanded it I can hide and show with this right button and the keyword show is there again.

Transparent icon in VBA

I'm making a piece of software in VBA and the user clicks on an icon to takes them to a website.
The code is all working but I have one problem.
The userform has a background image and the icon no matter what file type (.jpg, .bmp) the icon's background is always white, even if the property is to transparent instead of opaque. Can anyone help?
I've seen about Microsoft Photo Editor but I can't seem to find it on my Windows 10 machine...

In LWUIT, a white rectangular background appears when the button is pressed, how to remove it?

Using LWUIT, I have a Form (form1) which contains a Button (see the silver arrow at the bottom of the Form in the left image below). This Button is constructed using an image which has a transparent background to give the effect of a non-rectangular Button. When the Button is pressed it shows another Form (form2).
But unfortunately, when the user presses this Button, a white rectangular background appears for a few milliseconds in the background of the image. see the right image below:
The question is:
How may I prevent this white rectangle from being appeared after pressing the Button ?
You have modified the state of the button when it is selected or unselected. You also have to modify pressed style.
You can do it with button.getPressedStyle()
Try:
button.getPressedStyle().setBorder(null);
button.getPressedStyle().setBgTransparency(0);

Resources