From the course: UiPath Essential Training

Navigation - UiPath Tutorial

From the course: UiPath Essential Training

Start my 1-month free trial

Navigation

- [Richard] Now that we've logged in successfully to the application, what we need to do is navigate to the next work item. There's a couple of ways of doing this. Initially I'm going to show you the easiest way to navigate, but then I'm going to show you a more effective way of doing it. And let's use UiPath to record the steps to get from the Dashboard into the work item. Let's create a new sequence, and let's call it ACME_Navigate ToWorkItems. Okay, one thing you'll notice is that this component is completely blank, so let's add a log message at the start to make sure that when we're looking at this from another machine, we know that the component has been started and finished. Let's say, started ACME Navigate ToWorkItems, and let's copy it, and create a similar log that says finished. This will make it easier for us to debug any problems in the future. Okay, now let's get the recorder, click record, and record the steps that we want to take. Work items, and then let's find a row that is WI5 and open, and click the magnifying glass. I'm going to select no to using an anchor, and escape, stop the recording. You can see that the recording places the new sequence below our log message, so I'm going to move that up slightly to make sure it's in the right order. Let's have a quick look at the recording. We're clicking work items, double-check the selector, everything looks okay to me, click button, okay, this time it's using the CSS selector. I don't really like the look of this selector, so I'm going to open up Ui Explorer, I don't really like the look of this selector, so I'm going to open up Ui Explorer, Ui Explorer allows us to inspect the elements of various applications. Let's click indicate element, F2, because we're not on the right page, let's go back, let's go and find that magnifying glass. So this is a way of navigating to the page that we want to be on. However, the problem is when we're selecting the magnifying glass, we're not picking a specific row. So there's a slightly better way of getting to the page that we want to get to.

Contents