vibra 1 Posted February 8, 2011 Report Share Posted February 8, 2011 I'm having a difficult time with this function: It's able to search page for link but i cannot seem to click on the chosen link consistently with different login pages that share the same Href variables. If >> search page >> href "xyz"then >> choose attribute >> href = "xyz"click chosen link Quote Link to post Share on other sites
UBotBuddy 331 Posted February 8, 2011 Report Share Posted February 8, 2011 You are on the right track. After your "choose attribute" then you would execute a "click chosen". Quote Link to post Share on other sites
vibra 1 Posted February 8, 2011 Author Report Share Posted February 8, 2011 that's exactly what i did botbuddy. the problem im facing is that while "click chosen" works for one forum... once it automatically moves to the next forum (same version) it does not click the chosen attribute (href "action=login) Quote Link to post Share on other sites
nuc63 27 Posted February 8, 2011 Report Share Posted February 8, 2011 that's exactly what i did botbuddy. the problem im facing is that while "click chosen" works for one forum... once it automatically moves to the next forum (same version) it does not click the chosen attribute (href "action=login) There could be a difference if the choose attributes variable at each site. Example yandalo.comwebrapport.net both sites are same script just one site has a different choose attribute for the calculate button to chose. Quote Link to post Share on other sites
UBotBuddy 331 Posted February 8, 2011 Report Share Posted February 8, 2011 nuc63 is correct. What I typically do when dealing with sites like this is that I actually look at the html code for the same link from each site. I do a manual comparison and see if I can form a perfect match for all flavors of the sites that I am setting up. Yes, it is a slow process but it will prove to be rock solid. So long as none of the sites changes anything. Quote Link to post Share on other sites
vibra 1 Posted February 8, 2011 Author Report Share Posted February 8, 2011 That's exactly what I did.. i did a manual comparison of each site and found the token "common denominator" or "perfect match." here's a picture of the file. and the links that it is not choosing accordingly: http://bathurst1000.com.au/forum/ucp.php?mode=login&sid=fc2d4e33f17d991d336fc7d7d80a6d77<a href="./ucp.php?mode=login" title="Login" accesskey="l"> http://bon-appetir.dtlux.com/foro//ucp.php?mode=login&sid=6bed6d14aa4657b4910c56e39f02b660<a href="./ucp.php?mode=login" title="Identificarse" accesskey="l"> Quote Link to post Share on other sites
vibra 1 Posted February 8, 2011 Author Report Share Posted February 8, 2011 I'm assuming it could be that the href is not automatically pointing to "root//ucp.php?mode=login" and instead only the string "/ucp.php?mode=login" Quote Link to post Share on other sites
nuc63 27 Posted February 8, 2011 Report Share Posted February 8, 2011 are you creating a signup? a login? or a post function on phpbb? I think you are searching for link to then login. instead of regular expression i would do a wildcard search it worked on both sites. Quote Link to post Share on other sites
vibra 1 Posted February 8, 2011 Author Report Share Posted February 8, 2011 works like a charm. thanks. Quote Link to post Share on other sites
UBotBuddy 331 Posted February 9, 2011 Report Share Posted February 9, 2011 Nice advice nuc63! Quote Link to post Share on other sites
vibra 1 Posted February 9, 2011 Author Report Share Posted February 9, 2011 yahhh i've used the wildcard search on both sides before... but didnt' think twice to re-use that. lol i'm glad i made this mistake and you pointed that out. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.