[go: up one dir, main page]

TWI900887B - Electronic device and method for providing a report on a page, and non-transitory computer-readable recording medium for performing the method - Google Patents

Electronic device and method for providing a report on a page, and non-transitory computer-readable recording medium for performing the method

Info

Publication number
TWI900887B
TWI900887B TW112134589A TW112134589A TWI900887B TW I900887 B TWI900887 B TW I900887B TW 112134589 A TW112134589 A TW 112134589A TW 112134589 A TW112134589 A TW 112134589A TW I900887 B TWI900887 B TW I900887B
Authority
TW
Taiwan
Prior art keywords
page
mentioned
test
report
providing
Prior art date
Application number
TW112134589A
Other languages
Chinese (zh)
Other versions
TW202418111A (en
Inventor
李贇
Original Assignee
韓商韓領有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 韓商韓領有限公司 filed Critical 韓商韓領有限公司
Publication of TW202418111A publication Critical patent/TW202418111A/en
Application granted granted Critical
Publication of TWI900887B publication Critical patent/TWI900887B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3698Environments for analysis, debugging or testing of software
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • G06F11/3624Debugging of software by performing operations on the source code, e.g. via a compiler
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本發明揭示一種提供頁面報告之方法,其係藉由電子裝置而進行者。具體而言,提供頁面報告之方法可包括如下步驟:確認目標頁面;確認基本環境及測試環境;基於頁面間比較之設定資訊,確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面;實行第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者之測試;及提供包括測試之實行之結果資訊之報告。The present invention discloses a method for providing a page report, which is performed by an electronic device. Specifically, the method for providing a page report may include the following steps: identifying a target page; identifying a base environment and a test environment; based on configuration information for comparing the pages, identifying a first page corresponding to the target page in the base environment and a second page corresponding to the target page in the test environment; performing a test to detect at least one of a difference between the first page and the second page and errors in the first page and the second page; and providing a report including information on the results of the test.

Description

提供頁面報告之電子裝置及方法、及用於執行該方法之非暫時性電腦可讀記錄媒體Electronic device and method for providing page report, and non-transitory computer-readable recording medium for executing the method

本說明書之實施例係關於一種提供頁面報告之方法及裝置。本說明書之實施例係關於一種藉由實行基本環境及測試環境中之頁面間之差異、及各頁面中包括之錯誤之測試,提供包括測試之實行之結果資訊之報告的方法及其裝置。 Embodiments of this specification relate to a method and apparatus for providing a page report. Embodiments of this specification relate to a method and apparatus for performing a test to determine the differences between pages in a base environment and a test environment, as well as errors contained in each page, and providing a report including test result information.

於發佈測試中之服務之前,有必要於線上營銷等網際網路環境中,對服務中之頁面與測試中之頁面進行比較。但是,手動確認服務中之頁面與測試中之頁面間之差異、及隨著執行頁面而產生之錯誤可能需要一定時間,因此擔心測試之發佈時間需要過多之時間。因此,需要一種用以解決上述問題之方法及裝置。 Before releasing a test service, it's necessary to compare the live and test pages in an online environment, such as online marketing. However, manually verifying the differences between the live and test pages, as well as errors that arise during page execution, can take time, leading to concerns that the test release process will take an excessive amount of time. Therefore, a method and device are needed to address this issue.

本發明為了解決上述問題而提供了一種提供頁面報告之方法及其裝置。 To solve the above-mentioned problem, the present invention provides a method and device for providing page reports.

更加具體而言,本發明之目的在於提供一種藉由實行基本環境及測試環境中之頁面間之差異、及各頁面中包括之錯誤之測試,提供包括結果資訊之報告之方法及裝置,該結果資訊包括頁面間之圖像、文本差異或頁面之執行過程中產生之錯誤。 More specifically, the present invention provides a method and apparatus for performing a test on the differences between pages in a base environment and a test environment, as well as on errors contained in each page, and providing a report including result information, such as image or text differences between pages or errors generated during the execution of the pages.

本實施例所欲實現之技術課題並不限定於如上所述之技術課題,可根據以下之實施例類推出其他技術課題。 The technical issues to be implemented by this embodiment are not limited to the technical issues described above; other technical issues can be derived based on the following embodiments.

作為用以實現上述課題之技術手段,本發明之第1態樣之藉由電子裝置來提供頁面報告之方法可包括如下步驟:確認目標頁面;確認基本環境及測試環境;基於頁面間比較之設定資訊,確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面;實行第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者之測試;及提供包括測試之實行之結果資訊之報告。 As a technical means for achieving the above-mentioned problem, the first aspect of the present invention, a method for providing a page report using an electronic device, may include the following steps: identifying a target page; identifying a base environment and a test environment; identifying a first page corresponding to the target page in the base environment and a second page corresponding to the target page in the test environment based on configuration information for comparison between the pages; performing a test to detect at least one of a difference between the first and second pages and errors contained in the first and second pages; and providing a report including information on the results of the test.

根據一實施例,確認基本環境及測試環境之步驟可包括如下步驟:基於藉由批次收集之基本環境之流量資料,確認基本環境;及基於線上收集之測試環境之流量資料,確認測試環境。 According to one embodiment, the steps of confirming the basic environment and the test environment may include the following steps: confirming the basic environment based on traffic data of the basic environment collected in batches; and confirming the test environment based on traffic data of the test environment collected online.

根據一實施例,確認基本環境之步驟可包括如下步驟:基於與收集之基本環境之流量資料對應之訪問次數,確定訪問次數為設定之臨界值以上之基本環境。 According to one embodiment, the step of confirming the basic environment may include the following steps: based on the number of visits corresponding to the collected traffic data of the basic environment, determining a basic environment whose number of visits is above a set threshold value.

根據一實施例,設定資訊可包括自頁面間比較中排除頁面中包括之要素中之第1要素之資訊、及將頁面中包括之要素中之第2要素包 括於頁面間比較中之資訊中之至少一者。 According to one embodiment, the setting information may include at least one of information regarding excluding a first element among the elements included in the page from the inter-page comparison and information regarding including a second element among the elements included in the page in the inter-page comparison.

根據一實施例,第1頁面及第2頁面可為不包括第1要素但包括第2要素之頁面。 According to one embodiment, the first page and the second page may be pages that do not include the first element but include the second element.

根據一實施例,實行測試之步驟可包括如下步驟:基於測試之測試設定資訊,實行第1頁面及第2頁面之A/B測試。 According to one embodiment, the step of implementing the test may include the following steps: implementing an A/B test on page 1 and page 2 based on the test setting information of the test.

根據一實施例,確認第1頁面及第2頁面之步驟可包括如下步驟:利用第1線程及第2線程來並行地確認第1頁面及第2頁面,實行測試之步驟可包括如下步驟:藉由主線程來對第1頁面與第2頁面之差異實行測試。 According to one embodiment, the step of confirming the first page and the second page may include the following step: using the first thread and the second thread to confirm the first page and the second page in parallel, and the step of performing a test may include the following step: using the main thread to perform a test on the difference between the first page and the second page.

根據一實施例,提供報告之步驟可包括如下步驟:提供包括藉由滑動圖標來顯示第1頁面與第2頁面之差異之比較圖像之報告。 According to one embodiment, the step of providing a report may include the following step: providing a report including a comparison image showing the difference between the first page and the second page by sliding an icon.

根據一實施例,提供報告之步驟可包括如下步驟:基於第1頁面與第2頁面之差異,確認與第2頁面中包括之要素中對應之第1頁面之要素不同的第1要素;及提供包括顯示有第1要素之第2頁面報告。 According to one embodiment, the step of providing a report may include the following steps: based on the difference between the first page and the second page, identifying a first element that is different from an element included in the second page that corresponds to an element on the first page; and providing a report including the second page displaying the first element.

根據一實施例,提供報告之步驟可包括如下步驟:於與第2頁面對應之第2源代碼中,確認與第1頁面對應之第1源代碼不同之源代碼即第3源代碼;及提供包括顯示有第3源代碼之第2源代碼之報告。 According to one embodiment, the step of providing a report may include the following steps: identifying, in the second source code corresponding to the second page, a source code that is different from the first source code corresponding to the first page, namely a third source code; and providing a report including the second source code displayed with the third source code.

根據一實施例,錯誤可包括與第1頁面對應之第1控制台錯誤、與第2頁面對應之第2控制台錯誤、頁面中包括之資源之加載錯誤中之至少一者。 According to one embodiment, the error may include at least one of a first console error corresponding to the first page, a second console error corresponding to the second page, and a loading error of a resource included in the page.

根據一實施例,第1頁面與第2頁面之差異可包括頁面間之圖像、文本及資源之差異中之至少一者。 According to one embodiment, the difference between the first page and the second page may include at least one of a difference in images, text, and resources between the pages.

本發明之第2態樣之用以提供頁面報告之電子裝置可包 括:收發器;儲存器,其儲存一個以上之命令;及處理器;上述處理器如下:確認目標頁面,確認基本環境及測試環境,基於頁面間比較之設定資訊,確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面,實行第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者之測試,及提供包括測試之實行之結果資訊之報告。 The electronic device for providing a page report according to the second aspect of the present invention may include: a transceiver; a memory storing one or more commands; and a processor; the processor being configured to: identify a target page, identify a base environment and a test environment, and based on configuration information comparing the pages, identify a first page corresponding to the target page in the base environment and a second page corresponding to the target page in the test environment; perform a test to detect at least one of a difference between the first and second pages and errors in the first and second pages; and provide a report including information on the results of the test.

本發明之第3態樣之記錄媒體可為一種用以於電腦中執行程式之非暫時性電腦可讀記錄媒體。 The recording medium of the third aspect of the present invention may be a non-transitory computer-readable recording medium used to execute programs on a computer.

根據本說明書之實施例,電子裝置可確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面,執行第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行之錯誤中之至少一者之測試。電子裝置100可提供包括測試之實行之結果資訊之報告。藉此,電子裝置100可藉由查出第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行之錯誤,自動提供測試之實行之結果資訊之報告。藉此,用戶可快速確認測試之結果,並根據測試之結果快速確定是否發佈測試。 According to an embodiment of this specification, an electronic device can identify a first page corresponding to a target page in a base environment and a second page corresponding to a target page in a test environment, and then perform a test to detect at least one of the differences between the first and second pages and errors detected during the execution of the first and second pages. The electronic device 100 can provide a report including test result information. By detecting the differences between the first and second pages and errors detected during the execution of the first and second pages, the electronic device 100 can automatically provide a report containing test result information. This allows users to quickly confirm test results and, based on the test results, quickly determine whether to publish the test.

發明之效果並不限於以上所提及之效果,相關技術領域內具有常識者可根據發明申請專利範圍之記載而明確地理解未提及之其他效果。 The effects of the invention are not limited to those mentioned above. A person with common sense in the relevant technical field can clearly understand other effects not mentioned based on the description of the invention patent application.

10:系統 10: System

100:電子裝置 100: Electronic devices

110:伺服器 110: Server

300:用戶介面差異架構 300: User interface difference architecture

301:對象操作程式館 301: Object Operation Library

302:瀏覽器操作程式館 302: Browser Operation Program Library

303:錯誤處理 303: Error handling

304:控制台監視器 304: Console Monitor

305:比較核心 305: Comparison Core

306:差異規則相位 306: Differential Regular Phase

307:步驟相位 307: Step Phase

308:URL加載監視器 308: URL loading monitor

310:用戶介面差異 310: User interface differences

311:Selenium 311: Selenium

312:組態相位器 312:Configuration Phaser

313:Excel相位器 313: Excel Phaser

320:分散執行 320: Distributed Execution

330:後端 330: Backend

340:前端 340: Front-end

350:資料儲存器 350: Data storage

400:系統 400: System

410:用戶介面差異工具 410: User Interface Difference Tool

420:網頁差異框架 420: Page Different Frame

423:第1頁面 423: Page 1

424:第2頁面 424: Page 2

600:頁面 600: Page

610:網址 610: URL

620:pc購物車頁面EN 620:pc shopping cart page EN

630:En 630:En

640:Y 640:Y

650:頁面600之區域 650: Area of page 600

660:圖標 660: Icon

700:頁面 700: Page

710:pc購物車頁面EN 710:pc shopping cart page EN

720:排除規則 720: Exclusion rules

730:僅比較規則 730: Only compare rules

800:頁面 800: Page

810:欄標 810: Column label

820:圖標 820: Icon

830:圖標 830: Icon

840:圖標 840: Icon

850:編號1 850: Number 1

860:編號2 860: Number 2

870:編號3 870: Number 3

900:頁面 900: Page

910:測試A組態 910: Test A configuration

920:測試B組態 920: Test B configuration

930:圖標 930: Icon

1000:頁面 1000: Page

1010:測試B組態 1010: Test B configuration

1020:帳戶 1020:Account

1030:僅檢查文本 1030: Check text only

1040:基線組態 1040: Baseline Configuration

1041:生產 1041: Production

1050:測試組態 1050: Test configuration

1060:主機映射 1060:Host Mapping

1100:頁面 1100: Page

1110:圖標 1110: Icon

1120:圖標 1120: Icon

1130:圖標 1130: Icon

1140:圖標 1140: Icon

1200:頁面 1200: Page

1205:圖標 1205: Icon

1210:URL版本 1210: URL version

1211:URL版本 1211: URL version

1220:頻率 1220:Frequency

1300:頁面 1300: Page

1310:第1測試 1310: Test 1

1320:第2測試 1320: Test 2

1321:圖標 1321: Icon

1330:第3測試 1330: Test 3

1400:頁面 1400: Page

1410:第1入口點 1410: Entry Point 1

1420:第2入口點 1420: Second Entry Point

1430:第3入口點 1430: Entry Point 3

1500:頁面 1500: Page

1510:比較圖像 1510: Compare images

1520:第1區域 1520: Area 1

1530:第2區域 1530: Area 2

1540:滑動圖標 1540: Slide icon

1610:第1頁面 1610: Page 1

1620:第2頁面 1620: Page 2

1630:第2要素 1630: 2nd element

1640:第3要素 1640:The third element

1700:差異結果 1700: Difference results

1800:差異結果 1800: Difference results

1810:文本比較錯誤 1810: Text comparison error

1820:第1源代碼 1820: Source code 1

1830:第2源代碼 1830: Second source code

1831:源代碼 1831: Source code

1832:源代碼 1832: Source code

1833:源代碼 1833: Source code

1834:源代碼 1834: Source code

1835:源代碼 1835: Source code

1836:源代碼 1836: Source code

1900:Html報告 1900: HTML report

1910:資訊 1910: Information

1920:步驟 1920: Steps

1930:資訊 1930: Information

2000:電子裝置 2000: Electronic devices

2010:收發器 2010: Transceiver

2020:處理器 2020: Processor

2030:儲存器 2030: Storage

S210:步驟 S210: Step

S220:步驟 S220: Step

S230:步驟 S230: Step

S240:步驟 S240: Step

S250:步驟 S250: Step

S411:步驟 S411: Step

S412:步驟 S412: Step

S413:步驟 S413: Step

S414:步驟 S414: Step

S415:步驟 S415: Step

S421:步驟 S421: Step

S422:步驟 S422: Step

S425:步驟 S425: Step

S430:步驟 S430: Step

S510:步驟 S510: Step

S520:步驟 S520: Step

S530:步驟 S530: Step

S540:步驟 S540: Step

圖1係用以說明可實現各種實施例之電子裝置提供頁面報告之方法之系統的圖。 FIG1 is a diagram illustrating a system for implementing a method for providing a page report by an electronic device according to various embodiments.

圖2係表示電子裝置提供頁面之方法之流程圖。 Figure 2 is a flow chart showing a method for an electronic device to provide a page.

圖3係用以說明電子裝置提供裝置中頁面報告之實施例之圖。 FIG3 is a diagram illustrating an embodiment of an electronic device providing a page report in the device.

圖4係用以說明用於提供頁面報告之系統之圖。 Figure 4 is a diagram illustrating a system for providing page reports.

圖5係用以說明處理流量資料之程序之圖。 Figure 5 illustrates the process of processing traffic data.

圖6係用以說明設定測試環境之URL之頁面之圖。 Figure 6 illustrates the page for setting the URL for the test environment.

圖7係用以說明編輯頁面間比較之設定資訊之頁面之圖。 Figure 7 illustrates the page for editing setting information compared between pages.

圖8係用以說明設定並儲存測試環境之網址之頁面之圖。 Figure 8 illustrates the page for setting up and storing the URL for the test environment.

圖9係繼圖8後之用以說明管理測試之執行之頁面之圖。 Figure 9 is a diagram following Figure 8, illustrating the page for managing test execution.

圖10係用以說明設定測試之詳細頁面之圖。 Figure 10 illustrates the detailed page for setting up a test.

圖11係用以說明流量資料之頁面之圖。 Figure 11 is a diagram illustrating the flow data page.

圖12係繼圖11後之用以說明流量資料之頁面之圖。 Figure 12 is a diagram following Figure 11, illustrating the page displaying traffic data.

圖13係用以說明測試之實行之結果之頁面的圖。 Figure 13 is a diagram of a page used to illustrate the results of the test.

圖14係用以說明包括測試之實行之結果資訊之頁面的圖。 Figure 14 is a diagram illustrating a page including information on the results of a test run.

圖15係用以說明用以比較第1頁面與第2頁面之差異之比較圖像之圖。 Figure 15 is a diagram illustrating a comparison image for comparing the differences between Page 1 and Page 2.

圖16係用以說明第1圖像及第2圖像之圖。 Figure 16 is a diagram used to illustrate the first and second images.

圖17係用以說明測試之實行之結果資訊即差異結果之圖。 Figure 17 is a graph used to illustrate the results of the test, namely the difference results.

圖18係用以說明測試之實行之結果資訊即差異結果之圖。 Figure 18 is a graph used to illustrate the results of the test, namely the difference results.

圖19係用以說明測試之實行之Html報告之圖。 Figure 19 is an HTML report used to illustrate the implementation of the test.

圖20係將一實施例之用以提供頁面報告之電子裝置圖式化所得之方塊圖。 Figure 20 is a block diagram illustrating an electronic device for providing page reports according to one embodiment.

實施例中使用之用語係考慮本發明中之功能而儘可能地選 擇目前廣泛使用之常用術語,但會根據本領域技術人員之意圖或先例、新技術之出現等而有所不同。又,於特定之情形時,亦存在申請人任意選定之用語,於該情形時,將在相應之說明部分詳細地描述其含義。因此,本發明中使用之用語應基於該用語所具有之含義及本發明之全部內容來進行定義,而並非簡單地基於用語之名稱進行定義。 The terms used in the embodiments are selected to the greatest extent possible from commonly used terms, taking into account the functions of the present invention. However, they may vary depending on the intentions of those skilled in the art, precedents, the emergence of new technologies, and so on. Furthermore, in certain cases, the applicant may arbitrarily select terms. In such cases, their meanings will be described in detail in the corresponding explanatory sections. Therefore, the terms used in this invention should be defined based on their meanings and the overall content of the invention, not simply based on their names.

於整篇說明書中,當記為某個部分「包括」某個構成要素時,意味著若未特別記載相反之內容,則可進而包括其他構成要素,而並非排除其他構成要素。又,說明書中記載之「...部」、「...模組」等用語係指對至少一個功能或動作進行處理之單位,其可藉由硬體或軟體來實現,或者由硬體與軟體之組合來實現。 Throughout this specification, when a section is described as "including" a certain component, this implies that other components may be included, and does not exclude other components, unless otherwise specified. Furthermore, terms such as "unit" and "module" used in this specification refer to a unit that processes at least one function or action, which may be implemented by hardware or software, or a combination of hardware and software.

整篇說明書中記載之「a、b及c中之至少一者」之表述可包括「單獨之a」、「單獨之b」、「單獨之c」、「a及b」、「a及c」、「b及c」或「a、b及c三者」。 The phrase "at least one of a, b, and c" throughout this specification may include "a alone," "b alone," "c alone," "a and b," "a and c," "b and c," or "all three of a, b, and c."

以下所提及之「終端」能夠以藉由網路而與伺服器或其他終端連接之電腦或攜帶便攜終端來實現。此處,電腦例如包括裝載有網頁瀏覽器(WEB Browser)之筆記型電腦、桌上型電腦(desktop)、膝上型電腦(laptop)等,攜帶用終端作為確保攜帶性及行動性之無線通訊裝置,例如可包括IMT(International Mobile Telecommunication,國際行動通訊)、CDMA(Code Division Multiple Access,分碼多重存取)、W-CDMA(W-Code Division Multiple Access,寬頻分碼多重存取)、LTE(Long Term Evolution,長期演進)等通訊終端、如智慧型手機、平板電腦等所有類型之手持式(Handheld)無線通訊裝置。 The "terminal" mentioned below can be implemented as a computer or portable terminal connected to a server or other terminal via a network. Computers include, for example, laptops, desktops, and notebooks equipped with web browsers. Portable terminals are wireless communication devices that ensure portability and mobility, and include, for example, IMT (International Mobile Telecommunication), CDMA (Code Division Multiple Access), W-CDMA (W-Code Division Multiple Access), LTE (Long Term Evolution), and all types of handheld wireless communication devices, including smartphones and tablets.

以下,參照附圖,對本發明之實施例進行詳細說明,以使 本發明所屬之技術領域中具有常識者能夠容易地實施。然而,本發明能夠以多種不同之形態實現,但並不限定於此處所說明之實施例。 The following describes an embodiment of the present invention in detail with reference to the accompanying drawings so that those skilled in the art can easily implement the present invention. However, the present invention can be implemented in many different forms and is not limited to the embodiment described here.

以下,參照附圖對本發明之實施例進行詳細說明。 Below, the embodiments of the present invention are described in detail with reference to the accompanying drawings.

於對實施例進行說明時,省略本發明所屬之技術領域內熟知且與本發明無直接關聯之技術內容之說明。其原因在於:藉由省略多餘之說明而清晰地傳達本發明之主旨,以避免混淆本發明之主旨。 When describing the embodiments, descriptions of technical contents that are well-known in the art and not directly related to the present invention are omitted. This is done to clearly convey the main points of the present invention by omitting redundant descriptions and to avoid confusion.

出於相同之原因,於附圖中誇張、省略或概略性地表示一部分構成要素。又,各構成要素之尺寸並非完全反映實際尺寸。於各圖中,對相同或對應之構成要素標註相同之參考符號。 For similar reasons, some components may be exaggerated, omitted, or shown schematically in the accompanying drawings. Furthermore, the dimensions of each component do not necessarily reflect the actual dimensions. In the drawings, identical or corresponding components are designated by the same reference symbols.

參照附圖及下文中所詳細敍述之實施例,本發明之優點及特徵、以及實現該等優點及特徵之方法即可變得清楚。然而,本發明並不限定於以下所揭示之實施例,能夠以各種不同之形態實現,本實施例只是為了完整地揭示本發明並使本發明所屬技術領域中具有常識者充分瞭解發明之範疇而提供,本發明僅由發明申請專利範圍來定義。於整篇說明書中,相同之參考符號表示相同之構成要素。 The advantages and features of the present invention, as well as methods for achieving such advantages and features, will become apparent by referring to the accompanying drawings and the embodiments described in detail below. However, the present invention is not limited to the embodiments disclosed below and can be implemented in a variety of different forms. These embodiments are provided solely to fully disclose the present invention and enable those skilled in the art to fully understand the scope of the invention. The present invention is defined solely by the scope of the patent applications. Throughout this specification, identical reference numerals denote identical components.

此時,應理解,處理流程圖之各方塊及流程圖之組合可藉由電腦程式指令來實行。該等電腦程式指令可裝載於通用電腦、特殊用電腦或其他可編程資料處理設備之處理器,因此藉由電腦或其他可編程資料處理設備之處理器而實行之該等指令會產生實行流程圖之方塊中說明之功能的方法。為了以特定方式實現功能,該等電腦程式指令可儲存於可面向電腦或其他可編程資料處理設備之電腦可用或電腦可讀記憶體,因此儲存於電腦可用或電腦可讀記憶體中之指令亦可產生包括如下指令方法的製造品項,該製造品項實行流程圖之方塊中所說明之功能。電腦程式指令亦可 裝載於電腦或其他可編程資料處理設備上,因此於電腦或其他可編程資料處理設備上實行一系列之動作步驟而產生藉由電腦執行之流程,從而由電腦或其他可編程資料處理設備實行之指令亦可提供用以執行流程圖之方塊中所說明之功能的步驟。 At this point, it should be understood that each block of the process flow chart and the combination of the flow charts can be implemented by computer program instructions. These computer program instructions can be loaded into a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that these instructions, when executed by the processor of the computer or other programmable data processing device, will produce a method for implementing the functions described in the blocks of the flow chart. In order to implement the functions in a specific manner, these computer program instructions can be stored in a computer-usable or computer-readable memory that is readable by the computer or other programmable data processing device, so that the instructions stored in the computer-usable or computer-readable memory can also produce an article of manufacture that includes the following instruction method, which implements the functions described in the blocks of the flow chart. Computer program instructions may also be loaded onto a computer or other programmable data processing device, thereby causing the computer or other programmable data processing device to execute a series of action steps, thereby generating a process executed by the computer. The instructions executed by the computer or other programmable data processing device may also provide steps for performing the functions described in the blocks of the flowchart.

又,各方塊可表示包括用以執行特定之邏輯功能中之一個以上之可執行指令的模組、片段或代碼之一部分。又,應注意,於若干替代實施例中,亦可不按順序產生方塊中提及之功能。例如,連續示出之兩個方塊實質上既可同時實行,亦可偶爾根據相應之功能而按照相反之順序實行。 Furthermore, each block may represent a module, segment, or portion of code that includes one or more executable instructions for performing a specific logical function. Furthermore, it should be noted that in some alternative embodiments, the functions described in the blocks may not occur in the order in which they are described. For example, two blocks shown in succession may be executed simultaneously, or may occasionally be executed in the reverse order depending on the corresponding functions.

圖1係用以說明可實現各種實施例之電子裝置提供頁面報告之方法之系統的圖。 FIG1 is a diagram illustrating a system for implementing a method for providing a page report by an electronic device according to various embodiments.

參照圖1,各種實施例之系統10可藉由各種類型之裝置來實現。例如,系統10可包括電子裝置100及伺服器110。圖1所示之系統10僅示出了與本實施例相關之構成要素。因此,與本實施例相關之技術領域內具有常識者可理解,除圖1所示之構成要素外,可進而包括其他通用之構成要素。 Referring to FIG. 1 , system 10 of various embodiments can be implemented using various types of devices. For example, system 10 may include an electronic device 100 and a server 110 . The system 10 shown in FIG. 1 only illustrates components relevant to this embodiment. Therefore, those skilled in the art will appreciate that, in addition to the components shown in FIG. 1 , other commonly used components may be included.

電子裝置100及伺服器110各者可包括收發器、儲存器及處理器。又,電子裝置100及伺服器110各者係指處理至少一個功能或動作之單位,其可藉由硬體或軟體實現、或者由硬體與軟體之組合來實現。另一方面,於整個實施例中,電子裝置100及伺服器110各者被提及為分離之裝置或伺服器,但其可為邏輯上分開之構造,其中之至少一部分可藉由自一個裝置或伺服器中分離出之功能來實現。 Each of the electronic device 100 and the server 110 may include a transceiver, storage, and a processor. Furthermore, each of the electronic device 100 and the server 110 refers to a unit that processes at least one function or action, which may be implemented by hardware or software, or a combination of hardware and software. Furthermore, throughout the embodiments, the electronic device 100 and the server 110 are referred to as separate devices or servers, but they may be logically separate structures, at least a portion of which may be implemented by functions separated from a single device or server.

根據一實施例,電子裝置100及伺服器110可包括藉由網路 伺服器而實現之多個電腦系統或電腦軟體。例如,電子裝置100及伺服器110中之至少一部分可指如下之電腦系統及電腦軟體:藉由如企業內部網路或網際網路之電腦網路而連接至可與其他網路伺服器通訊之下位裝置,受理實行作業之請求,實行該作業並提供實行結果。除此之外,電子裝置100及伺服器110中之至少一部分亦可理解為如下之廣義概念,其包括可於網路伺服器上進行動作之一系列應用程式、及構建於內部或所連接之其他節點上之各種資料庫。例如,電子裝置100及伺服器110中之至少一部分可利用根據DOS(Disk Operating System,磁碟操作系統)、Windows、Linux、UNIX或MacOS等操作系統而以各種形式提供之網路伺服器程式來實現。 According to one embodiment, electronic device 100 and server 110 may include multiple computer systems or computer software implemented via a network server. For example, at least a portion of electronic device 100 and server 110 may refer to computer systems and computer software that are connected to downstream devices capable of communicating with other network servers via a computer network, such as an intranet or the Internet, to receive requests to perform tasks, perform those tasks, and provide results. Furthermore, electronic device 100 and at least a portion of server 110 may also be understood as a broad concept encompassing a range of applications that can operate on the network server, as well as various databases built within the server or on other connected nodes. For example, at least a portion of the electronic device 100 and the server 110 may be implemented using a network server program provided in various forms based on an operating system such as DOS (Disk Operating System), Windows, Linux, UNIX, or MacOS.

電子裝置100及伺服器110可藉由網路(未圖示)而彼此通訊。網路包括區域網路(Local Area Network;LAN)、廣域網路(Wide Area Network;WAN)、加值網路(Value Added Network;VAN)、行動無線電通訊網路(mobile radio communication network)、衛星通訊網路及其等之相互組合,該網路係使圖1所示之各網路構成主體可相互順暢地進行通訊之綜合性含義之資料通訊網路,可包括有線網際網路、無線網際網路及行動無線通訊網路。無線通訊例如可包含無線保真(Wi-Fi)、藍牙、低功耗藍牙(Bluetooth low energy)、紫蜂(Zigbee)、WFD(Wi-Fi Direct,Wi-Fi直連)、UWB(ultra wideband,超寬頻)、紅外線通訊(IrDA,infrared Data Association)、NFC(Near Field Communication,近場通訊)等,但並不限定於此。 Electronic device 100 and server 110 can communicate with each other via a network (not shown). Networks include local area networks (LANs), wide area networks (WANs), value-added networks (VANs), mobile radio communication networks, satellite communication networks, and combinations thereof. This network is a comprehensive data communication network that enables the various network components shown in FIG. 1 to communicate smoothly with each other. It can include wired internet, wireless internet, and mobile wireless communication networks. Wireless communication may include, but is not limited to, Wi-Fi, Bluetooth, Bluetooth low energy, Zigbee, Wi-Fi Direct (WFD), UWB (ultra wideband), infrared data association (IrDA), and NFC (near field communication).

根據一實施例,電子裝置100可確認目標頁面,確認基本環境及測試環境,基於頁面間比較之設定資訊,確認與基本環境中之目標 頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面,實行第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者之測試,及提供包括測試之實行之結果資訊之報告。此處,伺服器110可向電子裝置100提供用以實行上述實施例之資訊、基本環境及測試環境之流量資料等。 According to one embodiment, the electronic device 100 can identify a target page, a base environment, and a test environment. Based on the configuration information obtained by comparing the pages, the electronic device 100 can identify a first page corresponding to the target page in the base environment and a second page corresponding to the target page in the test environment. The electronic device 100 can then test at least one of the differences between the first and second pages and any errors contained in the first and second pages, and provide a report containing information on the test results. The server 110 can provide the electronic device 100 with information used to implement the above-described embodiment, as well as traffic data for the base and test environments.

與當前服務環境中之目標頁面對應之第1頁面及與測試環境中之目標頁面對應之第2頁面於文本、圖像及資源等方面可能存在一部分差異。此時,隨著電子裝置100提供了第1頁面與第2頁面間之用戶介面態樣中之差異、及第1頁面與第2頁面之執行之錯誤,用戶可快速確認第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行之錯誤。又,電子裝置100可提供一種平台,以便設定基本環境、測試環境,且能夠容易地實行用以查出頁面間之差異或頁面之執行之錯誤的測試。藉此,用戶可藉由平台容易地實行測試,用戶可藉由確認包括測試之結果資訊之報告,而容易地比較與基本環境對應之第1頁面、及與測試環境對應之第2頁面之效能。以下將詳細地研究與此相關之具體實施例。 Page 1, which corresponds to the target page in the current service environment, and Page 2, which corresponds to the target page in the test environment, may have some differences in text, images, and resources. In this case, since electronic device 100 provides the differences in user interface styles between Page 1 and Page 2, as well as errors in the execution of Page 1 and Page 2, users can quickly identify the differences and errors in the execution of Page 1 and Page 2. Furthermore, electronic device 100 provides a platform for setting up a basic environment and a test environment, and can easily perform tests to detect differences between pages or errors in page execution. This allows users to easily conduct tests on the platform. By reviewing the report containing test results, users can easily compare the performance of Page 1 (corresponding to the base environment) and Page 2 (corresponding to the test environment). The following details specific implementation examples related to this.

圖2係表示電子裝置提供頁面報告之方法之流程圖。 Figure 2 is a flow chart showing a method for an electronic device to provide a page report.

參照圖2,可理解電子裝置提供資訊之各動作當然可於本發明所屬之技術領域內具有常識者明確理解之範圍內進行變更、置換一部分動作或動作間之一部分順序。 Referring to Figure 2, it can be understood that the various actions of the electronic device in providing information can be modified, with some of the actions or some of the sequence between the actions being replaced within the scope clearly understood by those with common sense in the technical field to which the present invention belongs.

於步驟S210中,電子裝置100可確認目標頁面。 In step S210, the electronic device 100 may confirm the target page.

根據一實施例,電子裝置100可確認與用戶之請求對應之目標頁面。更詳細而言,隨著用戶藉由用戶介面輸入URL(uniform resource locator,網址)資訊,電子裝置100可確認所輸入之URL資訊成為 測試對象之目標頁面之URL資訊。此處,目標頁面可為GW、SDP等頁面,但並不限定於此。 According to one embodiment, the electronic device 100 can confirm the target page corresponding to the user's request. More specifically, as the user enters URL (Uniform Resource Locator) information through the user interface, the electronic device 100 can confirm that the entered URL information becomes the URL information of the target page of the test object. Here, the target page can be, but is not limited to, a GW or SDP page.

於步驟S220中,電子裝置100可確認基本環境及測試環境。 In step S220, the electronic device 100 may confirm the basic environment and the test environment.

根據一實施例,電子裝置100可確認基本環境及測試環境。用戶可確定作為測試基準之基本環境及作為測試對象之測試環境,電子裝置100可確認目標頁面之基本環境及目標頁面之測試環境。於本申請中,基本環境可為作為測試之基準之環境,測試環境可為作為測試之對象之環境。更詳細而言,基本環境可為當前服務中之生產環境,測試環境可為由QA(quality assurance,品質保證)團隊開發且正處於測試中之環境,但並不限定於此。 According to one embodiment, the electronic device 100 can confirm a basic environment and a test environment. A user can select a basic environment serving as a test baseline and a test environment serving as a test target. The electronic device 100 can then confirm a basic environment for a target page and a test environment for the target page. In this application, the basic environment can be the environment serving as a test baseline, and the test environment can be the environment serving as a test target. More specifically, the basic environment can be a production environment currently in service, and the test environment can be an environment developed by a QA (quality assurance) team and currently undergoing testing, but the present invention is not limited thereto.

根據一實施例,電子裝置100可基於藉由批次收集之基本環境之流量資料而確認基本環境,基於線上收集之測試環境之流量資料而確認測試環境。更詳細而言,電子裝置100可基於與基本環境之流量資料對應之訪問次數,確定訪問次數為設定之臨界值以上之基本環境。以下將詳細地研究確認基本環境及測試環境之具體動作。 According to one embodiment, the electronic device 100 can verify the basic environment based on batch-collected traffic data for the basic environment, and verify the test environment based on online traffic data for the test environment. More specifically, based on the number of accesses corresponding to the traffic data for the basic environment, the electronic device 100 can determine that the basic environment has a number of accesses exceeding a predetermined threshold. The specific operations for verifying the basic environment and the test environment will be discussed in detail below.

於步驟S230中,電子裝置100可基於頁面間比較之設定資訊,確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面。 In step S230 , the electronic device 100 can identify the first page corresponding to the target page in the basic environment and the second page corresponding to the target page in the test environment based on the configuration information of the page comparison.

根據一實施例,電子裝置100可藉由多線程來並行地確認複數個頁面。例如,電子裝置100可利用第1線程來確認與基本環境中之目標頁面對應之第1頁面,可利用第2線程來確認與測試環境中之目標頁面對應之第2頁面。此處,確認頁面之動作可包括基於各環境中之目標頁面 之URL而剖析頁面源之動作。又,確認頁面之動作可基於設定資訊,僅將根據剖析頁面源而確認之頁面之一部分確認為作為比較之基準或對象的頁面。 According to one embodiment, the electronic device 100 can concurrently verify multiple pages using multiple threads. For example, the electronic device 100 can utilize a first thread to verify a first page corresponding to a target page in a base environment, and a second thread to verify a second page corresponding to a target page in a test environment. Verifying the page may include parsing the page source based on the URL of the target page in each environment. Furthermore, based on configuration information, the page verification may select only a portion of the page verified by parsing the page source as the reference or target page for comparison.

此處,設定資訊可包括自頁面間比較中排除頁面中包括之要素中之一部分要素(或者,可稱為第1要素)之資訊、及將頁面中包括之要素中之另一部分要素(或者,可稱為第2要素)包括於頁面間比較中之資訊中之至少一者。此處,設定資訊可稱為差異規則(DIFF RULE),自頁面間比較中排除頁面中包括之要素中之一部分要素之資訊可稱為排除規則(EXCLUDE RULE),將頁面中包括之要素中之另一部分要素包括於頁面間比較中之資訊可稱為僅比較規則(ONLY COMPARE RULE),但並不限定於此。藉此,包括第1頁面及第2頁面之頁面可為不包括第1要素但包括第2要素之頁面。以下將詳細地研究確認第1頁面及第2頁面之具體動作。 Here, the configuration information may include at least one of information for excluding a portion of the elements included on a page (or, referred to as the first element) from the inter-page comparison, and information for including another portion of the elements included on the page (or, referred to as the second element) in the inter-page comparison. Here, the configuration information may be referred to as a difference rule (DIFF RULE), information for excluding a portion of the elements included on a page from the inter-page comparison may be referred to as an exclusion rule (EXCLUDE RULE), and information for including another portion of the elements included on a page in the inter-page comparison may be referred to as an ONLY COMPARE RULE, but are not limited thereto. Thus, the page including the first and second pages may be a page that does not include the first element but includes the second element. The following will examine in detail the specific actions on Page 1 and Page 2.

於步驟S240中,電子裝置100可對第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者實行測試。 In step S240 , the electronic device 100 may perform a test on at least one of the difference between the first page and the second page, and errors included in the first page and the second page.

根據一實施例,電子裝置100可對第1頁面與第2頁面之差異實行測試。例如,隨著藉由第1線程及第2線程來確認第1頁面及第2頁面,電子裝置100可藉由主線程來確認第1頁面與第2頁面之差異。第1頁面與第2頁面之差異可為頁面中包括之要素於用戶介面態樣中之差異。例如,第1頁面與第2頁面之差異可包括文本、圖像、資源URL等之差異。 According to one embodiment, electronic device 100 may perform a test for differences between page 1 and page 2. For example, after verifying page 1 and page 2 via thread 1 and thread 2, electronic device 100 may verify the differences between page 1 and page 2 via the main thread. The differences between page 1 and page 2 may be differences in the user interface appearance of elements included in the pages. For example, the differences between page 1 and page 2 may include differences in text, images, resource URLs, etc.

根據一實施例,電子裝置100可對第1頁面及第2頁面中包括之錯誤實行測試。此處,錯誤可為於執行第1頁面及第2頁面之過程中產生之錯誤。錯誤可包括與第1頁面對應之第1控制台錯誤、與第2頁面對應之第2控制台錯誤、及第1頁面與第2頁面中包括之資源之加載錯誤中之至 少一者。又,錯誤可包括JS(Java Script,Java腳本)錯誤、CSS(Cascading Style Sheets,串接式表單)錯誤等。 According to one embodiment, electronic device 100 may test errors included in page 1 and page 2. Here, errors may be errors generated during the execution of page 1 and page 2. Errors may include at least one of a first console error corresponding to page 1, a second console error corresponding to page 2, and errors loading resources included in page 1 and page 2. Furthermore, errors may include JS (Java Script) errors, CSS (Cascading Style Sheets) errors, and the like.

於步驟S250中,電子裝置100可提供包括測試之實行之結果資訊之報告。 In step S250 , the electronic device 100 may provide a report including information on the results of the test.

根據一實施例,電子裝置100可提供包括測試之實行之第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤之報告。藉此,用戶可容易地確認第1頁面與第2頁面之差異、及錯誤,可容易地比較與基本環境對應之第1頁面、及與測試環境對應之第2頁面之效能。 According to one embodiment, electronic device 100 can provide a report including the differences between Page 1 and Page 2 of the test execution, as well as errors included in Page 1 and Page 2. This allows users to easily identify the differences and errors between Page 1 and Page 2, and to easily compare the performance of Page 1 corresponding to the base environment and Page 2 corresponding to the test environment.

根據一實施例,電子裝置100可提供包括藉由滑動圖標顯示第1頁面與第2頁面之差異之比較圖像之報告。藉此,用戶可藉由滑動圖標而容易地確認第1頁面與第2頁面對應之要素之差異。 According to one embodiment, the electronic device 100 can provide a report including a comparison image showing the difference between the first page and the second page using a sliding icon. This allows the user to easily confirm the difference between corresponding elements on the first and second pages by sliding the icon.

根據一實施例,電子裝置100可基於第1頁面與第2頁面之差異,確認第2頁面中包括之要素中與第1頁面之要素不同之第1要素,並可提供包括顯示有第1要素之第2頁面報告。用戶可隨著確認顯示第1要素之第2頁面,容易地抓取具有第1頁面與第2頁面之差異之要素。 According to one embodiment, based on the difference between the first and second pages, the electronic device 100 can identify a first element included on the second page that is different from an element on the first page, and can provide a report including the second page displaying the first element. By confirming the second page displaying the first element, the user can easily identify the element that differs between the first and second pages.

根據一實施例,電子裝置100可確認與第1頁面及第2頁面對應之第1源代碼及第2源代碼。此時,電子裝置100可確認第2源代碼中與第1源代碼不同之源代碼即第3源代碼。藉此,電子裝置100可藉由於第2源代碼中顯示第3源代碼來提供報告。 According to one embodiment, electronic device 100 can confirm the first and second source codes corresponding to the first and second pages. Then, electronic device 100 can confirm a third source code within the second source code that is different from the first source code. Thus, electronic device 100 can provide a report by displaying the third source code within the second source code.

圖3係用以說明用以提供頁面報告之電子裝置之圖。 Figure 3 is a diagram illustrating an electronic device for providing page reports.

參照圖3,用戶介面差異架構(UI Diff Architecture)300可為用以確認頁面間之差異及頁面中包括之錯誤之系統的架構。用戶介面差異架構300可包括用戶介面差異310、分散執行(Distribute Execution)320、後端(Backend)330、前端(Frontend)340及資料儲存器(Data Storage)350。 Referring to FIG. 3 , UI Diff Architecture 300 may be a system architecture for identifying differences between pages and errors within pages. UI Diff Architecture 300 may include UI Diff 310 , Distributed Execution 320 , Backend 330 , Frontend 340 , and Data Storage 350 .

用戶介面差異310可包括可用於頁面間差異之測試之程式館(Library)。程式館於附圖上亦可顯示為Lib 。1)對象操作程式館(Object Operation Lib)301可包括當頁面為藉由入口點等來提供新頁面形態之頁面時,暴露新頁面中包括之要素之功能。2)瀏覽器操作程式館(Browser Operation Lib)302可為用以實行藉由瀏覽器執行操作之功能之程式館。3)錯誤處理(Error Handle)303可為用以解決藉由瀏覽器執行操作時產生之錯誤之程式館。4)控制台監視器(Console Monitor)304可為用以提供頁面執行過程中產生之控制台錯誤之程式館。更詳細而言,若控制台監視器304於執行與測試環境對應之頁面之過程中存在控制台錯誤,則電子裝置100可顯示並提供控制台錯誤。5)比較核心(Compare Core)305可為用以確認基本環境中之第1頁面與測試環境中之第2頁面之差異點的程式館。更詳細而言,比較核心305可基於頁面間比較之設定資訊,確認第1頁面與第2頁面之差異點。又,比較核心305可基於自動去雜訊程序,確認存在頁面間差異之要素。此時,存在頁面間差異之要素可儲存為緩存資料。6)差異規則相位(Diff Rule Phase)306可為用以設定及變更頁面間比較之設定資訊之程式館。7)步驟相位(Step Phase)307可為用以分析藉由對象操作程式館301e而實行之功能之程式館。8)URL加載監視器(URL Load Monitor)308可為用以對應於URL載入來監視JS、CSS之程式館。 User Interface Difference 310 may include libraries that can be used to test differences between pages. Libraries may also be displayed as "Lib" in the accompanying diagram. 1) Object Operation Library 301 may include functions for exposing elements included in a new page when a page provides a new page form through an entry point, etc. 2) Browser Operation Library 302 may be a library for implementing functions for performing operations through a browser. 3) Error Handling 303 may be a library for resolving errors generated when performing operations through a browser. 4) Console Monitor 304 can be a library for providing console errors generated during page execution. More specifically, if a console error occurs while Console Monitor 304 is executing a page corresponding to the test environment, electronic device 100 can display and provide the console error. 5) Compare Core 305 can be a library for identifying differences between a first page in a base environment and a second page in a test environment. More specifically, Compare Core 305 can identify differences between the first and second pages based on configuration information for comparing the pages. Furthermore, the comparison core 305 can identify elements that differ between pages based on an automatic noise reduction process. These elements can be stored as cached data. 6) The Diff Rule Phase 306 can be a library for configuring and modifying configuration information for page comparisons. 7) The Step Phase 307 can be a library for analyzing functions implemented by the Object Operation Library 301e. 8) The URL Load Monitor 308 can be a library for monitoring JS and CSS in response to URL loading.

