IETagEventByAttrib with index

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
theonex
Junior Coder
Posts: 44
Joined: Thu May 10, 2012 12:32 pm

IETagEventByAttrib with index

Post by theonex » Wed Feb 11, 2015 8:47 am

hi

i need to click on 4 answers which all have the same value (yes)
how can i use the code below with INDEX,0, INDEX,1, INDEX,2, AND INDEX,3,

IETagEventByAttrib>{"https://www.balabala.com"},A,innertext=Yes,click,
wait>0.1


thank you

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IETagEventByAttrib with index

Post by Marcus Tettmar » Wed Feb 11, 2015 1:57 pm

You would need to use IETagEvent instead:

https://www.mjtnet.com/manual/index.html?ietagevent.htm

IETagEventByAttrib requires a real attribute=value pair.

If you don't have an attribute you can use IETagEvent and the index (creation order).
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts