I have a input file which has 4 columns
Account, package, service, otc
12345,ML24Large, ,7000
45678,ML24Medium,1115,7000
What my script is supposed to do is
- Type into (Account.tostring) then press enter
- New page opens and Type into (package.tostring) then press enter
- Another page opens and Type into (Service.tostring) then press enter
- Another page opens and Type into (OTP.tostring) press enter
- Exit
I am not sure how to handle if the service column has no entry for 1 row as if the column is empty then it’s supposed to click on otp
Can anyone help please
@dipon1112000 ,
I assume you will be reading the data into Datatable.
Iterate the DataTable with For Each Row in Data Table
Add logic for step 1-2
Add a boolean variable to store if Service is blank or empty
Assign Activity
boolIsServiceEmpty - String.IsNullOrEmpty(Service.tostring)
Add logic for Step 4
Now for step 5 add If activity and put Not boolIsServiceEmpty in condition
Add Exit step logic into If Part.
That’s it.
Thanks,
Ashok 
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.