I just explained it with google for understanding.
I should implement in such a way for my project.
In my application i have 2 screens for registration form.
I am getting data from excel sheet with 2 rows (negative and positive).
When i use “for each row” activity, in first screen it is entering both the rows and clicking on next button and navigating to second screen, again it is entering values from both the rows and clicking on submit button.
So only the 2nd row values are getting submitted, as 1st row values are overwritten by 2nd row values.
Suggest me what activity i should include to make this happen appropriately.
or do i need to add any condition in for activity?
Hi @Smitha1 , @aksh1yadav is right !! as you said above that you have two screens and you want to enter both rows two times for different screens you should use two activities in the workflow read excel two times and navigate it to the desired url i think it will not rewrite first row values by second one!!
You can try @beesheep solution. it will fulfill your needs.I have also tried this by considering only one time browser open instance because what i wants to mention here
Chrome Browser uses separate process for new tab so in case of any happening to one tab it will not hang the whole browser and the other thing i have found about google chrome is if you have some extensions installed in your chrome then even if you will close the browser then still it’s process is running in the background due to such extensions.
please go through this link:
So you can use only one time browser opening in your task if possible and other best practices you can do is just be prepare for other cases like error. You can use try catch and state machines.
what i have faced during this is at the time of filling first screen sometimes web pages returns some error due to their side so you should handle such things suppose like pop up be using element exists activity.
and if you will mostly work with clients citrix environment then use image exists and hot keys as much because they are the only reliable way,
In my solution i can not consider whole cases and scenarios because this forum is to only guide all of us.
You can try this solution also. Take a look
Note - I am using IE browser because Uipath activities and uiexplorer and selectores best works with IE.
I was wondering did you get any thoughts on the desktop applications?
what i have is a spreadsheet and i want to read each row and then go to the desktop and finish it then go pick the next item in the spreadsheet. I’m using a state machine for this so any suggestions would be appreciated. Thanks!