unable to get Edit box value

-2
Hi,   I'm automating the application which developed by using Mendix 7.7.1 version, we have lots of edit boxes and  each having its Own values in it, but while spying the object properties No data is displayed so Iam not able to read the value in Edit box ( used Firebug, Firepath.. to identify the edit box values) <input class="form-control" type="text" placeholder="" id="mxui_widget_NumberInput_39" data-mendix-id="34_62" focusindex="0" widgetid="mxui_widget_NumberInput_39" style="">   kindly provide the solution ASAP, as its blocker to me   with thanks and regards, Prabhakar  
asked
3 answers
1

Hi Prabhakar,

Firstly: this is a community forum, with its members answering questions in their spare time: could be quick, but it can also take more time. For pressing matters I'd take up contact with Mendix directly.

Regarding your issue: Are you sure the attributes for the object you are viewing are not empty? and your user has the proper permission to read the data? A standard number input field should work, perhaps you can see if the object was properly retrieved, or something went wrong there?  

answered
1

A input widget is only editable if:

  1. User has write access (config at security level)
  2. Input widget is set to editable (Input widget properties)
  3. Dataview widget is set to editable (Dataview widget properties)

 

Possibly take a look to the rapid developer path to understand it a bit more: https://learn.mendix.com/link/path/10

answered
0

Hi Prabhakar,

When I check the properties for this type of widget in the debugger of Chrome, I can see the data for "value". So if you don't see any data it might be a permission problem as mentioned in the other anwers.

Maybe you can check the value with JQuery in the console of your debugger (I don't have any experience with Firebug, but it works in the Chrome debugger). Based on the information you posted, it should look like this:

jQuery('input[id="mxui_widget_NumberInput_39_input"].form-control').val();

 

May I ask what you are trying to automate? If it's about testing you might want to consider ATS (https://www.mendix.com/security-and-quality/#atsContent).

answered