# How to do Doubleclick Element on SAP GUIShell using Robot Framework?

**URL:** <https://forum.robotframework.org/t/how-to-do-doubleclick-element-on-sap-guishell-using-robot-framework/1082>\
**Category:** Libraries\
**Created:** [8 December 2020 14:25 UTC](https://forum.robotframework.org/t/how-to-do-doubleclick-element-on-sap-guishell-using-robot-framework/1082 "2020-12-08T14:25:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseilton](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@joseilton](https://forum.robotframework.org/u/joseilton)\
**Post date:** [8 December 2020 14:25 UTC](https://forum.robotframework.org/t/how-to-do-doubleclick-element-on-sap-guishell-using-robot-framework/1082/1 "2020-12-08T14:25:33Z")

</div>

I am trying to automate my work in SAP using the Robot Framework with the SapGuiLibrary, but at the moment I’m having difficulties executing the _Doubleclick Element_ command on a shell object.

After inspecting the object with Script Tracker I found the lines below:

```python
session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").setCurrentCell 2,"STRAS"
session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").selectedRows = "2"
session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell").doubleClickCurrentCell

```

The command asks for 3 parameters:

```python
Doubleclick Element element_id item_id column_id

```

So I put like this:

```python
Doubleclick Element wnd[0]/usr/cntlGRID1/shellcont/shell 2 STRAS

```

But it dind’t work as you can see below:

```python
AttributeError: <unknown>.doubleClickItem

```

So what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [10 December 2020 09:20 UTC](https://forum.robotframework.org/t/how-to-do-doubleclick-element-on-sap-guishell-using-robot-framework/1082/2 "2020-12-10T09:20:55Z")

</div>

Only location in sapguilibrary where “doubleClickItem” is called is here:

> <https://github.com/frankvanderkuur/robotframework-sapguilibrary/blob/master/SapGuiLibrary/SapGuiLibrary.py#L155>

if that line throws AttributeError, the chances are that findById does not return valid element or that element is not double-clickable ?