又,用戶介面差異310可包括Selenium311、Appium、Pytest、組態相位器(Config Phaser)312及Excel相位器(Excel Phaser)313。1)Selenium311可生成測試之實行之結果資訊。更詳細而 言,Selenium311可利用顯示比較圖像或第2圖像差異之要素。2)組態相位器312可提供用以輸入實行測試所需之資訊之頁面。3)Excel相位器313可提供用以儲存並分析測試資料之頁面。 Furthermore, user interface differences 310 may include Selenium 311, Appium, Pytest, a configuration phaser 312, and an Excel phaser 313. 1) Selenium 311 can generate test result information. More specifically, Selenium 311 can utilize elements that display a comparison image or a difference between the second image. 2) Configuration phaser 312 provides a page for entering information required for test execution. 3) Excel phaser 313 provides a page for storing and analyzing test data.

分散執行(Distribute Execution)320可藉由AutoRunner向後端(Backend)提供用戶介面差異310中包括之程式館。 Distributed Execution 320 can provide the libraries included in User Interface Difference 310 to the backend through AutoRunner.

後端330可包括由python製作之開放原始碼網頁框架,例如Django、Rest-framework、jwt、SDK(software development kit,軟體開發套件)及流量資料收集(Traffic Data Collect)。 The backend 330 may include an open source web framework built using Python, such as Django, Rest-framework, JWT, SDK (software development kit), and traffic data collection.

