IP Library Granted Patent US 8,020,151
Granted Patent B2
US 8,020,151 · App. 11/831,152 · Granted Sep 13, 2011

Techniques for determining a web browser state during web page testing

Assignee: International Business Machines Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,020,151
App. No.
11/831,152
Granted
Sep 13, 2011
Kind
B2
Abstract

A technique for determining a browser state during a web page test includes providing, from a test automation tool, a first input to a web page provided via a browser. The technique also includes detecting, with a network monitoring tool, outgoing traffic from the browser associated with the first input and detecting, with the network monitoring tool, incoming traffic to the browser associated with a response to the first input. An indication is provided from the network monitoring tool to the test automation tool when the incoming traffic is detected by the network monitoring tool. Finally, the test automation tool provides a second input to the web page following the indication.

Claims (13)

1. A method of determining a browser state during a web page test, comprising:

providing, from a test automation tool executing on a client, a first input to a web page provided via a browser executing on the client, wherein the first input is derived from a first line of test code for the web page test;

detecting, with a network monitoring tool executing on the client, outgoing traffic from the browser associated with the first input;

detecting, with the network monitoring tool, incoming traffic to the browser associated with a response to the first input;

providing an indication from the network monitoring tool to the test automation tool when the incoming traffic is detected by the network monitoring tool, wherein the indication functions as an indicator of a browser ready state; and

providing, from the test automation tool, a second input to the web page in response to the indication, wherein the outgoing and incoming traffic correspond to XMLHttpRequest objects and the test automation tool is a graphical user interface test automation tool, and wherein the second input is derived from a second line of the test code; wherein the outgoing and incoming traffic are between the client and local extensible markup file.

2. The method of claim 1 , wherein the network monitoring tool is a TCP Tunnel tool or a Tcpdump tool.

3. A method of determining a browser state during a web page test, comprising:

providing, from a test automation tool executing on a client, a first input to a web page, wherein the web page is provided via a browser executing on the client and the first input is derived from a first line of test code for the web page test;

detecting, with a network monitoring tool executing on the client, incoming traffic to the browser, wherein the incoming traffic corresponds to a response to outgoing traffic from the browser, and wherein the outgoing traffic is associated with the first input;

providing an indication from the network monitoring tool to the test automation tool based on the incoming traffic, wherein the indication functions as an indicator of a browser ready state; and

providing, from the test automation tool, a second input to the web page in response to the indication, wherein the outgoing and incoming traffic correspond to XMLHttpRequest objects and the test automation tool is a graphical user interface test automation tool, and wherein the second input is derived from a second line of the test code; wherein the outgoing and incoming traffic are between the client and local extensible markup file.

4. The method of claim 3 , wherein the network monitoring tool is a TCP Tunnel tool or a Tcpdump tool.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 31, 2007
From: ALLEN, JOEL B.; GHILONI, JOSHUA D.; HAYUTIN, WES D.; KROVETZ, HOWARD S.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 019624/0887 →
Continuity (1)
Related Publication 20090037882A1 · Feb 5, 2009