Content verification apparatus, method for verifying content, and non-transitory computer-readable storage medium
AssigneeFujitsu Limited
InventorsHiroshi Tanaka, Eigo Segawa
Life of this patent
Estimating the term…
Abstract
A non-transitory computer-readable storage medium having stored therein a program for verifying content, the program executing a process includes identifying, among a plurality of elements included in a content to be verified and displayed in two browsers that display the content respectively, a dynamic element whose attribute relating to display changes over time or whose element image changes over time in at least one of the two browsers; and identifying an area in which displayed content is different between the two browsers by comparing element images of the plurality of elements other than the dynamic element between the two browsers.
Claims11
A non-transitory computer-readable storage medium having stored therein a program that causes a computer to execute a process comprising:
- identifying, among a plurality of elements included in a content to be verified and displayed in two browsers that display the content respectively, a dynamic element whose attribute relating to display changes over time or whose element image changes over time in at least one of the two browsers;
- identifying an area in which displayed content is different between the two browsers by comparing element images of the plurality of elements other than the dynamic element between the two browsers;
- obtaining the attribute relating to display of each of the plurality of elements from each of the two browsers;
- obtaining the element image of each of the plurality of elements from each of the two browsers;
- identifying, among the plurality of elements, inconsistent elements whose displayed content is different between the two browsers by comparing the element images of the plurality of elements obtained from each of the two browsers;
- and
- obtaining the attributes relating to display of the inconsistent elements from each of the two browsers and the element images of the inconsistent elements from each of the two browsers,
- wherein the identifying a dynamic element includes
- identifying, as the dynamic element, an inconsistent element whose attribute relating to display and whose attribute relating to display obtained again are different from each other or an inconsistent element whose element image and whose element image obtained again are different from each other in at least one of the two browsers, and
- wherein the identifying an area in which displayed content is different between the two browsers includes
- identifying areas in which the inconsistent elements other than the dynamic element are displayed as areas in which displayed content is different between the two browsers.
A content verification apparatus comprising:
- a memory;
- and
- a processor coupled to the memory and configured to:
- identify, among a plurality of elements included in a content to be verified and displayed in two browsers that display the content respectively, a dynamic element whose attribute relating to display changes over time or whose element image changes over time in at least one of the two browsers,
- identify an area in which displayed content is different between the two browsers by comparing element images of the plurality of elements other than the dynamic element between the two browsers,
- obtain the attribute relating to display of each of the plurality of elements from each of the two browsers,
- obtain the element image of each of the plurality of elements from each of the two browsers,
- identify, among the plurality of elements, inconsistent elements whose displayed content is different between the two browsers by comparing the element images of the plurality of elements obtained from each of the two browsers,
- obtain the attributes relating to display of the inconsistent elements from each of the two browsers and the element images of the inconsistent elements from each of the two browsers,
- identify, as the dynamic element, an inconsistent element whose attribute relating to display and whose attribute relating to display obtained again are different from each other or an inconsistent element whose element image and whose element image obtained again are different from each other in at least one of the two browsers, and
- identify areas in which the inconsistent elements other than the dynamic element are displayed as areas in which displayed content is different between the two browsers.
A method for verifying content performed by a processor of a content verification apparatus, the method comprising:
- identifying, among a plurality of elements included in a content to be verified and displayed in two browsers that display the content respectively, a dynamic element whose attribute relating to display changes over time or whose element image changes over time in at least one of the two browsers;
- identifying an area in which displayed content is different between the two browsers by comparing element images of the plurality of elements other than the dynamic element between the two browsers;
- obtaining the attribute relating to display of each of the plurality of elements from each of the two browsers;
- obtaining the element image of each of the plurality of elements from each of the two browsers;
- identifying, among the plurality of elements, inconsistent elements whose displayed content is different between the two browsers by comparing the element images of the plurality of elements obtained from each of the two browsers;
- and
- obtaining the attributes relating to display of the inconsistent elements from each of the two browsers and the element images of the inconsistent elements from each of the two browsers,
- wherein the identifying a dynamic element includes
- identifying, as the dynamic element, an inconsistent element whose attribute relating to display and whose attribute relating to display obtained again are different from each other or an inconsistent element whose element image and whose element image obtained again are different from each other in at least one of the two browsers, and
- wherein the identifying an area in which displayed content is different between the two browsers includes
- identifying areas in which the inconsistent elements other than the dynamic element are displayed as areas in which displayed content is different between the two browsers.
Dependencies are inferred from the claim text.