前端340可包括組件,該組件不僅包括網頁/H5差異、Android差異、ios差異,亦包括運行組態(Run config)及專案腳本。又,前端340可為VUE、Elememt-UI、JS/CSS(Scss)、VUEX、axios及圖像-比較-滑塊(img-comparision-slider)。圖像-比較-滑塊可提供頁面間之比較圖像。 Front-end 340 may include components including web/H5 differences, Android differences, and iOS differences, as well as runtime configuration and project scripts. Furthermore, front-end 340 may include VUE, Element-UI, JS/CSS (Scss), VUEX, Axios, and an img-comparision-slider. The img-comparision-slider provides image comparisons between pages.

資料儲存器350可包括Mysql、Mongo DB、redis及檔案系統。Mysql可儲存目標頁面之URL資訊。更詳細而言,Mysql可確認測試環境中之目標頁面之URL資訊。Redis可臨時儲存測試執行之狀態資訊及實時生成之報告。又,檔案系統可儲存根據測試執行生成之圖像檔案及HTML報告。 Data storage 350 may include MySQL, MongoDB, Redis, and a file system. MySQL can store target page URL information. More specifically, MySQL can confirm target page URL information within the test environment. Redis can temporarily store test execution status information and real-time reports. Furthermore, the file system can store image files and HTML reports generated based on test execution.

