Fixed small issues with WebUI tests

Change-Id: I13fab3f9de6409342a12c172417b60df2dca9c03
This commit is contained in:
TimurNurlygayanov
2013-11-01 15:10:34 +04:00
parent 6d8b16667f
commit b5b4bc12da
2 changed files with 2 additions and 9 deletions

View File

@@ -436,12 +436,7 @@ class _WebUIlib(_Utils):
time.sleep(0.1)
if not selector:
try:
path = os.environ('WORKSPACE')
path += str(time.time())
BuiltIn().run_keyword('Capture Page Screenshot', path)
except:
pass
BuiltIn().run_keyword('Capture Page Screenshot')
raise AssertionError('Web element "%s" was not found in object '
'repository and on page.' % element_name)