I am using Selenium 2 and Robot Framework to automate our application. I have used the below JavaScript code to scroll down the page but am not able to scroll.  I want to enter text inside the text box after scrolling down, but I am receiving the exc...
Is there a way to pass a WebElement to javascript in Robot? My script:  ${el} =    Get Webelement    ${locator} Execute Javascript    ${el}.checked = true;    #not sure how to approach this bit   I cannot use document.getElementById("whatever"...
I am trying the below code to take the control to bottom right of the page but it is not working in my case.  Execute JavaScript | window.scrollTo(900,-900);   I tried other coordinates too, but still no success. Is there any other way to achieve thi...
I'm creating some custom keywords for robotframework and I'm stuck on a problem.  I've got the following keyword that is working if I give javascript an argument, for example:  from robot.api.deco import keyword from robot.libraries.Built...
Currently I am trying to deal with dynamic content that is being added via a JavaScript Method. I wish to retrieve which content actually is being dynamically displayed, to check it via RobotFramework.  The frame that is written into is defined as:...
Bar Graph is generated on Web Page (developed using AngularJS) using data from database. Graph is created using CANVAS.     Once graph is completed loaded, if you click on Red part, it will open one pop-up which will have table containing the values...
Issue i'm having is that my browser is navigating to a web-page which is consistently tailing log in html. So RF is trying to wait until page is loaded. What i need to do is to stop this page. I can't do Execute JavaScript      window.stop();...
How can I convert a string like 10.000,50 to float number 10000.50 in robotframework  I try this   ParseFloat     [Arguments]    ${String}     Execute JavaScript    parseFloat(${String})  Replace     [Arguments]    ${str}     Execute JavaScript    (&...
There is a possibility to execute javascript from file.  Execute JavaScript    ${CURDIR}/js_to_execute.js   But how can I call a function by name from this file?...
I am trying to execute a jQuery via robot framework on the system under test. When i execute the following line on browsers console:   window.jQuery('--ELEMENT PATH--').val();   I am getting the value i'm looking for. But when i execute t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.