Jump to content
Sign in to follow this  
meorno1

xpath

Recommended Posts

meorno1

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

Share this post


Link to post
Share on other sites
meorno1

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

Share this post


Link to post
Share on other sites
meorno1

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 :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.