Create account in application from an excel file

Hi everybody,

I need your help i got an excel file

projet.7z (23.9 KB)

My aim is to create user account in an application. If the account is already created in this application i’d like to goes on to create the others account. For example, if romuald.dany and maxence1.robert are already created on my saagie application i’d like the script process to create the others account on the excel file for example create paul.jeanjean

Is that possible in your opinion ? and how does the script process ?

Read Range into a datatable. For Each Row in Datatable to loop through the records. Inside the For Each do the steps to check if the account exists and create it if it doesn’t.

Have you done the free classes on the UiPath web site? It covers simple things like this.

Could you demonstrate in the xaml file because im not sure to understand what you explain

Anybody else ?

Hi,

We can create process for this scenario, but we need some input on the application you are using to create an account.
If possible share the link if its a web link or share some screenshot of the application responses for new account and existing accounts

Hi,

Yes in my application called SAAGIE the input i can give you is the following : “l’utilisateur est inexistant” (it is in french) when i want to create the user account
In english it is “the user doesn’t exist”

So i’d like to tell to my xaml to continue to check the others accounts to create in my excel file

If the account exists, my application simply displays a text on the web page.
I think that I need to create an IF condition which tests if the text is present or not in the page. I found “TextExists” but I don’t know how to use it in the IF condition.

Do i take this input using “Text Exists” command in my xaml file ?

I’m lost and sorry for my english

Hi

I understand the requirements, but a screenshot of the application will help me to understand more

For the moment, my application is down but i back to you later as soon as possible

I try again in my side and search again with an other application. This is an example of what i want but with an other application

Tell me if i’m on the right way

ouverture.xaml (17.9 KB)

Hi RK,

Like you wanted this is a screenshot of the application

1 Like

Hi,

There is no issue in your code after first set value use get text activity if your are able to indicate and extract it use if condtions,

gettextvaribale.contains("Username is already used").tostring

in then part use continue and else part keep rest of the process
or

use application scope and use gettext with ocr and same steps as above

In my first xaml file i’ve sent at the beginning of this discussion i don’t understand where i must use if conditions

in second for each loop and next to first setvalue activity use get and text and if condidtion

I’m so sorry it doesn’t work

creercomptesaagie9.xaml (45.1 KB)

ok i tried like this, this time and it works

creercomptesaagie9(1).xaml (47.1 KB)

But can you tell me what it is so long at the step following : "Text Exist ‘DIV’ " ? Is there a way to accelerate the process and improve the script