圖4係用以說明用於提供頁面報告之系統之圖。 Figure 4 is a diagram illustrating a system for providing page reports.

參照圖4,系統400作為用以實行本申請之實施例之系統,可包括用戶介面差異工具(UI DIFF TOOL)410及網頁差異框架(Web Diff Framework)420。 Referring to FIG. 4 , system 400 , which is used to implement an embodiment of the present application, may include a user interface difference tool (UI DIFF TOOL) 410 and a web diff framework (Web Diff Framework) 420.

於步驟S411中,用戶可設定差異URL(Diff URL)及差異函 數(Diff Function)。此處,差異URL可對應於目標頁面。又,差異函數可對應於圖3之用戶介面差異310中包括之程式館函數。即,用戶可於執行測試前確定目標頁面及可用於測試之程式館函數之設定值。 In step S411, the user can set a diff URL and a diff function. Here, the diff URL can correspond to the target page. Furthermore, the diff function can correspond to the library function included in the diff 310 in the user interface in Figure 3 . In other words, the user can determine the target page and the library function settings that can be used for testing before executing the test.

於步驟S412中,用戶可設定Perm流量資料及產品流量資料。電子裝置100可基於藉由批次收集之基本環境之流量資料,確認基本環境。此處,基本環境之流量資料作為產品流量資料,可為藉由批次設定之期間所收集之流量資料。又,電子裝置100可基於線上收集之測試環境之流量資料,確認測試環境。此處,測試環境之流量資料可為用於QA團隊等用戶之測試之流量資料。 In step S412, the user can configure Perm flow data and product flow data. The electronic device 100 can verify the basic environment based on the flow data collected in the basic environment during batches. Here, the flow data in the basic environment, as product flow data, can be flow data collected during the batch configuration period. Furthermore, the electronic device 100 can verify the test environment based on flow data collected online in the test environment. Here, the flow data in the test environment can be flow data used for testing by users such as the QA team.

於步驟S413中,用戶可設定差異規則。於本申請中,當實行用於頁面間比較之測試時,差異規則可與用以設定頁面中作為比較之對象之要素或自比較之對象中排除之要素的設定資訊對應。 In step S413, the user can set difference rules. In this application, when performing a test for comparing pages, the difference rules may correspond to setting information for specifying elements on the pages to be compared or elements to be excluded from the comparison.

於步驟S414中,用戶可設定用以對頁面間差異或錯誤中之至少一者實行測試之資訊。例如,用戶可藉由自電子裝置100提供之頁面(此處,頁面可稱為用戶介面)而設定作為測試之基準之基本環境、測試環境等。 In step S414, the user can set information for testing at least one of differences or errors between pages. For example, the user can set a basic environment or a test environment as a benchmark for testing using a page provided by the electronic device 100 (herein, the page may be referred to as a user interface).

於步驟S415中,電子裝置100可提供包括結果資訊之報告,其中結果資訊包括第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行過程中產生之錯誤之資訊。更詳細而言,電子裝置100可藉由網頁差異框架420來提供包括結果資訊之報告,其中結果資訊包括第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行過程中產生之錯誤之資訊。圖4對網頁用戶介面差異進行了描述,但並不限定於此,本申請之實施例亦可類似地應用於移動裝置等裝置中之用戶介面差異。 In step S415 , the electronic device 100 may provide a report including result information, including the difference between the first and second pages, and information about errors generated during the execution of the first and second pages. More specifically, the electronic device 100 may use a webpage difference framework 420 to provide a report including the result information, including the difference between the first and second pages, and information about errors generated during the execution of the first and second pages. FIG. 4 illustrates webpage user interface differences, but is not limited thereto. The embodiments of this application may also be similarly applied to user interface differences in devices such as mobile devices.

於步驟S421及步驟S422中,電子裝置100可藉由個別線程來確認與各環境中之目標頁面對應之頁面。例如,電子裝置100可藉由第1線程來確認與生產環境中之目標頁面對應之第1頁面,可藉由第2線程來確認與測試環境中之目標頁面對應之第2頁面。又,確認頁面之動作可包括如下動作:基於目標頁面之URL資訊、與目標頁面對應之環境之IP資訊等,對頁面源進行剖析;及基於設定資訊(或者,差異規則),藉由第1頁面423或第2頁面424來確認與所剖析之頁面源對應之頁面中之一部分。 In steps S421 and S422, the electronic device 100 can use separate threads to identify the page corresponding to the target page in each environment. For example, the electronic device 100 can use thread 1 to identify page 1 corresponding to the target page in the production environment, and thread 2 to identify page 2 corresponding to the target page in the test environment. Furthermore, identifying the page may include: parsing the page source based on the target page's URL information, IP information of the environment corresponding to the target page, etc.; and, based on configuration information (or difference rules), identifying a portion of the page corresponding to the parsed page source using page 1 423 or page 2 424.

於步驟S425中,電子裝置100可藉由主線程比較第1頁面423及第2頁面424之資源。此時,作為比較之對象之各頁面之資源不僅可包括文本、圖像,視頻,亦可包括能夠包括於頁面中之所有要素。又,電子裝置100可儲存資源比較之第1頁面423與第2頁面424之差異、及第1頁面423與第2頁面424中包括之錯誤。例如,電子裝置100可將頁面423與第2頁面424之差異儲存為圖像,或者將差異及錯誤儲存於Redis,將包括結果資訊之報告儲存為HTML檔案。 In step S425, the electronic device 100 can compare the resources of page 1 423 and page 2 424 via the main thread. The resources of each page being compared may include not only text, images, and videos, but also all elements that can be included in a page. Furthermore, the electronic device 100 can store the differences between page 1 423 and page 2 424 resulting from the resource comparison, as well as any errors found in the comparison. For example, the electronic device 100 can store the differences between page 423 and page 2 424 as an image, store the differences and errors in Redis, and save a report containing the result information as an HTML file.

於步驟S430中,電子裝置100可生成報告,該報告包括第1頁面423與第2頁面424之差異、及與第1頁面423與第2頁面424對應之錯誤。又,所生成之報告可上傳或以緩存之形式儲存於電子裝置100或代理伺服器中。 In step S430 , the electronic device 100 may generate a report that includes the differences between the first page 423 and the second page 424 , as well as the errors corresponding to the first page 423 and the second page 424 . Furthermore, the generated report may be uploaded or stored in a cached form on the electronic device 100 or the proxy server.

