I've been currently studying about Web Automation using Robot Framework. I want to start a chrome browser with Run as different user. Is there any way to start a new chrome session with the option 'Run as different user' in Robot Framework?
Related
I'm writing a series of tests with Robot Framework, that involve the supposed user closing the web browser (Chrome) during a session of the tested web-service and then re-opening the browser, automatically resuming the session.
My issue is, that with the Close Browser - Open Browser -combination in Robot Framework a fresh browser is always opened every time, and thus the user is logged out of the service and session is ended.
I tried getting and adding the cookies with the built-in Selenium keywords, but I was unable to resume the session that way. Doing the task manually works as intended.
Apparently it is not possible to attach Selenium to an existing browser session created launched for example by a custom Python keyword.
Is this something that is possible in Robot Framework and what kind of solution should I look for? Thank you.
I have repo on ADO for selenium Scrip ,and we are using ADO pipeline for for execute automation. I m struggling for Browser Mode automation where I m expecting to see automation action on web page like clicking button etc.
By Default ADO configure as headless mode
Could you please suggest what I need made changes for browser mode in ADO(Just like we run automation using Jenkins and we can see all action based on our configuration )
My usecase involves both Web and mobile devices automation in sequence. The automation flow has certain actions and verifications to be done on Web and later the actions and verifications are to be done on Mobile.
The desired capabilities allow us to select either Chrome or Appium. Is there an example where I can start both Chrome browser and emulator together and run the tests through Serenity and Cucumber?
I've a test where it handles login system popup using Robot of Java. But because of some issues, other applications or browser instance come to front and Robot could not perform actions on system popup of Windows.
Hence before interacting with system popup using Robot, I want to bring that browser to front on machine. I tried following but it did not help -
((JavascriptExecutor)driver).executeScript("window.focus();");
Could you please suggest how I can bring it to the front?
i integrated my selenium scripts (using junit) with Hudson. i invoked my job through ant . My problem was my scripts are running successfully but the fire fox browser is not getting opened. At this moment i am not using selenium grid .please provide any suggestion
Check whether you run Hudson as a service using your own account. If you want to see Firefox browser you must select Local System Account as a service runner (Log on option in service properties) Then there is a possibility to check interact with desktop checkbox and it makes browser "visible" while running your tests.