Handle error during data entries

Hi there,

Using studio to automate entries however if there is any invalid value there will be a pop up message box. How to counter this as i am not sure when it appears.

Thanks

Hi @mark_rajkumar1

For this you have to use Parllel activity in one side you can insert the workflow which used for entering data and in other side insert check app state activity or element exist activity to handle the popups.

Hope it helps!!

@mark_rajkumar1

You can use a global exception handler or a parallel activity to handle this…both would work

cheers

I use parallel activity where next sequence starts with element exist but did not work

Could you share your workflow with some pictures how you used Parallel activity… @mark_rajkumar1

I cannot share the workflow but however the issue is it trys to go to the next selector but since the prompt message box appear it cannot click n throw system error instead and fail to go capture the other parralel sequence where elemnt exist is there for the prompt message box

@Anil_G @mkankatala @Palaniyappan pls advise as my left side in parralel activity have 3 workflows to invoke in a sequence and my right side got element exist with if exist click ok, throw and navigate back to home page.

Don’t use the Parallel activity for the whole workflow… @mark_rajkumar1

Where you are getting popup while entering data for that code only use parallel activity, in the left side insert the activities which is used to entering data and in right side of parallel activity insert element exist activity and indicate the popup. After element exist activity insert an if activity to check the Boolean is true, in then block insert click activity to handle the popup, leave empty for else block.

Hope you understand!!

@mark_rajkumar1

Change the sides…left side should be your click of pop up and right your remaining workflow…

Also try to use a looparound your check app state …so that once it is clicked even then it loops again…

And in parallel activity use the condition and set the condition to a variable and set the variable at the end of the main workflow to true

Cheers

@Anil_G is that possible to show me a workflow

@mark_rajkumar1

This is how it should look

cheers

Hi @Anil_G

On my right i input for each row as the data entries and on my left same as the screenshot. I follow the same but however the data entries did not move instead throw system error.

@mark_rajkumar1

can you show a screenshot

cheers

@Anil_G i have removed some information as it is confidential.

@mark_rajkumar1

Can you please tell what system exception are you getting?

Cheers

@Anil_G i am throwing to get business error. The problem is it doesnt move from check app state

@mark_rajkumar1

Then that means your check app state is not finding the element

So it is not throwing exception

Cheers

@Anil_G what is the work around?

@mark_rajkumar1

You should correct your check app state selector…why do you need a work aund for it

Cheers

@Anil_G it goes by image as selector what is the recommended for this selctor?