Good evening everyone,
After developing with GUI RPA tools for some time i’ve made the decision to invest my time in Robocorp and am now taking the first steps.
I copy/pasted the code exactly how it’s written in the tutorial but for some reason my *** Tasks *** cell does not seem to finish compiling to the end.
Here is a screenshot:
Hi, @JimmyYung! Based on your screenshot the task is stuck when running the Open Available Browser keyword.
One thing to check is to see if there’s an update for the browser you are using and install that. Sometimes the browser and the driver version (for example Chrome and chromedriver) get out of sync if there is an update you need to install.
If that does not help, one option is to try and reopen Robocorp Lab.
The last resort is to reboot your computer. That should get rid of any stuck processes and might fix the issue.
If none of that helps, ping us and we try to get you unstuck!
Hello,
Sorry for the late response and thank you so much for taking the time to help me out.
Okay so i’ve reeboted both Robocorp Lab and my computer, it didn’t work.
I feel like i’m really close but some technical problem or formality is stopping the bot from operating like in the tutorial. Sorry for the imgur links but it didn’t let me upload to this board.
Thank you in advance, all the best.
Can you share your full robot code? From your screenshot, I see you are using Second Name instead of Last Name to access the last name column. This leads me to think if there might be some other differences in the robot code compared to the one in the course.
I just tried with the exact code from that chapter and it seems to work ok.
EDIT: I think I know what’s wrong. I did some testing. The loop code that goes through the rows in the table should look like this:
FOR ${sales_rep} IN @{sales_reps}
Note the @ instead of $ when referring to the sales_reps table. The @ character is used with list-like objects in FOR loops, for example. The $ refers to the table object as is. The @ refers to the items in the table, and this is what you want to do here.
I tried changing @ to $ and got the same error you got:
This is the incorrect syntax!
FOR ${sales_rep} IN ${sales_reps}
So, try with @{sales_reps}. This is one of those Robot Framework “things” when referring to list-type variables:
Works on Chrome 89.0.4389.82. There have already been two updates for the stable version of desktop Chrome this month, so it is a good idea to check if you have those installed.
Good morning @jani
THANK YOU so much, it was indeed the @ instead of the $ to loop through the Excel entries.
I can’t believe you were able to detect the issue without the copy of the code, good job!
I will proceed with the rest of the tutorial, love the framework and the assistance was super super cool and helpful.
My best regards,
Vasco
PS: @Nived_Nambiar try the solution and if you can’t make it work please send me a private message maybe i can help
Hello,
I am also getting the same error even after double - checking the complete .robot file for mistakes. It is exactly same as that of the Tutorial.
In my case -
If you’re just looking for a simple fix for that error, just use another Excel you download from the internet to get through the tutorial that has another encoding
If you really want to use your current Excel to finish the tutorial, I had the same exact issue on another thread, can you please look into it and if you have any doubts/questions get back to me? 100% no error run on Lab, error on Cloud - #7 by JimmyYung