WebUI.click(findTestObject(‘test/delivery_option’))
WebUI.click(findTestObject(‘test/credit_option’))
WebUI.waitForElementClickable(findTestObject(‘test/button_checkout’), 10)
WebUI.click(findTestObject(‘test/button_checkout’))
WebUI.delay(5)
WebUI.waitForElementPresent(findTestObject(‘test/orderInfo_continue_btn’), 10)
WebUI.focus(findTestObject(‘test/orderInfo_continue_btn’))
WebUI.click(findTestObject(‘test/orderInfo_continue_btn’), FailureHandling.STOP_ON_FAILURE)
WebUI.delay(10)
in this scenario.when i click button_checkout ,environment will turn to next page at current window.orderInfo_continue_bnt is next page object.
i can see environment UI in site ,it has been failed in WebUI.click(findTestObject(‘test/delivery_option’)) step ,but in log view ,i see it has been run with WebUI.focus(findTestObject(‘test/orderInfo_continue_btn’)) step ,and display error ;can not find orderInfo_continue_btn.how i can solver this scenario.