Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [actf-dev] actf-dev Digest, Vol 49, Issue 3

Hi Dr. Fukuda,

First of all, I want to thank you for your reply.

These APIs provide access to current DOM and style information in WebBrowser (IE). So, you can access to such kind of data at your preferred timing (e.g., after a certain event, or page loaded, etc.).

Actually, I don't have any problem with accessing style information of DOM elements whenever I need. What I'm actually looking for is to detect these certain events which changes the style of an element, so that, I can label a DOM element as dynamic content if some of its children elements are changes after a certain element. Therefore, I need to be able to detect it anytime rather than event occurs.

As for DOM events, it is difficult to directly access to these events from ACTF. However, you might be able to do it through _javascript_.

It seems reasonable but I am not sure how to handle it. I would appreciate a sample implementation.

I'll prepare a sample application for it after we complete the Kepler release work.

Currently, I am processing some evaluation data, so I can wait for the sample application until you are available, no problem for me.

Best regards,
Elgin Akpinar


2013/5/27 <actf-dev-request@xxxxxxxxxxx>
Send actf-dev mailing list submissions to
        actf-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://dev.eclipse.org/mailman/listinfo/actf-dev
or, via email, send a message with subject or body 'help' to
        actf-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
        actf-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of actf-dev digest..."


Today's Topics:

   1. Re: Dynamic Contents in ACTF (Kentarou Fukuda)


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 May 2013 22:25:50 +0900
From: Kentarou Fukuda <KENTAROU@xxxxxxxxxx>
To: ACTF developers list <actf-dev@xxxxxxxxxxx>
Subject: Re: [actf-dev] Dynamic Contents in ACTF
Message-ID:
        <OF81651922.C40589A8-ON49257B78.001BBC43-49257B78.0049D0D8@xxxxxxxxxx>
Content-Type: text/plain; charset="ISO-2022-JP"

Hi?Elgin,

Sorry for this late reply.

>In order to decide on whether I should segment a dynamic contents, I need
to detect these contents which are generally invisible in initial page
load and become visible after a certain event, or loaded with an AJAX
call.

Would you please try APIs below?
 - IWebBrowser#getLiveDocument()
 - IWebBrowser#getStyleInfo().getCurrentStyles()

These APIs provide access to current DOM and style information in
WebBrowser (IE). So, you can access to such kind of data at your preferred
timing (e.g., after a certain event, or page loaded, etc.).

As for DOM events, it is difficult to directly access to these events from
ACTF. However, you might be able to do it through _javascript_. For example,

1. Inject a _javascript_ that monitors/observes DOM events, style info,
etc..
2. By using APIs of _javascript_ that injected in step 1, obtain the event
status, etc..

I'll prepare a sample application for it after we complete the Kepler
release work.

Best regards,
Kentarou
---
Kentarou Fukuda, Ph.D.
IBM Research - Tokyo
Tel: +81-3-5144-2852
E-mail: kentarou@xxxxxxxxxx



From:   Elgin Akp?nar <elgin.akpinar@xxxxxxxxxxx>
To:     actf-dev@xxxxxxxxxxx
Date:   2013/05/16 05:47
Subject:        [actf-dev] Dynamic Contents in ACTF
Sent by:        actf-dev-bounces@xxxxxxxxxxx



Hi everyone,

I have been working on extending the segmentation algorithm in ACTF by
implementing dynamic web contents, such as carousels. In order to decide
on whether I should segment a dynamic contents, I need to detect these
contents which are generally invisible in initial page load and become
visible after a certain event, or loaded with an AJAX call. Although I can
reach the CSS attributes for each node, I cannot retrieve the attributes
which are bind in _javascript_ codes, probably due to the fact that,
Internet Explorer is not capable of providing these events for nodes (?).

Any idea on how to detect the event attributes which are bind in
_javascript_ in ACTF?

Thanks in advance,
Best regards,
Elgin_______________________________________________
actf-dev mailing list
actf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/actf-dev




------------------------------

_______________________________________________
actf-dev mailing list
actf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/actf-dev


End of actf-dev Digest, Vol 49, Issue 3
***************************************


Back to the top