TYPE=PATH Button not found.

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
viniciusvmt1998
Posts: 2
Joined: Fri May 21, 2021 4:35 am

TYPE=PATH Button not found.

Post by viniciusvmt1998 » Fri May 21, 2021 4:43 am

Hey guys!

I have little to no knowledge on programming, and that's why I choose this program to help with some automation I need.

There's a site I'm using which has a kind of button, which is an "x", that what he does is, he removes a "listing" . I want to automate this proccess of removing it, however, iMacro seem to no be able to do that.

The "x" button screenshot


When I record the macro, the line of the X button is the following. I've tested, when removing and posting the listing again. Once I try to remove another time, the code is literally the same, the same position, everything is equal, but it doesnt work

Code: Select all

TAG POS=9 TYPE=PATH ATTR=DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z
But when running the macro I receive this error.

Code: Select all

RuntimeError: element PATH specified by DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z was not found, line: 7

FCI: Windows 10, using Google Chrome and a Free version of iMacro 10.1.1.

This is the whole code

Code: Select all

WAIT SECONDS=2
TAG POS=2 TYPE=DIV ATTR=TXT:535,79
WAIT SECONDS=2
TAG POS=1 TYPE=BUTTON ATTR=TXT:Deposit<SP>1<SP>Item
WAIT SECONDS=170
TAG POS=9 TYPE=PATH ATTR=DATA-V-637B110A:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z
WAIT SECONDS=2
This is what it shows when I inspect element on google chrome, the same line of code basically.

What I`m using is a site to sell items from a game. What it is supposed to do is, select the item I want to sell, deposit on the sale listing and after 170 seconds he will remove it from the list by "clicking" on the x button and repeat the proccess to relist. I need this because when I do that the item goes to an "auction" instead of normal listing, and it's viewed by more people. I would have to do manually every 170 seconds otherwise. The selecting the item and depositing in the listing is working as intended, however removing it is not.

Can someone help me?
Last edited by viniciusvmt1998 on Fri May 21, 2021 4:14 pm, edited 4 times in total.
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: TYPE=PATH Button not found.

Post by chivracq » Fri May 21, 2021 10:29 am

viniciusvmt1998 wrote:
Fri May 21, 2021 4:43 am
Hey guys!

I have little to no knowledge on programming, and that's why I choose this program to help with some automation I need.

There's a site I'm using which has a kind of button, which is an "x", that what he does is, he removes the "listing" of an item. I want to automate this proccess of removing it, however, iMacro seem to no be able to do that.

The "x" button below

Code: Select all

[img]https://i.imgur.com/Nkq7OWc.png[/img]
When I record the macro, the line of the X button is the following. I've tested, when removing and posting the listing again. Once I try to remove another time, the code is literally the same, the same position, everything is equal, but it doesnt work

Code: Select all

TAG POS=9 TYPE=PATH ATTR=DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z
But when running the macro I receive this error.

Code: Select all

RuntimeError: element PATH specified by DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z was not found, line: 7
Can someone help me?

Alright, this one approved as I didn't want to disapprove again your Post/Thread, but like I said in my Disapproval for your 1st Post:
[...] and the "next one" will be approved as it contains more Info, even if the Thread Title (of the 2nd one) does not comply with the Forum Rules and I'll ask the User to edit their Thread Title...
... => Can you edit your Thread Title into some DESCRIPTIVE Title compliant with the Forum Rules...?, "iMacro automation not working" is completely useless for our Forum (and other Users)... :roll:
The Title you used for your 1st (disapproved) Post (=> “Cannot macro an specific "button"”) would have been OK, but I would say, => use the same Title now like I used in my Reply...: "TYPE=PATH Button not found."

And I had not even noticed you had some Screenshot, can you upload it directly to the Forum, like explained also in the Forum Rules..., that you didn't read...!?

You would "speed up the Process" (if you want some Help) if you read the Forum Rules...! :idea:

+ CIM...! :mrgreen: (Read my Sig... :idea: )
Mentioning your FCI is also mentioned in the Forum Rules... :roll:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
viniciusvmt1998
Posts: 2
Joined: Fri May 21, 2021 4:35 am

Re: TYPE=PATH Button not found.

Post by viniciusvmt1998 » Fri May 21, 2021 4:11 pm

chivracq wrote:
Fri May 21, 2021 10:29 am
viniciusvmt1998 wrote:
Fri May 21, 2021 4:43 am
Hey guys!

I have little to no knowledge on programming, and that's why I choose this program to help with some automation I need.

There's a site I'm using which has a kind of button, which is an "x", that what he does is, he removes the "listing" of an item. I want to automate this proccess of removing it, however, iMacro seem to no be able to do that.

The "x" button below

Code: Select all

[img]https://i.imgur.com/Nkq7OWc.png[/img]
When I record the macro, the line of the X button is the following. I've tested, when removing and posting the listing again. Once I try to remove another time, the code is literally the same, the same position, everything is equal, but it doesnt work

Code: Select all

TAG POS=9 TYPE=PATH ATTR=DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z
But when running the macro I receive this error.

Code: Select all

RuntimeError: element PATH specified by DATA-V-79382E82:&&D:M8.5<SP>6.4l4.2<SP>4.2-2.1<SP>2.1-4.2-4.2-4.3<SP>4.2L0<SP>10.6l4.2-4.2L0<SP>2.1<SP>2.1<SP>0l4.3<SP>4.2L10.6<SP>0l2.1<SP>2.1z was not found, line: 7
Can someone help me?

Alright, this one approved as I didn't want to disapprove again your Post/Thread, but like I said in my Disapproval for your 1st Post:
[...] and the "next one" will be approved as it contains more Info, even if the Thread Title (of the 2nd one) does not comply with the Forum Rules and I'll ask the User to edit their Thread Title...
... => Can you edit your Thread Title into some DESCRIPTIVE Title compliant with the Forum Rules...?, "iMacro automation not working" is completely useless for our Forum (and other Users)... :roll:
The Title you used for your 1st (disapproved) Post (=> “Cannot macro an specific "button"”) would have been OK, but I would say, => use the same Title now like I used in my Reply...: "TYPE=PATH Button not found."

And I had not even noticed you had some Screenshot, can you upload it directly to the Forum, like explained also in the Forum Rules..., that you didn't read...!?

You would "speed up the Process" (if you want some Help) if you read the Forum Rules...! :idea:

+ CIM...! :mrgreen: (Read my Sig... :idea: )
Mentioning your FCI is also mentioned in the Forum Rules... :roll:
Hi, I edited the post, I don't know how to upload the screenshots directly into the forum, so I linked in a better way I believe.
Post Reply