Technique for simulating an orientation change event in a test environment
    1.
    发明授权
    Technique for simulating an orientation change event in a test environment 有权
    在测试环境中模拟方向变化事件的技术

    公开(公告)号:US09355015B2

    公开(公告)日:2016-05-31

    申请号:US13627293

    申请日:2012-09-26

    Inventor: Nathan Wray

    CPC classification number: G06F11/3672 G06F11/3414 G06F2201/865

    Abstract: A computer-implemented method is presented for simulating an orientation change on a computing device in a test environment. The method includes: retrieving an orientation action from a test script, the test script defined in accordance with a scripting language and the orientation action specifying an angle of rotation to simulate; setting a value of a window orientation variable in a web browser, the value of the window orientation variable correlating to the angle of rotation specified by the orientation action; issuing a resize command to a window resize function supported by the web browser; and issuing a change orientation event to a rendering engine associated with the web browser.

    Abstract translation: 提出了一种计算机实现的方法,用于在测试环境中模拟计算设备上的方向改变。 该方法包括:从测试脚本检索取向动作,根据脚本语言定义的测试脚本以及指定要模拟的旋转角度的方向动作; 在Web浏览器中设置窗口方向变量的值,窗口方向变量的值与由定向动作指定的旋转角度相关; 向web浏览器支持的窗口大小调整功能发出resize命令; 以及向与所述web浏览器相关联的呈现引擎发布改变方向事件。

    TECHNIQUE FOR SIMULATING AN ORIENTATION CHANGE EVENT IN A TEST ENVIRONMENT
    2.
    发明申请
    TECHNIQUE FOR SIMULATING AN ORIENTATION CHANGE EVENT IN A TEST ENVIRONMENT 有权
    在测试环境中模拟方位变化事件的技术

    公开(公告)号:US20140089904A1

    公开(公告)日:2014-03-27

    申请号:US13627293

    申请日:2012-09-26

    Inventor: Nathan Wray

    CPC classification number: G06F11/3672 G06F11/3414 G06F2201/865

    Abstract: A computer-implemented method is presented for simulating an orientation change on a computing device in a test environment. The method includes: retrieving an orientation action from a test script, the test script defined in accordance with a scripting language and the orientation action specifying an angle of rotation to simulate; setting a value of a window orientation variable in a web browser, the value of the window orientation variable correlating to the angle of rotation specified by the orientation action; issuing a resize command to a window resize function supported by the web browser; and issuing a change orientation event to a rendering engine associated with the web browser.

    Abstract translation: 提出了一种计算机实现的方法,用于在测试环境中模拟计算设备上的方向改变。 该方法包括:从测试脚本检索取向动作,根据脚本语言定义的测试脚本以及指定要模拟的旋转角度的方向动作; 在Web浏览器中设置窗口方向变量的值,窗口方向变量的值与由定向动作指定的旋转角度相关; 向web浏览器支持的窗口大小调整功能发出resize命令; 以及向与所述web浏览器相关联的呈现引擎发布改变方向事件。

Patent Agency Ranking