Category : robotframework

I have created a toggle button which holds webcomponent with text field and text area.I can hide this webcomponent and is working fine but when I tried to test it using robot testing and Page Should Contain Element locator = ${basePath}.querySelector("div[class=’classname’]"),Test is failing.Do I have any other alternatives other than "Page Should Contain Element" for ..

Read more

About Web Application Under Test: Application is developed using Angular JS and React. Problem: Using Robot Framework from home page, navigated to other page. Page is partially loaded and some of the components are not loaded.(Page is developed using both angular and react code) Settings Used: Below chrome options are used to launch a browser ..

Read more

I am trying to perform e2e tests on localhost application from a docker container. E2E test built using robot framework and it is containerized with the help of base image ppodgorsek/robot-framework:latest. Tests inside docker container points to URL http://host.docker.internal:4200/. Angular application is started using command ng serve –disable-host-check. But I am receiving error localhost refused ..

Read more

I am using Robot framework and using SeleniumLibrary and AngularJSLibrary. I have a login page which is no angular but subsequent pages has angular. When i run my end to end test that is built using robotframework, it lanches the login page however it is doing nothing and failed. Error message: JavascriptException: Message: javascript error: ..

Read more

I need to locate an element with the RobotFramework but the script is failing. I have already increased the timeout but the problem still persist. Wait Until Element Is Visible | /html/body/div[2]/div[2]/div[1]/div[2]/div/div[9] | timeout=25 Getting error: Element ‘/html/body/div[2]/div[2]/div[1]/div[2]/div/div[9]’ not visible after 25 seconds. Source:..

Read more

I am trying to test some search function in a webpage. and if no result return, the page shows text “no result“. I can see the text, but my test code can’t get the value. I tried document.querySelector(“div[class=’bold ng-binding’]”).text; document.querySelector(“div[class=’bold ng-binding’]”).innerHTML; document.querySelector(“div[class=’bold ng-binding’]”).value; Nothing works. it always returns “None”. The Element looks like this: <div ..

Read more