How to work on if else on a condition

In a job portal page we need to search with job title for “Rpa” we get some job links, if we apply for first time it’s apply, if we open the same page next time we can have a text saying already applied but when i am using if else condition saying (if condition test.contains(“Apply”) click else (close the link), but its not working please let me out with any example…

Hi @rohit_di

Give a try with

yourTextVar.Trim().ToUpper().Contains("APPLY")

Regards

1 Like

Hello everyone,

I have a similar query.
Also, very quickly, I’m new to UiPath and have no coding experience.

I’m trying to send Connection Requests to people of various designations on Linkedin.
I need help with following situation:

  1. Identify the “Connect” button and click on it
  2. Identify the “Send” button and click on it
  3. Repeat Step 1 and 2 for every “Connect” found on the page
  4. If “Connect” is not found, click Next Page
  5. Repeat Steps 1 and 2 on Next Page

Can anyone please help me with.

I have been able to design the bot to log me in Linkedin and type the designation required in the search box and come to a page with all the people of the same designation. Post which I need the bot to perform the above mentioned steps.

Your help will be highly appreciated.

Regards,
Anand