I try to click one of the list from popup menu after right click. From the picture, I want to
Right click on the bold menu
Then after right click, the pop up of the menu has shown on the screen
I want to click on “Copy”
But the problem is I’ve tried on many ways but it seems like it cannot recognize or cannot capture this popup. I’m new on Uipath, i’ll appreciate on any help. Thank you.
I’m not sure if this will work for your applications but after slecting the item could use ctrl + c to copy? In which case you could use the send hotkey activity.
If not when your trying to capture the selector for the click activity is it the case that the copy element isn’t highlighted? Have you tried using the other uiframeworks to get the selector in the uiexplorer?
If that also doesn’t work you could use the click image activity.
Hi, you can try using Get Text activity to capture that text.
You’re not gonna need a right click to show copy, just use the activity then store it as a string, it works like a click activity (indicate the element on screen then it will store the value as a string.)
Hi. Thanks for reply. This cannot use ctrl+c, This copy means that copy and create the new one which clone all elements that same with this one. After i click Copy, it will go to new window to fill in the detail of the new one. I’ve already tried UI Explorer which Default frameworks when i indicate element, it failed. I also tried click image but it cannot indicate this popup menu. And i also tried the activity like OCR and the others that have to indicate or capture this popup but it cannot select the region of this popup, I don’t know why.
Hi @bowestlife, by using the Get Text activity, it will automatically copy the text and store it as a string, so you don’t need to manually right click and click on copy.
Hope this clears it, if you have further questions don’t hesitate to ask.
For click image it’s not selector based so it should be able to handle it? Did you use the indicate image on scrren function then click and drag over the word copy?
You could also try click text without indicating an element:
@Ellboy
→ I do drag over the word Copy but after finish dragging it is not show the image on the panel
Many activities that i’ve tried that use indicate image, it’s all like this.
→ I use click text but i got an error that cannot find this word
Hmm that’s curious, perhaps try to update or reinstall the UIAutomation package in the package manager.
Ah that’s annoying, looks like the text doesn’t count as visible, you can check this using the get visible text activity and selecting the whole window, if ‘copy’ doesn’t show up there then I don’t think it can work.
i understand but this Copy which i want to click means that copy and create the new one which clone all elements that same with this one. After i click Copy, it will go to new window to fill in the detail of the new one.