Determining whether a button is enabled or disabled (Silk4J)

I am testing a SAP application and I need to find out whether a button is enabled or disabled.

I have read the MicroFocus documentation for the SapButton class, but I can't find a method like getEnabled(), isEnabled() or getDisabled() or isDisabled().

How can I find out whether a button is enabled or disabled?


The enabled/disabled state is hidden behind the Changeable property. Since the online documentation is for C#, this maps to isChangeable() in Java.

The isChangeable() does not only get the enabled state for buttons but also for comboboxes, checkboxes and potentially others.

IMHO the documentation

Gets whether an object is changeable.

is a bit misleading.

Category:java Time:2018-12-29 Views:8
Tags: java sap silktest

Related post

  • How do you check whether a button is enabled or not in Android? 2011-05-27

    In Android I can set a button to be enabled or disabled by doing the following: button.setEnabled(true); or button.setEnabled(false); How do I check whether the button enabled state is true or false? --------------Solutions------------- Reading the m

  • How to know if a button is enabled or disabled 2014-12-23

    I have a 2 buttons Previous/Next changing their states if there are more rows to read or not. So they are enabled/or disabled with conditions. Is it possible to read their state? On WFA Here below how I check I look for a better way if (nextbutton.En

  • Button enabled or disabled : How does webdriver decide? 2014-12-04

    How does selenium webdriver decide whether a button is enabled or disabled? I have used the isEnabled() method for two buttons - one enabled and the other disabled but it returns true for both the cases. Is there a workaround other than using isEnabl

  • Jquery to enable and disable a button 2011-04-10

    I have a <asp:Button ID="BtnAddCart" runat="server" Text="Place Order" Width="147px" onclick="BtnAddCart_Click" Enabled="false"/> and a checkbox column and checkbox header on a gridview. on the header you select the checkbox all items on the gr

  • Action not triggered when button is enabled/disabled with ajax 2012-02-22

    I am stuck with a problem that doesnt make any sense to me. I have a listbox which fires selectionChange-Events with simple Ajax. The idea is that the edit-button isnt enabled until a item in the list is selected. So I created the following code.

  • My Wi-Fi enabling and disabling option on the Computer settings has been disabled. 2014-01-27

    * Original Title: Wifi adapter Disabled but bluetooth adapeter working. I'm having H.P's Compaq Presario CQ40 laptop. This laptop has additional button for enabling and disabling the wireless connections (Bluetooth & Wi-Fi) . Since last few days

  • Enabling and disabling a cell in a Datagridview 2009-03-10

    I am using a DataGridView control for displaying some data. I need to enable some data and disable some data dynamically based on some values in the grid. Can anyone tell me how to do it? --------------Solutions------------- To "disable" a cell, it m

  • How can I determine whether my UIButton's event is Touch Down? 2009-12-01

    How can I determine whether my button's event is Touch Down? I want to do a function like this: if(users click on touchdown event) { NSLog(@"a"); } else if(users click on touchupinside event) { NSLog(@"b"); } --------------Solutions------------- Eath

  • How to check whether microphone boost is enable using C# 2012-02-24

    Just wonder whether it's possible to check whether microphone boost is enable and disable it using C# --------------Solutions------------- You'll need to use a audio control library for that. Check out AudioLib, which has specific mixer, boost, etc.

  • Enabling and disabling button based on whether frame is open 2012-04-02

    I have a button that opens up a frame. Is there a way to enable/disable a button depending on whether the frame is open? Let's say, if the frame is open, I would like the button to be button.enabled(false). But as soon as the frame is closed, I would

  • Enabling and Disabling Radio Buttons Depending on User Selection 2009-08-23

    I'm looking to write jQuery to only enable radio buttons depending on which radio buttons are currently selected in accordance with some business logic. Essentially there are 3 groups of 3 radio buttons, which end up looking something like (my apolog

  • Programmatically determine whether exceptions are enabled 2011-06-26

    Most C++ compilers allow for exceptions to be disabled. Is there a way to determine it from the code without using compiler-specific preprocessor macros, such as _CPPUNWIND for MSVC? Ideally at compile time. --------------Solutions------------- I'd n

  • How do I determine which buttons are enabled in iOS UI Automation? 2011-10-31

    Using the UI Automation instrument, I know how to test if a particular button is enabled in my iOS application: if( btn[0].isEnabled() ) { UIALogger.logPass("button enabled"); } else { UIALogger.logFail("button not enabled"); } However, I'd like to b

  • Enable or disable buttons don't work to manage add-ons? 2012-01-21

    when I try to "Manage add-ons" in IE9 the "Enable" and "disable" buttons are not working. How do I change settings to use this feature? --------------Solutions------------- Hi, Have you opened IE9 with add-ons disabled? That disables all add-ons but

  • different images for enable and disable states of a button in WPF 2009-10-07

    I want to change the image of the button in the code below based on its state i.e. use different image for enable and disable state. <Button CommandParameter="Open" > <StackPanel Orientation="Horizontal" > <Image Source="../icons/big/o

  • What determines whether the 'Compatibility View' button appears in Internet Explorer 8 or not? 2009-10-14

    On some sites I'm developing, I noticed that the 'Compatibility View' button is shown beside the address bar. Yet when I view other websites, this button is not always available to me. What determines whether or not this button is shown to the user?

  • Toggle dropdownlist enable and disable with a button click using Javascript? 2009-12-31

    I have the following JavaScript to disable a dropdownlist in a ASP.NET page, which gets called when I click a button. function disableDropDown(DropDownID) { document.getElementById(DropDownID).disabled = true; return false; } I wanted to use the same

  • Disabled buttons look enabled in Firefox and Chrome 2010-07-07

    Disabled buttons look enabled in Firefox and Chrome. I opened the same page in ie, firefox, chrome and this is the output: "DashBoard" and "Calendar" are disabled "Agent Info" is enabled. Here I'm using normal asp buttons with css. What do I do? ----

  • Windows Forms C# Program: How to check button status (enabled/disabled or visible/hidden)? 2010-11-29

    I have a program that, on error, will stop running. When it stops running, the "start" button is enabled and the "stop" button disables. While the program is running (after clicking "start"), the "start" button disables. My goal is to write a program

  • way to programatically determine whether an Android device has a menu button? 2011-03-24

    I need to compensate for the lack of a physical (or even a "soft") menu button on Android 3 tablets. The app I'm working on generally hides the title bar for its activities, but I can't do that if I want the action bar to appear on a tablet. Is there

Copyright (C), All Rights Reserved.

processed in 0.955 (s). 13 q(s)