Waiting too long when redirecting to URL


#1

Hello guys,

When I run my test case, it sets the URL where I try to log in and when I hit the log in button, it takes too long to redirect me to another page. It doesn’t gives me any error. Do you have any ideas why it should take so much time to redirrect me to another page ?


#2

The way you describe the problem, makes it sound like the issue is in your AUT.

We need more information to help you.


#3
WebUI.openBrowser('URL')

WebUI.setText(findTestObject(username), 'test')

WebUI.setEncryptedText('Password'')

WebUI.verifyElementPresent(findTestObject('Log_In'), 1)

WebUI.click(findTestObject('Log_In'))

WebUI.waitForPageLoad(15)

WebUI.verifyElementPresent(findTestObject(button), 1)

WebUI.click(findTestObject('button'))

WebUI.waitForPageLoad(10)

This is how my script looks like.

Well when I try to Spy Web, it works fine and redirects me fast, but when I execute the test, expectation is different.


#4

PLEASE, read the link I sent to you and respond accordingly.


#5

Instead of screenshots, can I post a video ?