UiPath Multi-step clicking listings on Chrome - uipath-studio

I open a chrome browser with a lot of listings, 50 to precise.
Now, I want UiPath to click on each and perform XYZ clicks.
Then, click on the next listing, do again step XYZ
Continue until it reaches the end of the list.
This is how my paths look.
Xpath
//*[#id="ember2769"]/div/div[1]
//*[#id="ember3081"]/div/div[1]

Full Xpath
/html/body/div[5]/div[3]/div[3]/div[2]/div/section[1]/div/div/ul/li[1]/div/div[1]
/html/body/div[5]/div[3]/div[3]/div[2]/div/section[1]/div/div/ul/li[2]/div/div[1]
I tried doing it with Click, but didn't work.

Related

Click button on element popup

Okay so I am trying to create an automation to click on a button once it appears. I was able to find the code within a javascript source file in the website's code files that creates the element that contains the button in question, however it is not always there. It is generated once a trigger on a different UI is enabled, then it shows up on my end. I want it to automate clicking the button as soon as it appears.
Is there a way to do this? I am super new to code.
An example of what I am trying to do:
Someone in one UI creates an account that needs to be approved, it pops up an element on my end with an approve or deny button. I want to automatically and basically instantaneously click one of those two buttons any time it appears.
This is not exactly what I am trying to do, but it is similar. I do not own the website I'm trying to go this on*
I have no clue what I'm doing at all....

Can I click on 2 different pawns and have them print different things while having the same interact event?

So I have created a system where as the player, I can left click which will call a function called Interact which is located in my player event graph.
The Interact events works just fine, it prints out the name of any pawn when I left click on them. But I would like to have specific interactions when I click on different pawns. If I have 2 different pawns, I would like to click on them and have it print different messages.
I tried going into the pawn/characters event graph and make an on-click event or hit result but I haven't found any luck or any tutorials on youtube. Preferably I would like the events to be located in the npc's I want to click on, not my own character.
If you didn't understand what I'm trying to ask, think of it like this, I want it to be like if I clicked on a snail, it will say "I'm a snail!". If I clicked on a horse he will say "I'm a horse!". But I want to keep the same interaction event for both characters.
Basically in the NPC event graph I want a (if I'm clicked on, do x event).
Any help?
Well, it turned out in my capsule component, the collision preset was not on OverlapOnlyPawn. So I was not able to click on him.

R Studio keyboard shortcut for source pane - jump between tabs and spreadsheet data

I can ctrl+2 to jump to my console and then type View(mtcars) to get a spreadsheet in my source pane.
I then ctrl+1 to get back to my source pane. ctrl+PgDn then moves around the tabs in my source pane. But how do I jump down to the data in the spreadsheet. I can click with my mouse in the spreadsheet and then browse around with my keyboard arrows. But I don't like using the mouse.
I'm hoping there's a keyboard trick I can do to jump from the source pane tab, down to the spreadsheet data, without having to take my hands off the keyboard to do this manually via mouse. I do it so often. And conversely, once I'm in the spreadsheet data, how do I jump back up to the source pane tabs without having to use the mouse?
Unfortunately, I don't think this is currently possible -- I've filed a feature request on your behalf on the RStudio issue tracker.

How to download using Conkeror when the download link is hidden behind a Rt Click menu

As an example consider emacswiki and the need to download .el files.
This page http://www.emacswiki.org/emacs/help-fns%2b.el has a green download button which the user Rt Clicks on in Firefox to get a "Save Link As" function. How to do something similar in Conkeror? It would be nice to have a both keyboard and mouse solutions.
You can find major Conkeror keys on this page.
In your case try to use s key and "choose" the link in Conkeror.

Cannot get click="{ myTabNavigator.selectedIndex=3}" to work

I have a mx:TabNavigator with 5 tabs. As a secondary navigation option for the user there is a "Next" button on each tab that takes the user to the next tab. Each "Next" button uses click="{ myTabNavigator.selectedIndex=x}" set to move to the next tab where x is the tab number. All of them work except for the one on tab 2 which is supposed to take the user to tab 3. Nothing happens.
I can copy this button to tab 0 and it works fine taking the user to tab 3. It just will not work from tab 2.
I have tried moving myTabNavigator.selectedIndex=3; to an event handler and have confirmed that the click event is calling the event handler, but it doesn't work from there either.
I have cleaned the project, restarted Flash Builder and the browser and cleared the cache in the browser. Cannot get it to work.
Any suggestions?
Thanks,
John
I found the problem. I found that the tab 2 itself had click="{EditDetailsTabNavigator.selectedIndex=2}" in it. Took this out and the button works. Guess every time I clicked in the tab it would fire.
Not exactly sure how it got there, but I have found when pasting into a property in Design mode that occasionally the paste goes some place else in addition to where I have the cursor. I think that is how it might have gotten there.

Resources