meorno1 Posted August 20, 2011 Share Posted August 20, 2011 hi again. am trying to call some button using xpath /html/body/div[1]/div[4]/div[@id='scrolling_div']/span[@id='event_group_4012']/div[4]/div/div[@id='event_18575291714e4db101517fa_buttons']/div[2]/a/span but i have problem some times it didnt click the button i dont know why i do this do $sObj = _FFXpath("/html/body/div[1]/div[4]/div[@id='scrolling_div']/span[@id='event_group_4012']/div[4]/div/div[@id='*']/div[2]/a/span","",9) $cmdNLHSL3=_FFClick($sObj) Until $cmdNLHSL3 = "_FFCmd_Err" and how can i call all buttons at same time not one by one . the event id changed why i put * there Link to comment Share on other sites More sharing options...
meorno1 Posted August 20, 2011 Author Share Posted August 20, 2011 (edited) and i have this info about the button when click it do this onclick="_messageCenter.doAjaxRequest('somedata', 'accept', '2384521924e4db08eb96f2', '4012', ''); return false;" href="#" type="button" class="zd-button blue action_accept" href="#" type="button" class="zd-button blue action_accept" so how to trigger onclick by _ff.au3 Edited August 20, 2011 by meorno1 Link to comment Share on other sites More sharing options...
meorno1 Posted August 20, 2011 Author Share Posted August 20, 2011 and i have this info about the button when click it do thisonclick="_messageCenter.doAjaxRequest('somedata', 'accept', '2384521924e4db08eb96f2', '4012', ''); return false;" href="#" type="button" class="zd-button blue action_accept"href="#"type="button"class="zd-button blue action_accept"so how to trigger onclick by _ff.au3more info if anybody can help <a class="zd-button blue action_accept" type="button" href="#" onclick="_messageCenter.doAjaxRequest('url', 'accept', '10564180224e4db1e801a2a', '4012', ''); return false;"><span class="zd-button-shine">Accept</span></a><a class="zd-button blue action_accept" type="button" href="#" onclick="_messageCenter.doAjaxRequest('url', 'accept', '1644180224e49db1e801a2a', '4012', ''); return false;"><span class="zd-button-shine">Accept</span></a>this source how to click the button please Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now