robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Is it possible to run Selenium IDE test case in robotframework #23

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by kkreddy1... on 27 Jan 2009

What steps will reproduce the problem? 1.Record playback option is not there in robotframework. It is difficult to write the test cases in keyword-driven for Robot framework(Selenium IDE having record/palyback options) 2.I would like to run the Selenium IDE test cases directly with Robot framework. If not possible, let me know the alternative solution for the above mentioned issue 3.

What is the expected output? What do you see instead? Robot framework needs to be record/playback option or Selenium IDE test cases can be executed directly from Robot framework

What version of the product are you using? On what operating system? robotframework Version : robotframework-2[1].0.3
Operating system : Windows XP Please provide any additional information below.

Currently I am using Selenium IDE and Robot framework test automation tools for my project. I have some questions regarding the above mentioned two automation tools. Here are the questions

1- Is it possible to run Selenium IDE test case in Robot framework? If possible, please let me know the procedure 2- If not possible, please let me know the alternative solution if any. 3- Is it possible for record and play back the test cases with Robot framework instead of writing test cases manually? (Record and playback option is available in Selenium IDE)

spooning commented 9 years ago

Originally submitted to Google Code by kkreddy1... on 28 Jan 2009

Please take it as high importance.

spooning commented 9 years ago

Originally submitted to Google Code by @yanne on 13 May 2009

1 and 2) You can export the Selenium IDE script as a Python file, and execute it through Robot using OperatingSystem keyword Run. (See http://robotframework.googlecode.com/svn/tags/robotframework-2.1/doc/libraries/OperatingSystem.html#Run for details). However, in this case you only get PASS/FAIL information based on return code, and not any details of the executed steps or failures therein.

3) Robot Framework does not support record and playback

While it could be possible to implement functionality that would somehow convert Selenium IDE scripts to actual Robot Framework test cases, I think the effort is too big for the achieved benefit, so we won't investigate it further.

spooning commented 9 years ago

Originally submitted to Google Code by nkc24nk... on 7 Aug 2012

How to use operatingsyste keyword to run py file from selenium script ?

I have use keyword "Run" to execute py file, report is pass, but not really run py file.

The log is :

INFO Running command 'F:\ttt.py 2>&1'

Can someone tell me why?