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
-1
votes
1 answer

Is there any way to do spell check in textarea using robotics framework

Text area got from web page: our feedback will definitely help us, thanks for writing. Regret that the product was damaged. Serving our customers is our first priority. We take the unconditional responsibility in terms of packaging our products.…
Shailesh
  • 21
  • 2
  • 4
-1
votes
1 answer

Finding locator by text?

I would like to know if there is a way to get locator for any text in robot framework ? I am using Robot Framework with Selenium2Library. Scenario example : Suppose I have message "Hello" on my page and its position keeps on changing when new…
-1
votes
1 answer

Handling mozilla firefox download box through robot framework using Selenium2Library

Page Should Contain Button xpath = /html/body/blockquote/form/p/input Click Button xpath = /html/body/blockquote/form/p/input Confirm Action The 'Confirm Action' keyword is supposedly used to select OK in an alert box, which is…
SAM Jr
  • 32
  • 6
-1
votes
2 answers

Conditionally incrementing a variable in Robot Framework

Below is my script : increment ${delCount}= Set Variable 0 :FOR ${loopIndex} INRANGE 0 8 \ Log ${loopIndex} \ ${delCount}= Run Keyword If '${loopIndex}'=='${3}' Run Keywords ${delCount+3} \ …
Prasath Govind
  • 720
  • 2
  • 10
  • 30
-1
votes
1 answer

I cannot seem to handle dropdown from Robot Framework. I am using Selenium2Library and Python2.7

I already tried *select from list* methods but to no avail (It always cannot find the element). Please see the screenshot here and help me in handling it. I want to select DELHI option from the Payment Location dropdown options Similarly how to…
Sammy
  • 25
  • 2
  • 11
-1
votes
1 answer

Can't press enter in selenium2library

I'm trying to make a test that will open Facebook, log in and search something. However I'm having trouble getting Facebook to search. Selenium types whatever it needs in the search bar, but I can't find how to locate the search button or press the…
-1
votes
1 answer

Automating a test case in Robot Framework

I am trying to automate a test case in robot framework in which we are trying go to this link https://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all and write a query in query editor. I am not able to do write query in query editor.…
Ishan mahajan
  • 336
  • 1
  • 5
  • 15
-3
votes
1 answer

Not able to Import Selenium2Library in a robot file

Below image is the sample reference of the robot code I have written. I have imported Selenium2Library, there were no errors but in test case section of Robot framework its not getting recognized. Sample Robot Code clearly, under settings section,…
-3
votes
1 answer

I am trying to click a button/element on a popup window using Selenium2Library in Robotframework .But I get the following error in Robotframework

I am trying to click a button/element on a popup window using Selenium 2 Library in Robot framework, but I get an error. This is the code: Test Click Like Wait Until Page Contains Element //iframe[@title="Facebook Social Plugin"] Select…
1 2 3
15
16