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...
Here is a working solution for choosing a date from a datepicker using robot framework. Datepickers are basically input tags but some of them have an extra attribute "readonly" due to which it becomes difficult to add date into it.  1)First C...
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,...
I need to retrieve the day of the week from the date. For example: 10/01/2017 corresponds to Tuesday. I'm using Robot Framework in which I can integrate javascript or python langage. Any help please?...
I am doing GUI automation of my website via Selenium (RobotFramework). The problem I am facing is:  When my automation script clicks on some element (button,link etc) which is supposed to perform some action, it dose nothing. This happening randomly....
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...
I'm having a hard time trying to use Execute Javascript  driver.findElement(By.xpath in Robot Framework  I have no issues updating the value of an element using this JS method below  document.getElementById("Some_ID").value = "Some Va...
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:...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.