I am developing a solution, and I am iterating through different profiles to retrieve specific data from it, my process works fine until it reaches the third element to go to, over there it doesn’t go into the profile, and then I get an error from one of the other parts indicating that a “Selector has not been found” can you help me with this please?
I am using a website through chrome to automate the process.
Hi @josedurandr, do you have more details from you’re selector and profile you’re automating, such as Screenshot, xaml file etc?
Yeah, this is the screenshot I wished I could share more, but due to internal policies of my client, I cannot!
The Process is the next one:
- Go to the website
- Go to the part where I am going to check the information,
I tried to use a data scraping to retrieve the data but that wasn’t accurate, so I clicked in a button to access the information, and then I used a hotkey to use Ctrl+ A to copy the whole text. Next, I used a “copy selected text” element, and when doing this it will save it into a variable, this is the one that will store the data with the information to the list of emails that I will send it to. However, when it is going through it, it stops at the third profile instead of going into, it does nothing and stays at the Home website instead and after the time is passed its when the selector issue comes up
Kindly use a attach window or attach browser activity and keep all the activity getting those information inside this attach window or attach browser container based on the application used…May the selector might be unable to find the element…
But still i wonder why that data scraping didn’t work…no worries buddy, lets try the above as you wish…though it gets resolved , after some point of time lets find why data scraping didn’t work…
That sounds amazing for me, actually this is inside an “Attach Browser” container. Do you still recommend me to put it inside an “Attach Window” ?
Yah buddy, just now updated the comments, you are right…please go ahead and lets sort this out buddy…
Buddy…kindly enable sendwindowsmessage property for that activity with which you send hot key…
I tried both suggestions it keeps showing up the same error
I would like to know one thing buddy does the third element lies in the same page of first two elements or lies in different page, because you didn’t face any problem with first two elements while sending hotkeyss…right…?
Jose, in order to help you we need to know more about the structure of this page and how it works.
Diego, what do you need to know about it? The website that I am using is CATs
I thought I replied this, but they are on the same website, I think that it may be a website issue and that I will have to change the method of getting this info
This is how it looks when it’s giving me the error, and it doesn’t matter how many times I have changed it, even I used the UI Explorer to choose between them
is there any element or word that remain same next to the word you want, in all the pages or profile…?
If so we can use anchor base activities to get the text from one side keeping another solid side as anchor…
Or you can use scrape relative which is similar to above but used when you are not able to get the element rather we can scrape on the text with a clipping region
I have tried the screen scraping but that method doesn’t work with this implementation because this must copy text that is hidden too. Text that if you wanna get it you must scroll down, that’s why I was using Ctrl+a to copy the whole text and then copy selected text to store it on a variable
Hello, Can you navigate manually till the 3rd profile which you are getting error and try capturing the page and check the parent id. May be the parent id will be different for the third profile.
I checked it, its the same
Thank You folks, I was able to fix it, and here is the solution.
Previously I was doing a process where I had to retrieve information from one of the tabs on the website, and it wasn’t working so I changed the process, but the continuity of my process was inside the “Then” on the “If” element, so I took out of it, and it was working smoothly, but my concern was: Why it was working until the third element? However, thankfully it is working now. Thank you all for your help!
Hi @josedurandr, thanks for sharing! Since it’s some confidential data and you couldn’t provide more details about, it was herd to try to help. But, case you need something else, just let us know ok? Could you mark this topic as solved?