Questions tagged [selenium2library]

Selenium2Library is a web testing library for Robot Framework.

Selenium2Library is a web testing library for Robot Framework.

It uses the Selenium 2 (WebDriver) libraries internally to control a web browser. See http://seleniumhq.org/docs/03_webdriver.html for more information on Selenium 2 and WebDriver.

Selenium2Library runs tests in a real browser instance. It should work in most modern browsers and can be used with both Python and Jython interpreters.

234 questions
0
votes
1 answer

How to make log and report active in robot framework ride?

I noticed log and report of robot framework ride as inactive on machine which I am connecting remotely. Could you please tell me how to make this two icon active?
Shoaib Akhtar
  • 1,393
  • 5
  • 17
  • 46
0
votes
0 answers

How could I select only first element of a column.And all row value of the particular column are same.But I have to select only first value

Please help me by selecting the above Success only. I have tried the below: Element Text Should Be ${SUCCESS} Success Variable.txt ${SUCCESS} xpath = //*[@id='ctl00_PageBody_ViewCommandsGrid']/tbody/tr[2]/td[4] Error in RIDE: FAIL :…
Muddesir Ahmed
  • 171
  • 2
  • 9
0
votes
2 answers

How to input a float number using 'Input Text' from Selenium2Library

I have a field which requires me to input a float number on a free text field. I read the float number from excel. However, I could not input the float number as I keep getting this error "TypeError: object of type 'float' has no len()" Let say…
Belle
  • 1
  • 1
  • 4
0
votes
3 answers

Not able to select check box for dynamic input ID value

Below is the html for two check boxes, and my intention is to select a checkbox using it's label as 'XERU' or 'SYM'. In Robot Framework, the keyword 'Checkbox Should Be Selected' uses Key attributes; ID and name as it's locator, but here ID is…
0
votes
4 answers

How to handle dynamic elements using Robot Framework

I am currently working on the Robot Framework and using Selenium2Libraries to work on a Web Application. I'm working on a Form and I'm dealing with a dynamic elements which is an editable text area and drop down list.. I really hope someone would be…
0
votes
1 answer

"This Plug In not Supported" error in .swf player for the browser launched from Selenium2Library

I am using Selenium2Library for my project from last 2 years. Also, updating my library and browser on regular basis. Recently, I am encountering an issue where .swf files not loaded in browser which is launched by selenium. I am using latest Chrome…
0
votes
1 answer

Click Button in ExtendedSelenium2Library selects button very slow

I am using 'Click Button' from ExtendedSelenium2Library to select Login button on my login page. But is takes more than 12 seconds to select the Button. With Selenium2library it works immediately. I prefer using Extendedselenium2 instead of…
Smitha N
  • 21
  • 1
  • 6
0
votes
2 answers

Extending selenium2library WebElement in RobotFramework

I am new to RobotFramework (actually evaluating it for a new test automation project). In the past, I always created my own little framework using Java and page objects however this time I am wondering whether I can use an existing framework. I am…
0
votes
1 answer

how to upload file by robot framework without input type=file

Is It Possible for Selenium2Library? about upload file in some kind of website using upload like this http://www.dropzonejs.com/
K.Monkey
  • 3
  • 7
0
votes
1 answer

Automate desktop application in Robot framework using Selenium2Library

I want to automate desktop application using Selenium2Library in Robot framework. Is it possible to do?.If yes Please provide me the answer. Any suggestions on this question would be helpful. Thanks in advance.
Mohanapriya
  • 149
  • 1
  • 9
0
votes
1 answer

Open chrome browser in android, using robotframework

I try open chrome browser in my android, using robotframework with this script *** Settings *** Documentation A resource for global Library Selenium2Library timeout=15 *** Variable *** ${COMMAND_EXECUTOR} …
0
votes
3 answers

Selenium Robot framework - webdriverexception : geckodriver executable needs to be in path

could anyone help please, I have this code: *** Settings *** Library Selenium2Library *** Variables *** ${BROWSER} ff ${WEBSITE} http://www.google.com *** Test Cases *** Browser test [Documentation] Google site. [Tags] Tag. Open…
0
votes
0 answers

Chromedriver error on jenkins

i jave set up a jenkins project that would run our robot tests. Our robot tests are creating using selenium2library. since we are going to run the test on Chrome, i have downloaded the ChromeDriver and set it up in the test. that was a month ago and…
0
votes
1 answer

Robotframework and Selenium2Library - browser doesn't load page

I'm having a problem while I'm trying to open a browser. I'm writing tests in RIDE and when I run the test, the browser opens but doesn't display the page... The browser only displays a message: "the connection has timed out" Did anyone face this…
pingwin850
  • 299
  • 1
  • 7
  • 24
0
votes
2 answers

Importing Selenium2Library

Have got stuck importing Selenium2Library for Robotframework. When trying to validate my installation of Selenium2Library I get the following error in the Python shell >>> import Selenium2Library Traceback (most recent call last): File…