# How to access methods from object after it is saved in a variable

**URL:** <https://forum.robotframework.org/t/how-to-access-methods-from-object-after-it-is-saved-in-a-variable/5411>\
**Category:** Robot Framework\
**Created:** [8 March 2023 04:59 UTC](https://forum.robotframework.org/t/how-to-access-methods-from-object-after-it-is-saved-in-a-variable/5411 "2023-03-08T04:59:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pekkaklarck](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/pekkaklarck/32/1019_2.png) [@pekkaklarck](https://forum.robotframework.org/u/pekkaklarck)\
**Post date:** [8 March 2023 15:36 UTC](https://forum.robotframework.org/t/how-to-access-methods-from-object-after-it-is-saved-in-a-variable/5411/4 "2023-03-08T15:36:37Z")

</div>

Notice that simply using

```python
***Settings***
Library sing.py

***Test Cases***
Test
   ${word}= Name
   Log To Console ${word}

```

ought to work the same way. Unless you have some specific reason for your approach, this is a lot simpler.

---

_[View the full topic](https://forum.robotframework.org/t/how-to-access-methods-from-object-after-it-is-saved-in-a-variable/5411)._