圖5係用以說明處理流量資料之程序之圖。 Figure 5 illustrates the process of processing traffic data.

圖5係用以說明當測試網頁環境中之頁面間之差異、及頁面之執行過程中之錯誤時,處理網頁相關之流量資料之程序之圖。但是,本申請之流量資料並不限定於網頁相關之流量資料。 Figure 5 illustrates the process of processing webpage-related traffic data when testing differences between pages in a webpage environment and errors during page execution. However, the traffic data in this application is not limited to webpage-related traffic data.

於步驟S510中,電子裝置100可基於是否為HTML響應, 對線上收集之測試環境之流量資料中之一部分進行過濾。例如,電子裝置100可基於是否為HTML響應,對線上收集之測試環境之流量資料中之網頁相關的流量資料進行過濾。藉此,電子裝置100可對流量資料中之一部分進行過濾,以實行網頁用戶介面差異。此處,線上收集之測試環境之流量資料可稱為Perm流量資料。 In step S510, the electronic device 100 may filter a portion of the test environment traffic data collected online based on whether the response is HTML. For example, the electronic device 100 may filter webpage-related traffic data within the test environment traffic data collected online based on whether the response is HTML. This allows the electronic device 100 to filter a portion of the traffic data to implement webpage user interface differentiation. Here, the test environment traffic data collected online may be referred to as Perm traffic data.

於步驟S520中,電子裝置100可基於是否為用戶代理匹配(User Agent Match),對藉由批次而收集之生產環境之流量資料中之一部分進行過濾。藉此,電子裝置100可對生產環境之流量資料中之網頁相關之流量資料進行過濾。 In step S520 , the electronic device 100 may filter a portion of the production environment traffic data collected by batch based on whether a user agent match occurs. In this way, the electronic device 100 may filter webpage-related traffic data within the production environment traffic data.

於步驟S530中,電子裝置100可基於過濾之流量資料各者之訪問次數,對訪問次數為設定之臨界值以上之流量資料進行過濾。藉此,電子裝置100可僅過濾及提供於大量流量資料中訪問次數為設定之臨界值以上之網頁流量。即,電子裝置100可基於與基本環境之流量資料對應之訪問次數,確定訪問次數為設定之臨界值以上之基本環境。又,電子裝置100可基於與測試環境之流量資料對應之訪問次數,確認訪問次數為設定之臨界值以上之測試環境。 In step S530, the electronic device 100 can filter traffic data with access counts exceeding a set threshold based on the access counts of each filtered traffic data item. This allows the electronic device 100 to filter and provide only web page traffic with access counts exceeding the set threshold within the bulk traffic data. Specifically, the electronic device 100 can identify the basic environment with access counts exceeding the set threshold based on the access counts corresponding to the traffic data in the basic environment. Furthermore, the electronic device 100 can identify the test environment with access counts exceeding the set threshold based on the access counts corresponding to the traffic data in the test environment.

於步驟S540中,電子裝置100可於確認與本次測試中利用之基本環境及測試環境對應之流量資料之後,將其添加至黑名單。例如,為了利用各種環境中之流量資料,電子裝置100可設定將測試中已使用之環境之流量資料添加至黑名單,以便於隨後之測試中自流量資料中過濾出。 In step S540 , the electronic device 100 may confirm the traffic data corresponding to the base environment and the test environment used in the current test and then add them to a blacklist. For example, to utilize traffic data from various environments, the electronic device 100 may configure the blacklist to include traffic data from the environment used in the test, thereby filtering it out of the traffic data in subsequent tests.

圖6係用以說明設定測試環境之URL之頁面之圖。 Figure 6 illustrates the page for setting the URL for the test environment.

參照圖6,電子裝置100可向用戶提供設定測試環境之URL 之頁面600,用戶可藉由頁面600而輸入測試環境之URL之資訊。用戶可隨著於頁面600之區域650中輸入欲測試之URL之資訊,手動設定新測試環境之URL。頁面600可為藉由Excel相位器313而提供之頁面。 Referring to Figure 6 , electronic device 100 may provide a user with a page 600 for configuring a test environment URL. The user may use page 600 to enter information about the test environment URL. The user may manually configure a new test environment URL by entering information about the URL to be tested in area 650 of page 600. Page 600 may be provided by Excel Analyzer 313.

電子裝置100可藉由已儲存之測試環境之URL來提供頁面600。例如,索引號5對應之測試環境之URL可為「http://cart.coupang.com/cartView.pang」610,測試環境之URL為「http://cart.coupang.com/cartView.pang」610之測試環境之頁面名稱可為「pc購物車頁面EN」620。又,測試環境之URL為「http://cart.coupang.com/cartView.pang」610之測試環境之語言可為「EN」630,是否登錄之資訊可為「Y」640。又,隨著用戶藉由圖標660接收對操作之輸入,電子裝置100可提供編輯頁面間比較之設定資訊之頁面。 The electronic device 100 can provide the page 600 using the URL of a stored test environment. For example, the URL of the test environment corresponding to index number 5 can be "http://cart.coupang.com/cartView.pang" 610, and the page name of the test environment with the URL "http://cart.coupang.com/cartView.pang" 610 can be "pc shopping cart page EN" 620. Furthermore, the language of the test environment with the URL "http://cart.coupang.com/cartView.pang" 610 can be "EN" 630, and the login information can be "Y" 640. Furthermore, as the user receives input for the operation through icon 660, the electronic device 100 may provide a page for editing the setting information compared between the pages.

圖7係用以說明編輯頁面間比較之設定資訊之頁面之圖。 Figure 7 illustrates the page for editing setting information compared between pages.

參照圖7,隨著用戶藉由圖標660接收對操作之輸入,電子裝置100可提供編輯頁面間比較之設定資訊之頁面700。頁面700可為「pc購物車頁面EN」710之設定資訊之頁面。更詳細而言,頁面700可為編輯圖6之測試環境之URL為「http://cart.coupang.com/cartView.pang」610之目標頁面之頁面間比較之設定資訊的頁面。頁面700之設定資訊可稱為差異規則,設定資訊可包括:1)自頁面間比較中排除頁面中包括之要素中之第1要素之資訊、及2)將頁面中包括之要素中之第2要素包括於頁面間比較中之資訊。 Referring to FIG. 7 , as the user receives input regarding an operation via icon 660 , electronic device 100 may provide a page 700 for editing the configuration information for comparing pages. Page 700 may be a page for configuring the configuration information for "pc shopping cart page EN" 710 . More specifically, page 700 may be a page for editing the configuration information for comparing pages of the target page, whose URL is "http://cart.coupang.com/cartView.pang" 610 in the test environment of FIG. 6 . The setting information of page 700 can be referred to as a difference rule. The setting information may include: 1) information for excluding a first element among the elements included in the page from the inter-page comparison, and 2) information for including a second element among the elements included in the page in the inter-page comparison.

1)自頁面間比較中排除頁面中包括之要素中之第1要素之資訊可稱為排除規則720。排除規則720可意指設定與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面間之比較 中排除的要素。例如,排除規則720可為將與「header」及「widget」對應之id之區域排除在比較之對象以外的設定。 1) Information that excludes the first element of the elements included in a page from the inter-page comparison is referred to as exclusion rule 720. Exclusion rule 720 may be a setting that excludes elements from the comparison between the first page corresponding to the target page in the base environment and the second page corresponding to the target page in the test environment. For example, exclusion rule 720 may be a setting that excludes areas with IDs corresponding to "header" and "widget" from the comparison.

2)將頁面中包括之要素中之第2要素包括於頁面間比較中之資訊可稱為僅比較規則730。僅比較規則730可意指設定與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面間之比較中包括之要素。但是,如圖7所述之實施例,於僅比較規則730沒有特別之設定之情形時,排除規則720中不包括之要素均可包括於比較之對象中。 2) Information that includes the second element among the elements included in the page in the inter-page comparison may be referred to as comparison-only rule 730. Comparison-only rule 730 may refer to setting the elements to be included in the comparison between the first page corresponding to the target page in the base environment and the second page corresponding to the target page in the test environment. However, as in the embodiment depicted in FIG7 , when comparison-only rule 730 is not specifically configured, elements not included in exclusion rule 720 may be included in the comparison.

藉此,第1頁面及第2頁面可不包括與排除規則720對應之要素,但可包括與僅比較規則730對應之要素。 Thus, Page 1 and Page 2 may not include elements corresponding to Exclusion Rule 720, but may include elements corresponding to Comparison Rule 730.

圖8係用以說明設定並儲存測試環境之網址之頁面之圖。 Figure 8 illustrates the page for setting up and storing the URL for the test environment.

參照圖8,頁面800係表示儲存測試環境之URL之頁面。頁面之佈局可根據設備之種類及OS等而不同。例如,頁面之佈局可根據其係基於計算設備之網頁、抑或基於移動設備之頁面而不同,頁面之佈局可根據移動設備之OS係Android抑或IOS而不同。因此,電子裝置100可提供頁面800之欄標810,以便能夠選擇網頁、Android、IOS。又,隨著檢查並儲存頁面800之圖標820,電子裝置100可將測試資料儲存於資料儲存器350之Mysql中。 Referring to Figure 8 , page 800 represents a page storing the URL for the test environment. The page layout may vary depending on the device type and operating system. For example, the page layout may differ depending on whether it is a web page for a computing device or a page for a mobile device, and the page layout may also differ depending on whether the mobile device's operating system is Android or iOS. Therefore, electronic device 100 may provide a field 810 on page 800 to allow selection between web page, Android, or iOS. Furthermore, by checking and saving icon 820 on page 800, electronic device 100 may store test data in MySQL in data storage 350.

又,圖8之索引號為1之「https://cart.coupang.com/subscribe-cart」可包括後動作步驟,後動作步驟可包括如下動作:1)點擊編號1(850)之底部擴展鏈接(bottom expand link)之第1動作、2)將滑鼠滾動至編號2(860)之問號圖標之第2動作、及3)編號3(870)之於第2動作之後追加地提供查核資訊之第3動作。即,於測試之比 較對象中可包括根據用戶之動作而附加地暴露之用戶介面。 Furthermore, "https://cart.coupang.com/subscribe-cart" with index number 1 in FIG8 may include a post-action step, which may include the following actions: 1) a first action of clicking the bottom expand link numbered 1 (850), 2) a second action of rolling the mouse to the question mark icon numbered 2 (860), and 3) a third action of providing additional verification information after the second action numbered 3 (870). In other words, the comparison object of the test may include a user interface that is additionally exposed based on the user's actions.

若檢查頁面800之圖標820並藉由圖標830來執行用戶之執行輸入,則電子裝置100可基於所檢查之測試資料,對頁面間差異及頁面之執行過程中產生之錯誤中之至少一者執行測試。 If icon 820 of page 800 is checked and the user's execution input is executed through icon 830, electronic device 100 can perform a test on at least one of differences between pages and errors generated during the execution of the page based on the checked test data.

若藉由頁面800之圖標840接收到用戶之輸入,則電子裝置100可提供管理測試之執行之頁面。 If user input is received via icon 840 on page 800, electronic device 100 may provide a page for managing the execution of the test.

圖9係繼圖8後之用以說明管理測試之執行之頁面之圖。 Figure 9 is a diagram following Figure 8, illustrating the page for managing test execution.

參照圖9,頁面900可為用以管理所選擇之測試資料之測試之執行的頁面。用戶可藉由頁面900來確認所選擇之測試環境之URL(測試環境之URL可為測試環境中之目標頁面)之測試的目錄。例如,針對測試環境之目標頁面而設定之測試可有索引號1至4,總共4個,測試可有測試A組態910及測試B組態920。 Referring to Figure 9 , page 900 may be used to manage the execution of tests for the selected test data. Page 900 allows users to view the directory of tests for the selected test environment URL (the test environment URL may be a target page within the test environment). For example, the tests configured for the test environment target page may be indexed 1 through 4, for a total of four tests, including Test A Configuration 910 and Test B Configuration 920.

基於用戶在複數個測試中將預設值變更為yes之測試之設定資訊,電子裝置100可實行與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面間之差異、以及第1頁面與第2頁面中包括之錯誤中之至少一者之測試。 Based on the test setting information in which the user changes the default value to yes in a plurality of tests, the electronic device 100 can perform a test for at least one of the difference between the first page corresponding to the target page in the basic environment and the second page corresponding to the target page in the test environment, and errors included in the first and second pages.

若藉由圖標930接收用戶對測試設定之輸入,則電子裝置100可提供編輯該測試之設定資訊之詳細頁面。 If the user input regarding the test settings is received via icon 930, the electronic device 100 may provide a detailed page for editing the test setting information.

圖10係用以說明設定測試之詳細頁面之圖。 Figure 10 illustrates the detailed page for setting up a test.

圖10表示響應於用戶藉由與圖9中之測試B對應之圖標之輸入,電子裝置100向用戶提供之編輯測試B之設定資訊之詳細頁面。用戶可藉由頁面1000來設定測試之設定資訊,例如設定與「cart.coupang.com」對應之測試伺服器等。 FIG10 shows a detailed page provided by electronic device 100 to the user for editing the configuration information for Test B in FIG9 in response to user input via the icon corresponding to Test B. The user can use page 1000 to configure the test configuration information, such as setting the test server corresponding to "cart.coupang.com."

