Data Driven - Skip command if value already exists / Skip command if value in CSV file is blank

I’m looking for help or pointed to an existing case.

The purpose of my test is to add missing social handles (TikTok, Facebook, Instagram, Twitter) to a user’s profile. The problem I’m having is is overwriting an existing social handle value with a blank value from the CSV file.

There are two options I can think of.

  1. Skip command if value already exists on the profile.
  2. Skip command if value in CSV file is blank.

I’m not sure which is the better direction.

Below is my script…


The following link has an example of an if statement, which you can use to skip a command if the “condition” is false. Conversely, make the condition true if you want to use the command.

I think you can compare if your CSV file is blank using “” to indicate blank.
Use two equal signs to compare if items are same (e.g. ==).
Use an exclamation mark with an equal sign for not same (e.g. !=)