Jump to content

xpath


Recommended Posts

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

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 by meorno1
Link to comment
Share on other sites

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

more info if anybody can help :mellow:

<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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...