python - Move back to running instance of browser -


i'm working on robot framework (selenium2library). in test case, i've perform functionality on browser instance ( web application) , functionality on desktop application (here i'm using uft). i'm executing vbs script execute uft (automation tool). i'm doing , handling flow browser desktop application. once task of desktop application ended, should move current instance of browser (focus on web application). tried select window keyword. no luck. there way move instance of browser? note: browser instance executing test case in background. want on foreground.

inject javascript alert , handle it, browser active on desktop.

something

javascriptexecutor js = (javascriptexecutor) driver;  js.executescript("alert('ok')") 

and handle it.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -