07-22-2008, 02:26 PM
Hi Ankur,
I must check if links on a website page point to an existing page or not. My idea is to collect with ChilObject all links, then click them and capture the final url. I see (thanks to another thread with you) that there are links with target property = "_top" and with target property = "_blank", but also with target property = "" (not valorized).
I wanted to know how create a unique collection of links with target property = "_top" or "_blank", but not = "".
Obviously the code i reported is wrong... but if i don't define the target property, my objLink will contain also links with target property not valorized.
The problem is not blocking, i can always create 2 distinct objects (one "_top", one "_blank"), but i was interested on the idea to define objects with more than 1 acceptable values for a property.. or similarly with a property with all values except someone [for ex. descrLink("target").value <> "" ]... is it possible?
thanks a lot
I must check if links on a website page point to an existing page or not. My idea is to collect with ChilObject all links, then click them and capture the final url. I see (thanks to another thread with you) that there are links with target property = "_top" and with target property = "_blank", but also with target property = "" (not valorized).
I wanted to know how create a unique collection of links with target property = "_top" or "_blank", but not = "".
Obviously the code i reported is wrong... but if i don't define the target property, my objLink will contain also links with target property not valorized.
The problem is not blocking, i can always create 2 distinct objects (one "_top", one "_blank"), but i was interested on the idea to define objects with more than 1 acceptable values for a property.. or similarly with a property with all values except someone [for ex. descrLink("target").value <> "" ]... is it possible?
thanks a lot