頁面1000之測試之名稱可為測試B組態1010。又,頁面1000之帳戶1020可為相應測試之用戶之資訊,可為「UserA@coupang.com」。頁面1000之僅檢查文本(Check Text Only)1030於頁面間比較中,可為是否僅查出頁面中包括之文本之差異之資訊。1)例如,如圖10所示,於僅檢查文本中為「否」之情形時,電子裝置100不僅可查出頁面中包括之文本之差異,亦可查出CSS、JS格式。2)反之,於僅檢查文本中為「是」之情形時,電子裝置100可僅查出頁面中包括之文本之差異。 The name of the test on page 1000 may be Test B Configuration 1010. Furthermore, Account 1020 on page 1000 may be information about the user of the corresponding test, such as "UserA@coupang.com." Check Text Only 1030 on page 1000 may indicate whether to detect differences only in the text included in the pages during the inter-page comparison. 1) For example, as shown in FIG10 , if the check text only option is "No," the electronic device 100 may detect not only differences in the text included in the pages, but also differences in CSS and JS formats. 2) Conversely, if the check text only option is "Yes," the electronic device 100 may detect differences only in the text included in the pages.

根據一實施例,電子裝置100可基於測試之測試設定資訊,實行第1頁面及第2頁面之A/B測試。更詳細而言,電子裝置100可基於作為A/B測試之比較之基準之A及作為比較之對象之B的設定資訊,實行A/B測試。 According to one embodiment, the electronic device 100 can perform an A/B test on Page 1 and Page 2 based on the test configuration information. More specifically, the electronic device 100 can perform the A/B test based on the configuration information of A, which serves as the basis for comparison, and B, which serves as the object of comparison.

頁面1000之基線組態1040可為設定作為比較之基準之基本環境之部分。若測試係用以比較當前服務中之頁面與發佈預定中之頁面之測試,則比較之基準可為當前服務中之頁面。即,基線組態1040之預設值可設定為生產(Production)1041。但是,基線組態1040並不限定於生產1041。例如,若係用以比較處於複數個發佈預定中之頁面之測試,則基線組態1040可不限定於生產1041。 Baseline configuration 1040 for page 1000 may be part of a basic environment that is set as a benchmark for comparison. If the test is used to compare a page currently in service with a page scheduled for release, the comparison benchmark may be the page currently in service. That is, the default value of baseline configuration 1040 may be set to Production 1041. However, baseline configuration 1040 is not limited to Production 1041. For example, if the test is used to compare multiple pages scheduled for release, baseline configuration 1040 may not be limited to Production 1041.

頁面1000之測試組態1050可為設定作為比較之對象之測試環境之部分。更詳細而言,當用戶對「cart.coupang.com」實行測試時,電子裝置100可藉由頁面1000主機映射1060選擇與「cart.coupang.com」對應之測試伺服器。參照圖10,目標頁面「cart.coupang.com」之測試環境可設定為「PERM_coupang_cart_web_stage5」。 Test configuration 1050 on page 1000 may be part of configuring the test environment used as a comparison target. Specifically, when a user performs a test on "cart.coupang.com," electronic device 100 may select the test server corresponding to "cart.coupang.com" via host mapping 1060 on page 1000. Referring to FIG. 10 , the test environment for the target page "cart.coupang.com" may be set to "PERM_coupang_cart_web_stage5."

圖11係用以說明流量資料之頁面之圖。 Figure 11 is a diagram illustrating the flow data page.

圖11係用以說明顯示測試環境之流量資料、及基本環境之流量資料之頁面1100的圖。例如,對應於用戶藉由圖標1110之輸入,電子裝置100可藉由頁面1100提供測試環境之流量資料及基本環境之流量資料。例如,於圖標1110為「Perm」或「測試」之情形時,電子裝置100可提供QA進行測試時所利用之流量資料。反之,於圖標1110為生產之情形時,電子裝置100可藉由頁面1100來提供當前服務提供中之流量資料。此處,當前服務提供中之流量資料之特徵可為流量龐大,且藉由批次而收集。反之,當QA進行測試時所利用之流量資料之特徵可為藉由線上實時收集。 FIG11 is a diagram illustrating a page 1100 displaying flow data for a test environment and flow data for a basic environment. For example, in response to user input via icon 1110, the electronic device 100 may provide flow data for a test environment and flow data for a basic environment via page 1100. For example, when icon 1110 is "Perm" or "Test," the electronic device 100 may provide flow data used by QA for testing. Conversely, when icon 1110 is production, the electronic device 100 may provide flow data for current service provision via page 1100. Here, the flow data for current service provision may be characterized by a large flow rate and being collected in batches. On the other hand, the characteristics of traffic data used by QA during testing can be collected online in real time.

此外,電子裝置100可藉由頁面1100來提供流量資料之收集期間之圖標1120、及設定與流量資料對應之域之資訊之圖標1130。例如,參照圖11,電子裝置100可於頁面1100上顯示2022年6月18日至2022年6月20日收集之服務提供中之流量資料中域名為「Coupang-web」的流量資料。 Additionally, electronic device 100 may use page 1100 to provide an icon 1120 for the period during which traffic data is collected, and an icon 1130 for setting information about the domain corresponding to the traffic data. For example, referring to FIG. 11 , electronic device 100 may display on page 1100 traffic data collected from June 18, 2022, to June 20, 2022, for the domain name "Coupang-web" in the traffic data provided by the service.

又,若用戶藉由答覆計數之圖標1140來變更答覆計數,則電子裝置100可基於設定之答覆計數,確定於目標URL之下位包括之詳細URL中與目標URL之下位排列的詳細URL。 Furthermore, if the user changes the reply count using the reply count icon 1140 , the electronic device 100 can determine the detailed URL that is arranged below the target URL among the detailed URLs included below the target URL based on the set reply count.

圖12係繼圖11後之用以說明流量資料之頁面之圖。 Figure 12 is a diagram following Figure 11, illustrating the page displaying traffic data.

參照圖12,頁面1200可顯示2022年6月18日至2022年6月20日所收集之服務提供中之流量資料中域名為「Coupang-web」之流量資料。頁面1200之答覆計數可藉由圖標1205確定為5,電子裝置100可基於總訪問次數之頻率1220自訪問次數多之URL開始依序排列顯示之流量來 提供頁面1200。 Referring to Figure 12 , page 1200 may display traffic data for the domain name "Coupang-web" from traffic data collected during service provision from June 18, 2022, to June 20, 2022. The response count for page 1200 can be determined as 5 by icon 1205 . Electronic device 100 may display page 1200 by sorting the displayed traffic based on frequency 1220 of total visits, starting with the most visited URLs.

例如,URL版本為「vp/products/_num_」之URL之總訪問次數為18395次,可為訪問次數最多之URL頁面。又,於URL版本為「vp/products/_num_」1210之URL之下位包括之詳細URL中,URL「vp/products/121816223」1211可與索引號為2至5之URL相同,相當於呼叫為9之URL。電子裝置100可於「vp/products/_num_」1210中顯示並提供包括答覆計數為5、「vp/products/121816223」1211之索引號為1至5之URL。 For example, the URL version "vp/products/_num_" has a total of 18,395 visits, making it the most visited URL page. Furthermore, within the detailed URLs included below the URL version "vp/products/_num_" 1210, the URL "vp/products/121816223" 1211 may be the same as the URLs indexed 2 through 5, corresponding to the URL with call number 9. The electronic device 100 may display and provide the URLs indexed 1 through 5, including "vp/products/_num_" 1210, which has a response count of 5.

電子裝置100可根據用戶之設定,僅答覆流量資料中之一部分,並將其顯示於頁面1200上。更詳細而言,電子裝置100可於頁面1200之上方或首頁上顯示與用戶之設定對應之流量資料中訪問次數高的URL。即,屬於相同之域之頁面除了一部分佈局中包括之內容以外,亦可由相似之佈局構成,即便基於與訪問次數多之URL對應之頁面進行比較,亦可確認用戶介面差異。 Based on user settings, electronic device 100 can respond to only a portion of the traffic data and display it on page 1200. More specifically, electronic device 100 can display the most frequently visited URLs in the traffic data corresponding to the user settings above page 1200 or on the homepage. In other words, pages within the same domain may have similar layouts, not just the content included in a portion of the layout. Even by comparing pages corresponding to the most frequently visited URLs, differences in user interfaces can be identified.

根據一實施例,電子裝置100可基於與收集之生產環境之流量資料對應之訪問次數,確認訪問次數為已設定之臨界值以上之生產環境之流量資料。例如,參照圖12,電子裝置100可於藉由Coupang_web實行比較產品之詳細頁面之測試時,運用索引號為1至5之URL作為生產環境之流量資料。 According to one embodiment, the electronic device 100 can identify production environment traffic data with a number of accesses exceeding a predetermined threshold based on the number of accesses corresponding to the collected production environment traffic data. For example, referring to FIG12 , the electronic device 100 can use URLs indexed 1 to 5 as production environment traffic data when performing a test comparing product detail pages using Coupang_web.

圖13係用以說明測試之實行之結果之頁面的圖。 Figure 13 is a diagram of a page used to illustrate the results of the test.

頁面1300可為對頁面間差異及頁面中包括之錯誤實行測試之結果之頁面。例如,頁面1300可包括複數個測試之實行之結果,其中複數個測試包括第1測試1310、第2測試1320及第3測試1330。頁面1300 不僅可包括已測試且已確定測試之結果為成功或失敗之測試,亦可包括仍處於執行中之測試。 Page 1300 may be a page showing the results of testing differences between pages and errors contained within them. For example, page 1300 may include the results of multiple tests, including a first test 1310, a second test 1320, and a third test 1330. Page 1300 may include not only tests that have been tested and have been determined to be successful or failed, but also tests that are still being executed.

又,頁面1300可包括各測試之實行之結果資訊之頁面的入口點。例如,隨著藉由圖標1321接收用戶輸入,電子裝置100可提供包括第2測試1320之實行之結果資訊之報告。 Furthermore, page 1300 may include an entry point to a page containing information about the results of each test. For example, upon receiving user input via icon 1321 , electronic device 100 may provide a report containing information about the results of the second test 1320 .

圖14係用以說明包括測試之實行之結果資訊之頁面的圖。 Figure 14 is a diagram illustrating a page including information on the results of a test run.

根據一實施例,電子裝置100可藉由主線程對第1頁面與第2頁面之差異實行測試,並可提供包括其結果資訊之頁面1400。 According to one embodiment, the electronic device 100 can perform a test on the difference between the first page and the second page using the main thread and provide a page 1400 including the result information.

例如,頁面1400可包括與差異結果之詳細頁面對應之第1入口點1410、與差異圖像之詳細頁面對應之第2入口點1420、及與Html報告之詳細頁面對應之第3入口點1430。對其之詳細說明將於圖15至圖19中詳細研究。 For example, page 1400 may include a first entry point 1410 corresponding to a detailed page of difference results, a second entry point 1420 corresponding to a detailed page of difference images, and a third entry point 1430 corresponding to a detailed page of an HTML report. A detailed description of these will be discussed in detail in Figures 15 to 19.

圖15係用以說明用以比較第1頁面與第2頁面之差異之比較圖像之圖。 Figure 15 is a diagram illustrating a comparison image for comparing the differences between Page 1 and Page 2.

根據一實施例,電子裝置100可提供包括藉由滑動圖標而顯示第1頁面與第2頁面之差異之比較圖像之報告。參照圖15,頁面1500之基線圖像可對應於第1頁面,頁面1500之測試圖像可對應於第2頁面。又,藉由滑動圖標而顯示之第1頁面與第2頁面之差異之比較圖像1510可如圖15所示生成。 According to one embodiment, electronic device 100 can provide a report including a comparison image showing the difference between page 1 and page 2 by sliding an icon. Referring to FIG. 15 , the baseline image of page 1500 may correspond to page 1, and the test image of page 1500 may correspond to page 2. Furthermore, a comparison image 1510 showing the difference between page 1 and page 2 by sliding an icon can be generated as shown in FIG. 15 .

例如,比較圖像1510之特徵可在於:彼此重疊地顯示與第1頁面對應之區域即第1區域1520、及與第2頁面對應之區域即第2區域1530。又,比較圖像1510之特徵可在於:藉由位於比較圖像1510中間之滑動圖標1540調節顯示第1區域1520及第2區域1530之比率。藉此,用戶 可隨著藉由比較圖像1510之滑動圖標1540來調節第1區域1520及第2區域1530顯示之比率,從而容易地抓取第1圖像與第2圖像之差異。更詳細而言,用戶可藉由比較圖像來抓取文本等之差異及JS、CSS格式等之顏色差異。 For example, comparison image 1510 may feature a first area 1520 corresponding to page 1 and a second area 1530 corresponding to page 2, displayed overlapping each other. Furthermore, comparison image 1510 may feature a slider icon 1540 located in the center of comparison image 1510 that allows the ratio of the displayed first area 1520 to the displayed second area 1530 to be adjusted. This allows the user to easily discern the difference between the first and second images by adjusting the ratio of the displayed first and second areas 1520 and 1530 using slider icon 1540 on comparison image 1510. More specifically, users can compare images to detect differences in text, JS, CSS, and other color differences.

圖16係用以說明第1圖像及第2圖像之圖。 Figure 16 is a diagram used to illustrate the first and second images.

根據一實施例,電子裝置100可基於第1頁面與第2頁面之差異,確認與第2頁面中包括之要素中對應之第1頁面之要素不同的第1要素,及提供包括顯示有第1要素之第2頁面報告。 According to one embodiment, based on the difference between the first page and the second page, the electronic device 100 can identify a first element that is different from the element included in the second page and the corresponding element on the first page, and provide a report on the second page that includes the first element.

參照圖16,電子裝置100可提供第1頁面1610及第2頁面1620。此時,第1頁面1610及第2頁面1620係與不同環境中之目標頁面對應之用戶介面,並且第1頁面1610中包括之第2要素與第2頁面1620中包括之第3要素可能存在差異。此處,第3要素可為與第2要素對應之要素。例如,第1頁面1610中包括之類別之第2要素1630與第2頁面1620中包括之類別之第3要素1640可不同。 Referring to FIG. 16 , electronic device 100 may provide a first page 1610 and a second page 1620 . Page 1610 and page 2 1620 are user interfaces corresponding to target pages in different environments, and the second element included in page 1610 and the third element included in page 2 1620 may differ. Here, the third element may be an element corresponding to the second element. For example, the second element 1630 of the category included in page 1610 may differ from the third element 1640 of the category included in page 2 1620 .

