Farinaz
9 years agoContributor
Close the pop up or change failed icon to pass
Hi; I have a keyword test which in one step must to close the windows that open in pop up but in playback could not close the pop up windows and test was failed because can not click button close in pop up window. I convert keyword test to script and change the step to : browser["Close"]() and browser["BrowserWindow"]["Close"](5000); but did not work. when I use Aliases["browser"]["pageRegistercredit"]["Close"](); the pop up browser was closed but result of test is failed. I want a solution to change result of test to success because in this situation exactly the test was pass but TC show the test failed. Or do you know any script to solve my issue and close pop up windows successfuly?