Re: step by step with robot framework. How to use robot framework with PHP. help me please!

1,019 views
Skip to first unread message

Tatu Aalto

unread,
May 24, 2013, 7:06:26 AM5/24/13
to phuocd...@gmail.com, robotframe...@googlegroups.com
Ugh

There is demo page [1] that gives an example how to use Robot with web
pages. Reading that should lead on right track. Also there are examples
and links in robot framework page [2].

-Tatu
[1] https://bitbucket.org/robotframework/webdemo/wiki/Home
[2] http://robotframework.org/


On 24.5.2013 12:58, Phước Đặng wrote:
> i start to study robot framework, i read document, see demo but i dont
> know use it. Can you help me to how to use robot frame work step by
> step. Can I use robot framework with php ? Help me early, please! --
> You received this message because you are subscribed to the Google
> Groups "robotframework-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to robotframework-u...@googlegroups.com.
> To post to this group, send email to
> robotframe...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/robotframework-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

David

unread,
May 24, 2013, 6:57:47 PM5/24/13
to robotframe...@googlegroups.com
What do you mean use RobotFramework with PHP?

* Use it to test a PHP-based website or web app?
* Use it with PHP libraries or PHP code (e.g. keywords written in PHP)?

If the former, it would work just fine. If the latter, you have 2 options:

* Call PHP scripts externally via RobotFramework Run keywords, which is similar to how you run PHP scripts from the shell or command line.
* Build a PHP remote server/library that will communicate with RobotFramework and execute PHP code. I was looking into this but never got around to building a generic server for this.

Tatu Aalto

unread,
May 27, 2013, 10:02:18 AM5/27/13
to Phước Đặng, robotframework-users
Ugh

Please follow the demo instructions how to run the demo [1].

-Tatu
[1] https://bitbucket.org/robotframework/webdemo/wiki/Home#rst-header-running-demo

On 27.5.2013 11:53, Phước Đặng wrote:
I downloaded and run demo but it error: " command: pybot.bat --argumentfile c:\users\whitee~1.whi\appdata\local\temp\RIDEagzamr.d\argfile.txt --listener C:\Python27\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:57628 C:\Python27\login_tests
[Error 2] The system cannot find the file specified"
Help me! 
thanks


2013/5/24 Tatu Aalto <aalto...@gmail.com>



--
Thanks and best regards
Đặng Thị Phước 
ĐT: 0974. 221. 535 hoặc 0904. 494. 468


Phước Đặng

unread,
Jun 2, 2013, 10:54:06 PM6/2/13
to robotframe...@googlegroups.com
Thank David so much. 
Perhap use RobotFramework witt PHP for options 2 so dificult. I know java or python not good, i only know it alittle. how to study RobotFramework well? i dont  use English, i write and read English not good. sad, discouraged!  i spent 3 week for this work, but i cant run it, although i read document, demo. hichic.





Vào 05:57:47 UTC+7 Thứ bảy, ngày 25 tháng năm năm 2013, David đã viết:

David

unread,
Sep 10, 2013, 3:52:37 AM9/10/13
to robotframe...@googlegroups.com
FYI, I eventually created a generic PHP remote server for Robot Framework. There is not a whole lot of detailed information as a tutorial for beginners, but at least there is some documentation/instructions and the source code is available. You could take a look and see if it is of any use to you.

To use it well, you would need to know how to work with remote servers/libraries with the (core) Robot Framework which runs in Python though your tests don't have to be written in Python.

Reply all
Reply to author
Forward
0 new messages