根據一實施例,電子裝置100可提供強調顯示第2頁面1620中包括之類別之第3要素1640之第2頁面1620。更詳細而言,電子裝置100可藉由圖3之selenium311而提供強調顯示類別之第3要素1640之第2頁面1620。 According to one embodiment, the electronic device 100 may provide a second page 1620 that emphasizes the third element 1640 of the category included in the second page 1620. More specifically, the electronic device 100 may provide a second page 1620 that emphasizes the third element 1640 of the category using Selenium 311 in FIG. 3 .

圖17係用以說明測試之實行之結果資訊即差異結果之圖。 Figure 17 is a graph used to illustrate the results of the test, namely the difference results.

根據一實施例,電子裝置100可提供測試之實行之結果資訊即差異結果1700。例如,電子裝置100可提供包括測試實行之錯誤資訊之差異結果1700。此處,差異結果1700可包括隨著執行不同環境中之頁面而產生之錯誤,錯誤可包括與第1頁面對應之第1控制台錯誤、與第2頁 面對應之第2控制台錯誤、頁面中包括之資源之加載錯誤中之至少一者。 According to one embodiment, electronic device 100 may provide test execution result information, namely, difference result 1700. For example, electronic device 100 may provide difference result 1700 including error information from the test execution. Here, difference result 1700 may include errors generated by executing pages in different environments. The errors may include at least one of a first console error corresponding to the first page, a second console error corresponding to the second page, and an error loading a resource included in the page.

例如,差異結果1700可包括1)Java腳本與串接式表單錯誤、2)其他資源錯誤、3)其他資源警告、4)文本比較錯誤、5)資源加載錯誤、6)現存控制台錯誤、及7)新控制台錯誤。參照圖17,Java腳本與串接式表單錯誤可有6個,為基於測試環境及基本環境中使用之資源不同而產生之錯誤。現存控制台錯誤可有1個,為基本環境或生產環境中產生之錯誤。又,新控制台錯誤可為隨著於測試環境中執行目標頁面而發現之錯誤。電子裝置100可對應於錯誤之用戶輸入,提供用戶輸入所接收之錯誤之詳細內容。 For example, difference results 1700 may include 1) Java script and inline form errors, 2) other resource errors, 3) other resource warnings, 4) text comparison errors, 5) resource loading errors, 6) existing console errors, and 7) new console errors. Referring to FIG17 , there may be six Java script and inline form errors, which are errors caused by the different resources used in the test environment and the base environment. There may be one existing console error, which is an error generated in the base environment or the production environment. Furthermore, new console errors may be errors discovered while executing the target page in the test environment. In response to an erroneous user input, the electronic device 100 may provide the user with detailed information about the error received during the input.

圖18係用以說明測試之實行之結果資訊即差異結果之圖。 Figure 18 is a graph used to illustrate the results of the test, namely the difference results.

根據一實施例,電子裝置100可於與第2頁面對應之第2源代碼中,確認不同於與第1頁面對應之第1源代碼之源代碼即第3源代碼,及提供包括顯示有第3源代碼之第2源代碼之報告。 According to one embodiment, the electronic device 100 can identify a third source code that is different from the first source code corresponding to the first page in the second source code corresponding to the second page, and provide a report including the second source code and displaying the third source code.

根據一實施例,電子裝置100可提供測試之實行之結果資訊即差異結果1800。電子裝置100可對應於文本比較錯誤1810之用戶之輸入,提供文本比較錯誤1810之詳細內容。 According to one embodiment, the electronic device 100 may provide test result information, namely, a difference result 1800 . In response to user input of the text comparison error 1810 , the electronic device 100 may provide detailed information about the text comparison error 1810 .

參照圖18,文本比較錯誤1810可包括與第1頁面對應之第1源代碼1820、及與第2頁面對應之第2源代碼1830。此時,電子裝置100可確認與第2頁面對應之第2源代碼1820中之不同於與第1頁面對應之第1源代碼1830的源代碼即第3源代碼。參照圖18,第3源代碼可包括源代碼1831、源代碼1832、源代碼1833、源代碼1834、源代碼1835及源代碼1836。例如,與源代碼1831對應之第1源代碼1820中包括之要素可為20%,與源代碼1831對應之第2源代碼1830中包括之要素可為不同於20% 之21%。此時,電子裝置100可強調第1源代碼1820中包括之要素20%及第2源代碼1830中包括之要素21%,並提供差異結果1800。 18 , text comparison error 1810 may include first source code 1820 corresponding to page 1 and second source code 1830 corresponding to page 2. Electronic device 100 may then identify a third source code in second source code 1820 corresponding to page 2 that is different from first source code 1830 corresponding to page 1. Referring to FIG. 18 , the third source code may include source code 1831, source code 1832, source code 1833, source code 1834, source code 1835, and source code 1836. For example, the first source code 1820 corresponding to source code 1831 may include 20% of the elements, while the second source code 1830 corresponding to source code 1831 may include 21%, which is different from 20%. In this case, electronic device 100 can emphasize the 20% elements included in first source code 1820 and the 21% elements included in second source code 1830 and provide difference results 1800.

圖19係用以說明測試之實行之Html報告之圖。 Figure 19 is an HTML report used to illustrate the implementation of the test.

根據一實施例,電子裝置100可提供包括測試之實行之結果資訊之Html報告1900。例如,Html報告1900可為第1頁面與第2頁面之差異、及第1頁面與第2頁面之執行之錯誤中之至少一者之測試的報告。Html報告1900可包括是否存在第1頁面與第2頁面之執行之錯誤之資訊。 According to one embodiment, electronic device 100 may provide an HTML report 1900 including test result information. For example, HTML report 1900 may be a test report of at least one of the difference between page 1 and page 2, and errors in the execution of page 1 and page 2. HTML report 1900 may include information on whether errors exist in the execution of page 1 and page 2.

例如,Html報告1900可包括表示如「網址加載成功,狀態為200ok!」1910等URL加載沒有錯誤之資訊。又,Html報告1900可與「獲取控制台日誌錯誤」、「獲取頁面上之所有圖像網址」及「獲取頁面上之所有文本」之步驟1920對應,包括顯示無錯誤之資訊「返回結果成功」1930。 For example, HTML report 1900 may include information indicating that the URL was loaded without errors, such as "URL loaded successfully, status 200 OK!" 1910. Furthermore, HTML report 1900 may correspond to steps 1920 of "Get console log errors," "Get all image URLs on the page," and "Get all text on the page," and include the message "Returned results successfully" 1930 indicating that there were no errors.

圖20係將一實施例之用以提供頁面報告之電子裝置圖式化所得之方塊圖。 Figure 20 is a block diagram illustrating an electronic device for providing page reports according to one embodiment.

圖20之電子裝置2000可對應於本申請說明書中之電子裝置100。 The electronic device 2000 in FIG. 20 may correspond to the electronic device 100 in this application specification.

根據一實施例,本發明之電子裝置2000可包括收發器2010、處理器2020及儲存器2030。由於圖20所示之構成要素於實現電子裝置方面並非必需,因此與本實施例相關之技術領域內具有常識者可理解本說明書中說明之電子裝置2000可具有較以上列舉之構成要素多或少的構成要素。另一方面,於實施例中,處理器2020可包括至少一個處理器。又,電子裝置100可藉由顯示部(未圖示)提供包括測試之實行之結果資訊之報告,但並不限定於此。 According to one embodiment, the electronic device 2000 of the present invention may include a transceiver 2010, a processor 2020, and a memory 2030. Since the components shown in FIG. 20 are not essential for implementing the electronic device, those skilled in the art will understand that the electronic device 2000 described herein may include more or fewer components than those listed above. Furthermore, in this embodiment, the processor 2020 may include at least one processor. Furthermore, the electronic device 100 may provide a report including test results information via a display (not shown), but is not limited thereto.

收發器2010可利用有線/無線通訊技術而與外部裝置進行通訊,並包括收發器2010。外部裝置可為終端或伺服器。又,收發器2010利用之通訊技術可包含GSM(global system for mobile communication,全球行動通訊系統)、CDMA(code division multi access,分碼多重存取)、LTE(long term evolution,長期演進)、5G(5th Generation Mobile Communication Technology,第五代行動通訊技術)、WLAN(wireless LAN,無線區域網路)、Wi-Fi(wireless-fidelity,無線保真)、藍牙(BluetoothTM)、RFID(radio frequency identification,無線射頻識別)、紅外線通訊(infrared data association,IrDA)、ZigBee、NFC,但並不限定於此。 Transceiver 2010 can communicate with an external device using wired or wireless communication technologies, and includes transceiver 2010. The external device can be a terminal or a server. Furthermore, the communication technologies used by transceiver 2010 may include, but are not limited to, GSM (global system for mobile communication), CDMA (code division multiple access), LTE (long term evolution), 5G (5th Generation Mobile Communication Technology), WLAN (wireless LAN), Wi-Fi (wireless fidelity), Bluetooth , RFID (radio frequency identification), infrared data association (IrDA), ZigBee, and NFC.

根據一實施例,收發器2010可將包括測試之實行之結果資訊之報告傳輸至外部之資料儲存器。又,收發器2010可自外部之資料儲存器或伺服器110接收基本環境之流量資料、及測試環境之流量資料。 According to one embodiment, transceiver 2010 can transmit a report including test result information to an external data storage. Furthermore, transceiver 2010 can receive traffic data of the basic environment and traffic data of the test environment from an external data storage or server 110.

處理器2020可控制電子裝置2000之整體動作並處理資料及信號。處理器2020可實行藉由圖1至圖19敍述之一種方法。處理器2020可藉由與收發器2010及儲存器2030、以及電子裝置2000可進而包括之構成要素之間的相互作用,而控制電子裝置2000實行之實施例。根據一實施例,處理器2020可確認目標頁面,確認基本環境及測試環境,基於頁面間比較之設定資訊,確認與基本環境中之目標頁面對應之第1頁面、及與測試環境中之目標頁面對應之第2頁面,實行第1頁面與第2頁面之差異、及第1頁面與第2頁面中包括之錯誤中之至少一者之測試,及提供包括測試之實行之結果資訊之報告。 Processor 2020 controls the overall operation of electronic device 2000 and processes data and signals. Processor 2020 can implement the methods described in Figures 1 through 19 . Processor 2020 controls the implementation of electronic device 2000 by interacting with transceiver 2010 and memory 2030 , as well as other components that electronic device 2000 may include. According to one embodiment, the processor 2020 may identify a target page, identify a base environment and a test environment, identify a first page corresponding to the target page in the base environment and a second page corresponding to the target page in the test environment based on configuration information for comparison between the pages, perform a test to detect at least one of differences between the first page and the second page and errors included in the first page and the second page, and provide a report including information on the results of the test.

儲存器2030可儲存用以實行藉由圖1至圖19敍述之上述至 少一個方法之資訊。儲存器2030可稱為記憶體,並且可為揮發性記憶體或非揮發性記憶體。又,儲存器2030可儲存實行處理器1520之動作所需之一個以上之命令,且可臨時儲存平台所儲存之資料或外部記憶體所儲存之資料。例如,儲存器2030可對應於圖3中之資料儲存器(Data Storage)350,但並不限定於此,資料儲存器350位於電子裝置2000之外部。 Memory 2030 can store information used to implement at least one of the methods described above with reference to Figures 1 through 19. Memory 2030 can be referred to as a memory and can be either volatile or non-volatile. Furthermore, memory 2030 can store one or more commands required to execute the actions of processor 1520 and can temporarily store data stored on the platform or in external memory. For example, memory 2030 may correspond to data storage 350 in Figure 3, but is not limited thereto. Data storage 350 is located external to electronic device 2000.

另一方面,本說明書及附圖揭示了本發明之較佳之實施例,雖然使用了特定用語,但其僅於一般意義上使用,以便於說明本發明之技術內容並幫助理解發明,而不旨在限定本發明之範圍。對於本發明所屬之技術領域內具有常識者而言,當然明白除了此處揭示之實施例之外,亦可基於本發明之技術思想實施其他變化例。 On the other hand, this specification and accompanying drawings disclose preferred embodiments of the present invention. Although specific terms are used, they are used in a general sense only to illustrate the technical content of the present invention and facilitate understanding of the invention, and are not intended to limit the scope of the present invention. Those skilled in the art will readily appreciate that in addition to the embodiments disclosed herein, other variations based on the technical principles of the present invention may be implemented.

上述實施例之電子裝置或終端可包括處理器、儲存並執行程式資料之記憶體、如磁碟機之永久儲存器(permanent storage)、與外部裝置進行通訊之通訊埠、如觸控面板、按鍵(key)、按鈕之用戶介面裝置等。藉由軟體模組或演算法實現之方法作為可於上述處理器上執行之電腦可讀代碼或程式命令,可儲存於電腦可讀記錄媒體上。此處,作為電腦可讀記錄媒體,有磁儲存媒體(例如,ROM(read-only memory,唯讀記憶體)、RAM(random-Access memory,隨機存取記憶體)、軟磁碟、硬磁碟等)及光學讀取媒體(例如,光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD,Digital Versatile Disc))等。電腦可讀記錄媒體分散於連接於網路之電腦系統,從而能夠以分散方式儲存電腦可讀代碼並執行。媒體可藉由電腦讀取,儲存於記憶體中,可於處理器中執行。 The electronic device or terminal of the above-mentioned embodiment may include a processor, a memory for storing and executing program data, a permanent storage such as a disk drive, a communication port for communicating with external devices, and a user interface device such as a touch panel, keys, or buttons. The method implemented by the software module or algorithm may be stored on a computer-readable recording medium as computer-readable code or program commands executable on the above-mentioned processor. Here, computer-readable recording media include magnetic storage media (e.g., ROM (read-only memory), RAM (random-access memory), floppy disks, hard disks, etc.) and optical readable media (e.g., compact disc read-only memory (CD-ROM) and digital versatile disc (DVD)). Computer-readable recording media are distributed across computer systems connected to a network, enabling the storage and execution of computer-readable code in a distributed manner. The media can be read by the computer, stored in memory, and executed by the processor.

