<tfoot id='eEiMJ'></tfoot>
    • <bdo id='eEiMJ'></bdo><ul id='eEiMJ'></ul>
  • <small id='eEiMJ'></small><noframes id='eEiMJ'>

    <legend id='eEiMJ'><style id='eEiMJ'><dir id='eEiMJ'><q id='eEiMJ'></q></dir></style></legend>
    <i id='eEiMJ'><tr id='eEiMJ'><dt id='eEiMJ'><q id='eEiMJ'><span id='eEiMJ'><b id='eEiMJ'><form id='eEiMJ'><ins id='eEiMJ'></ins><ul id='eEiMJ'></ul><sub id='eEiMJ'></sub></form><legend id='eEiMJ'></legend><bdo id='eEiMJ'><pre id='eEiMJ'><center id='eEiMJ'></center></pre></bdo></b><th id='eEiMJ'></th></span></q></dt></tr></i><div id='eEiMJ'><tfoot id='eEiMJ'></tfoot><dl id='eEiMJ'><fieldset id='eEiMJ'></fieldset></dl></div>

        如何测试阻力&amp;AngularJS e2e 测试中的删除功能

        时间:2023-06-15

          <small id='NGGSv'></small><noframes id='NGGSv'>

              <legend id='NGGSv'><style id='NGGSv'><dir id='NGGSv'><q id='NGGSv'></q></dir></style></legend>
              • <bdo id='NGGSv'></bdo><ul id='NGGSv'></ul>
                <i id='NGGSv'><tr id='NGGSv'><dt id='NGGSv'><q id='NGGSv'><span id='NGGSv'><b id='NGGSv'><form id='NGGSv'><ins id='NGGSv'></ins><ul id='NGGSv'></ul><sub id='NGGSv'></sub></form><legend id='NGGSv'></legend><bdo id='NGGSv'><pre id='NGGSv'><center id='NGGSv'></center></pre></bdo></b><th id='NGGSv'></th></span></q></dt></tr></i><div id='NGGSv'><tfoot id='NGGSv'></tfoot><dl id='NGGSv'><fieldset id='NGGSv'></fieldset></dl></div>
                <tfoot id='NGGSv'></tfoot>
                    <tbody id='NGGSv'></tbody>
                1. 本文介绍了如何测试阻力&amp;AngularJS e2e 测试中的删除功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试测试我的应用程序,我需要将小部件从一个位置移动到另一个位置,换句话说,我需要测试拖动 &在端到端测试中删除功能.

                  I am trying to test my application where I need to move a widget from one location to other, in other word I need to test drag & drop functionality in an end to end test.

                  我将如何测试这个?

                  推荐答案

                  我也遇到了同样的问题.我的解决方案是在此处遵循 Selenium 问题中的建议:https://code.google.com/p/selenium/issues/detail?id=3604#c20

                  I had this same issue. The solution for me was to follow the advice in the Selenium issue here: https://code.google.com/p/selenium/issues/detail?id=3604#c20

                  从@nilsK 的示例开始,这是我的解决方案:

                  Starting with the example from @nilsK, here was my solution:

                  var yourOffset = {x:5,y:5};
                  ptor().actions()
                      .mouseMove(yourElement,yourOffset)
                      .mouseDown()
                      .mouseMove(yourElement,{x:0,y:0}) // Initial move to trigger drag start
                      .mouseMove(youTarget[,targetOffset]) // [] optional
                      .mouseUp()
                      .perform();
                  

                  我认为这也解决了这个问题

                  这篇关于如何测试阻力&amp;AngularJS e2e 测试中的删除功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何单击量角器中的隐藏元素? 下一篇:使用 Promise 配置多种功能

                  相关文章

                    <tfoot id='7vRqv'></tfoot>

                    <small id='7vRqv'></small><noframes id='7vRqv'>

                      <i id='7vRqv'><tr id='7vRqv'><dt id='7vRqv'><q id='7vRqv'><span id='7vRqv'><b id='7vRqv'><form id='7vRqv'><ins id='7vRqv'></ins><ul id='7vRqv'></ul><sub id='7vRqv'></sub></form><legend id='7vRqv'></legend><bdo id='7vRqv'><pre id='7vRqv'><center id='7vRqv'></center></pre></bdo></b><th id='7vRqv'></th></span></q></dt></tr></i><div id='7vRqv'><tfoot id='7vRqv'></tfoot><dl id='7vRqv'><fieldset id='7vRqv'></fieldset></dl></div>
                    1. <legend id='7vRqv'><style id='7vRqv'><dir id='7vRqv'><q id='7vRqv'></q></dir></style></legend>
                      • <bdo id='7vRqv'></bdo><ul id='7vRqv'></ul>