Selenium: Value is not getting accepted inside a particular field - selenium

I'am trying to Insert a value in the Field using SendKeys. The value is inserted inside the Field but the subsequent process that should follow is not happening. The Back-end is not accepting the Value from the field. How to check if the Inserted Value is accepted in the backend also or not.

Related

Race condition in Google Appsheet when updating row after created

It seems I'm experiencing a race condition in Google Appsheet:
I've configured a Behavior in my form view: Once the form is saved -> run 'Data: set the values of some columns in this row' (edit one of the fields). Looking in the chrome developer tools, I see two calls are sent to AppSheet API - one to create the row and another to edit it:
The update is working correctly. Still, then there is a screen flickering, and the original value before the set data action overrides the edited value again. Eventually, the initial value is saved to the DB, not the new one.
My app is working against Postgres (RDS) DB
https://www.appsheet.com/api/template/<row_id>/table/<table_name>/row
https://www.appsheet.com/api/template/<row_id>/table/<table_name>/row/update

SUBMIT parameters values when not defined?

When you comment a parameter in a SUBMIT of a report, what would be its value? The initial value of that type or the value that should have in a standard run of the equivalent transaction?
I mean, if you want to run a transaction setting in a defined way several dynprofields by submitting the transaction report, would you have to state every field that does have initial value or set just those that differ from the usual value they have when executing the transaction?
The initial value, so you don't need to pass those values in the SUBMIT (you can comment those out).

Can we compare value of a field in 2 different urls using Selenium?

I know we can capture the value of a field for each url individually. But is it also possible to compare the value captured for the same field in 2 different urls using Selenium tool for validation?
I searched over the web but did not get any conclusive results. Please advice.
Yes it is possible to compare the value of field from two different URL's
1). Visit the First URL-> Read the field value and store it in a Variable
2). Visit the Second URL -> Read the field value and store it in a variable
3). Compare the Values

nifi expression value for null and datetime

I have created data flow which will transfer SQL server data from DB to DB in nifi
and there a datetime column and it also contains some null value in source table, now i want to transfer that column with datetime value and also null values same time to the datetime column in target table.
I'm unable to find right expression to put it in update attributes processor.
I'm using below expression in update process:
sql.args.1.name : CR_LINE_CMTD_START_DT
sql.args.1.type : 93
sql.args.1.value :${CR_LINE_CMTD_START_DT:toDate("yyyy-MM-dd HH:mm:ss.SSS"):toNumber()}
Please help to fix this
Thanks
sam
Are you getting errors when a null value comes along, or for every input?
In UpdateAttribute there is an Advanced UI (click the Advanced button on the bottom left corner of the dialog) where you can update the value of sql.args.value.1 based on conditions. So you could use ${CR_LINE_CMTD_START_DT:notNull()} as one condition, where the action is what you have above. The you could add a condition for ${CR_LINE_CMTD_START_DT:isNull()} to set the value to ${CR_LINE_CMTD_START_DT} (or perhaps leave the value blank if you can).
Please see the UpdateAttribute "Additional Details" page for more information on the Advanced usage. Also as of NiFi 1.2.0 (not yet released at the time of this answer), NIFI-3206 will add an ifElse() function to Expression Language, which should make it easier to do inline.

Update only one column value in Access Database - VB

I have a feature in my application where a user can opt to UNsubscribe itself. When this happens, there is no change made to the other fields in database and only user's Subscription flag is unchecked. I am doing this by getting a datarow and settingone of the field values and then updating the datarow in the table.
This is working fine for all of the recently created records, however some of the old records have a blank value set for a date field which is now mandatory. Hence when I try to unsubscribe old record of this type, it tries to retrieve null value from the database and then update the same back resulting in an error - "Cannot insert null value in Date Field"
First, if you have a table with a null value in a mandatory column, you would be better served to run an update query on the table that will enter a default value for this mandatory/required column. Wayne G. Dunn mentioned this in the comments to your question. For example:
UPDATE [TABLE1] SET [datefield] = '4/28/1949' where [datefield] = null
**Be sure to backup your data prior to running this kind of query and test with a test table before you execute the query on production data.
Second, if you are doing an update to a row and setting the checkbox value to true, you can review any columns that are required and set their default value in the update query. This makes the query more complex and more difficult to support.
I advise you go with the first option and run an update query on the table. The second option adds unnecessary code to your query that updates the checkbox.
If you post some query examples and table structure, you will get more specific answers. You may consider editing your question to include these details.