<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Chris
I think you're… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/web-app-drag-drop-not-working/m-p/62241#M15396</link>
    <description>Hi Chris
I think you're going to need Surface Automation (Region mode) for this. I've done similar things, though not as specific as you need, but I found drag/drop to be a very brittle feature to use. I could not figure out how to make it work without using Surface Automation to locate a specific image (even a textual image works too) and then using&amp;nbsp;those coordinates as my starting drag location and then doing a little calc to decide what, for example, 40 pixels up would be for the drop.
If you're on Blue Prism 6+, this isn't very difficult. It's hard for me to remember the pain of SA in BP 5, and I really try not to think about it. But I think that's going to be a bit rougher in 5.
Respectfully,
Dave</description>
    <pubDate>Wed, 30 Jan 2019 07:17:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2019-01-30T07:17:00Z</dc:date>
    <item>
      <title>web app:  drag &amp; drop not working</title>
      <link>https://community.blueprism.com/t5/Product-Forum/web-app-drag-drop-not-working/m-p/62240#M15395</link>
      <description>I am automating a report in a web app.&amp;nbsp; One of the requirements is to select a column and drag it "up" to select it.&amp;nbsp; Think of what an Excel sheet looks like - drag Column A up by about 40 pixels, then release it.

I've spied the column name using both UI Automation Element and as html.&amp;nbsp; When I'm in Application Modeler and select Highlight, both spied resources show the column name being highlighted.

In my Object, I have a Navigate stage.&amp;nbsp; I add a step to Drag and another step to Drop.&amp;nbsp; For the X,Y options, I'm values within the screen bounds.&amp;nbsp; As an example, screen bounds is 370,286,324,555 (screen resolution is 1920x1080).&amp;nbsp;&amp;nbsp;

In my drag step, I'm using X=371,Y=287 (thinking this is inside the bounds of the column name).&amp;nbsp; For my drop step, I'm using X=371,Y=247 (which I think should move the column name up by 40 pixels - I'm currently guessing on the number of pixels I need to move the column name up).

As a human using the web app, I would left-click (hold), drag up, then release the left button to drop it.&amp;nbsp; This is how the web site lets a person add the column name to a filter.

When Blue Prism is executing my drag and drop, I see text being selected below the button or sometimes nothing at all.&amp;nbsp; If someone can let me know if I'm giving the correct X,Y for drag &amp;amp; drop?&amp;nbsp;&amp;nbsp;

Thanks in advance.</description>
      <pubDate>Tue, 29 Jan 2019 21:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/web-app-drag-drop-not-working/m-p/62240#M15395</guid>
      <dc:creator>ChrisRider</dc:creator>
      <dc:date>2019-01-29T21:58:00Z</dc:date>
    </item>
    <item>
      <title>Hi Chris
I think you're…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/web-app-drag-drop-not-working/m-p/62241#M15396</link>
      <description>Hi Chris
I think you're going to need Surface Automation (Region mode) for this. I've done similar things, though not as specific as you need, but I found drag/drop to be a very brittle feature to use. I could not figure out how to make it work without using Surface Automation to locate a specific image (even a textual image works too) and then using&amp;nbsp;those coordinates as my starting drag location and then doing a little calc to decide what, for example, 40 pixels up would be for the drop.
If you're on Blue Prism 6+, this isn't very difficult. It's hard for me to remember the pain of SA in BP 5, and I really try not to think about it. But I think that's going to be a bit rougher in 5.
Respectfully,
Dave</description>
      <pubDate>Wed, 30 Jan 2019 07:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/web-app-drag-drop-not-working/m-p/62241#M15396</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-01-30T07:17:00Z</dc:date>
    </item>
  </channel>
</rss>