本實施例可由功能塊構成及各種處理步驟表示。該等功能 塊可藉由執行特定功能之不同數量之硬體或/及軟體構成來實現。例如,實施例可採用能夠藉由一個以上之微處理器之控制或其他控制裝置而執行各種功能之積體電路構成,如記憶體、處理、邏輯(logic)、查找表(look-uptable)等。構成要素可藉由軟體程式或軟體元件而執行,與此相似,本實施例包括以資料結構、程序、常式或其他程式構成之組合實現之各種演算法,因此可藉由如C、C++、Java、組譯程式(assembler)、Python等程式設計或腳本語言來實現。於功能方面而言,可藉由在一個以上之處理器中執行之演算法來實現。又,本實施例可採用先前技術來進行電子環境設定、信號處理及/或資料處理等。「機制」、「元件」、「機構」、「構成」等用語可廣泛地使用,並不限定於機械及物理構成。上述用語可與處理器等關聯而包括軟體之一系列處理(routines)之含義。 This embodiment can be represented by functional blocks and various processing steps. These functional blocks can be implemented using various hardware and/or software components that perform specific functions. For example, an embodiment can be implemented using integrated circuits that can perform various functions, such as memory, processing, logic, and lookup tables, controlled by one or more microprocessors or other control devices. Components can be implemented using software programs or software components. Similarly, this embodiment includes various algorithms implemented using combinations of data structures, programs, routines, or other program components. Therefore, they can be implemented using programming or scripting languages such as C, C++, Java, assemblers, and Python. Functionally, this can be achieved through algorithms executed on one or more processors. Furthermore, this embodiment can utilize existing technologies for electronic environment configuration, signal processing, and/or data processing. Terms such as "mechanism," "element," "mechanism," and "configuration" are used broadly and are not limited to mechanical or physical configurations. These terms can be associated with processors and include software routines.

上述實施例僅為一示例,可於下文敍述之發明申請專利範圍內實現其他實施例。 The above embodiment is merely an example, and other embodiments may be implemented within the scope of the invention application described below.

S210:步驟S220:步驟S230:步驟S240:步驟S250:步驟S210: Step S220: Step S230: Step S240: Step S250: Step

Claims (12)

一種提供頁面報告之方法,其係藉由電子裝置而進行者,其包括如下步驟:確認目標頁面;確認基本環境及測試環境;基於頁面間比較之設定資訊,確認與上述基本環境中之上述目標頁面對應之第1頁面、及與上述測試環境中之上述目標頁面對應之第2頁面;實行上述第1頁面與上述第2頁面之差異、及上述第1頁面與上述第2頁面中包括之錯誤中之至少一者之測試;及提供包括上述測試之實行之結果資訊之報告,其中確認上述基本環境及上述測試環境之步驟包括如下步驟:基於與藉由批次收集之上述基本環境之流量資料對應之訪問次數,確認上述訪問次數為設定之第一臨界值以上之上述基本環境;及基於與藉由線上收集之上述測試環境之流量資料對應之訪問次數,確認上述訪問次數為設定之第二臨界值以上之上述測試環境。A method for providing a page report, which is performed by an electronic device, includes the following steps: confirming a target page; confirming a basic environment and a test environment; confirming a first page corresponding to the target page in the basic environment and a second page corresponding to the target page in the test environment based on setting information for comparison between the pages; performing a test on at least one of a difference between the first page and the second page, and an error included in the first page and the second page. ; and providing a report including information on the results of the implementation of the above-mentioned test, wherein the steps of confirming the above-mentioned basic environment and the above-mentioned test environment include the following steps: based on the number of visits corresponding to the traffic data of the above-mentioned basic environment collected through batches, confirming that the above-mentioned number of visits is above the set first critical value for the above-mentioned basic environment; and based on the number of visits corresponding to the traffic data of the above-mentioned test environment collected through online, confirming that the above-mentioned number of visits is above the set second critical value for the above-mentioned test environment. 如請求項1之提供頁面報告之方法,其中上述設定資訊包括自上述頁面間比較中排除上述頁面中包括之要素中之第1要素之資訊、及將上述頁面中包括之要素中之第2要素包括於上述頁面間比較之資訊中之至少一者。A method for providing a page report as claimed in claim 1, wherein the setting information includes at least one of information of excluding a first element among the elements included in the page from the comparison between the pages, and information of including a second element among the elements included in the page in the comparison between the pages. 如請求項2之提供頁面報告之方法,其中上述第1頁面及上述第2頁面為不包括上述第1要素但包括上述第2要素之頁面。The method for providing a page report as claimed in claim 2, wherein the first page and the second page are pages that do not include the first element but include the second element. 如請求項1之提供頁面報告之方法,其中實行上述測試之步驟包括如下步驟:基於上述測試之測試設定資訊,實行上述第1頁面及上述第2頁面之A/B測試。The method for providing a page report as recited in claim 1, wherein the step of performing the test comprises the following steps: performing an A/B test on the first page and the second page based on the test setting information of the test. 如請求項1之提供頁面報告之方法,其中確認上述第1頁面及上述第2頁面之步驟包括如下步驟:利用第1線程及第2線程來並行地確認上述第1頁面及上述第2頁面;實行上述測試之步驟包括如下步驟:藉由主線程對上述第1頁面與上述第2頁面之差異實行測試。The method for providing a page report as claimed in claim 1, wherein the step of confirming the first page and the second page comprises the following steps: using the first thread and the second thread to confirm the first page and the second page in parallel; and the step of performing the test comprises the following steps: performing a test on the difference between the first page and the second page by the main thread. 如請求項1之提供頁面報告之方法,其中提供上述報告之步驟包括如下步驟:提供包括藉由滑動圖標顯示上述第1頁面與上述第2頁面之差異之比較圖像之上述報告。A method for providing a page report as claimed in claim 1, wherein the step of providing the above-mentioned report includes the following step: providing the above-mentioned report including a comparison image showing the difference between the above-mentioned first page and the above-mentioned second page by a sliding icon. 如請求項1之提供頁面報告之方法,其中提供上述報告之步驟包括如下步驟:基於上述第1頁面與上述第2頁面之差異,確認與上述第2頁面中包括之要素中對應之上述第1頁面之要素不同的第1要素;及提供包括顯示有上述第1要素之上述第2頁面之上述報告。A method for providing a page report as claimed in claim 1, wherein the step of providing the above-mentioned report includes the following steps: based on the difference between the above-mentioned first page and the above-mentioned second page, confirming that the first element is different from the element included in the above-mentioned second page that corresponds to the element of the above-mentioned first page; and providing the above-mentioned report including the above-mentioned second page displaying the above-mentioned first element. 如請求項1之提供頁面報告之方法,其中提供上述報告之步驟包括如下步驟:於與上述第2頁面對應之第2源代碼中,確認與上述第1頁面對應之第1源代碼不同之源代碼即第3源代碼;及提供包括顯示有上述第3源代碼之上述第2源代碼之上述報告。A method for providing a page report as claimed in claim 1, wherein the step of providing the above-mentioned report includes the following steps: confirming, in the second source code corresponding to the above-mentioned second page, a source code that is different from the first source code corresponding to the above-mentioned first page, namely a third source code; and providing the above-mentioned report including the above-mentioned second source code displayed with the above-mentioned third source code. 如請求項1之提供頁面報告之方法,其中上述錯誤包括與第1頁面對應之第1控制台錯誤、與第2頁面對應之第2控制台錯誤、頁面中包括之資源之加載錯誤中之至少一者。A method for providing a page report as claimed in claim 1, wherein the error comprises at least one of a first console error corresponding to the first page, a second console error corresponding to the second page, and a loading error of a resource included in the page. 如請求項1之提供頁面報告之方法,其中上述第1頁面與上述第2頁面之差異包括上述頁面間之圖像、文本及資源之差異中之至少一者。The method for providing a page report of claim 1, wherein the difference between the first page and the second page includes at least one of a difference in images, text, and resources between the pages. 一種電子裝置,其係用以提供頁面報告者,其包括:收發器;儲存器,其儲存有一個以上之命令;及處理器,其確認目標頁面;確認基本環境及測試環境;基於頁面間比較之設定資訊,確認與上述基本環境中之上述目標頁面對應之第1頁面、及與上述測試環境中之上述目標頁面對應之第2頁面;實行上述第1頁面與上述第2頁面之差異、及上述第1頁面與上述第2頁面中包括之錯誤中之至少一者之測試;及提供包括上述測試之實行之結果資訊之報告,其中上述處理器進一步經組態以:基於與藉由批次收集之上述基本環境之流量資料對應之訪問次數,確認上述訪問次數為設定之第一臨界值以上之上述基本環境;及基於與藉由線上收集之上述測試環境之流量資料對應之訪問次數,確認上述訪問次數為設定之第二臨界值以上之上述測試環境。An electronic device for providing a page report includes: a transceiver; a memory storing one or more commands; and a processor for identifying a target page; identifying a basic environment and a test environment; identifying a first page corresponding to the target page in the basic environment and a second page corresponding to the target page in the test environment based on setting information for comparison between the pages; performing a comparison of the difference between the first page and the second page, and the difference between the first page and the second page. and providing a report including result information of the execution of the above-mentioned test, wherein the above-mentioned processor is further configured to: confirm the above-mentioned basic environment with the above-mentioned access number being above a set first critical value based on the access number corresponding to the traffic data of the above-mentioned basic environment collected by batch; and confirm the above-mentioned test environment with the above-mentioned access number being above a set second critical value based on the access number corresponding to the traffic data of the above-mentioned test environment collected by online. 一種非暫時性電腦可讀記錄媒體,其記錄有用以於電腦中執行如請求項1之方法之程式。A non-transitory computer-readable recording medium records a program for executing the method of claim 1 on a computer.
TW112134589A 2022-09-14 2023-09-12 Electronic device and method for providing a report on a page, and non-transitory computer-readable recording medium for performing the method TWI900887B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2022-0115529 2022-09-14
KR1020220115529A KR20240036911A (en) 2022-09-14 2022-09-14 Method and appartus for providing a report about page

Publications (2)

Publication Number Publication Date
TW202418111A TW202418111A (en) 2024-05-01
TWI900887B true TWI900887B (en) 2025-10-11

Family

ID=90275362

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112134589A TWI900887B (en) 2022-09-14 2023-09-12 Electronic device and method for providing a report on a page, and non-transitory computer-readable recording medium for performing the method

Country Status (3)

Country Link
KR (1) KR20240036911A (en)
TW (1) TWI900887B (en)
WO (1) WO2024058295A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227498A1 (en) * 2012-02-13 2015-08-13 Accenture Global Services Limited Browser and operating system compatibility
US20160147641A1 (en) * 2014-11-24 2016-05-26 Syntel, Inc. Cross-browser web application testing tool
TW202040404A (en) * 2018-12-14 2020-11-01 添文 范 Methods, systems, and media for detecting alteration of a web page
KR102234562B1 (en) * 2020-10-14 2021-03-31 랜드소프트 주식회사 Method, server and system for constructing web site automatically

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5225369B2 (en) * 2010-12-21 2013-07-03 ヤフー株式会社 Web page evaluation apparatus and Web page evaluation method
JP7115342B2 (en) * 2019-01-31 2022-08-09 日本電信電話株式会社 Debugging support system and debugging support method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150227498A1 (en) * 2012-02-13 2015-08-13 Accenture Global Services Limited Browser and operating system compatibility
US20160147641A1 (en) * 2014-11-24 2016-05-26 Syntel, Inc. Cross-browser web application testing tool
TW202040404A (en) * 2018-12-14 2020-11-01 添文 范 Methods, systems, and media for detecting alteration of a web page
KR102234562B1 (en) * 2020-10-14 2021-03-31 랜드소프트 주식회사 Method, server and system for constructing web site automatically

Also Published As

Publication number Publication date
KR20240036911A (en) 2024-03-21
WO2024058295A1 (en) 2024-03-21
TW202418111A (en) 2024-05-01

Similar Documents

Publication Publication Date Title
US20250004935A1 (en) System and method for automated generation of mobile device application testing sequences
US20240037020A1 (en) System and Method for Automated Software Testing
US20210081294A1 (en) Processing screenshots of an application user interface to detect errors
CN109739717B (en) A method, device and server for collecting page data
US9864678B2 (en) Automatic risk analysis of software
US7930636B2 (en) Systems, methods and computer products to automatically complete a GUI task
US20210081308A1 (en) Generating automated tests based on user interaction with an application
US20190188119A1 (en) System and a method for providing automated performance detection of application programming interfaces
US9575873B2 (en) Software testing system and method
US20130054792A1 (en) Cloud-based performance testing of functionality of an application prior to completion of development
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
US20210081309A1 (en) Mapping interactive elements in an application user interface
JP6861880B1 (en) Generation device, generation method and generation program
CN107368418B (en) Traversal test method, device and medium
CN115904930A (en) End-user device testing of websites and applications
WO2023220902A1 (en) User interface testing methods and apparatus
JP6830701B1 (en) Test support device, test support program, and test support method
TWI900887B (en) Electronic device and method for providing a report on a page, and non-transitory computer-readable recording medium for performing the method
JP6739599B1 (en) Information processing program, information processing method, and information processing apparatus
JP5747751B2 (en) Regression test support program and regression test support device
JP6798050B1 (en) Generator, generation method and generation program
TWI898252B (en) Method and apparatus for providing code test and non-transitory computer-readable recording medium for performing the method
JP2013218381A (en) Software evaluation support device and program
CN113282480A (en) Software development testing method and system
CN111508601A (en) An information management device and information configuration method