-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It throw exception when calling ‘getattr()'.
RxPath : /dom[@Domain='10.6.5.101:8080']//div[#'header']//b[@innerText='登录']
Log : 20151104 08:39:14.316 : FAIL : Element BTag not found after 3 tries
Ending test: RobotDemo.Compile.Compile.Compile
But it can success by using Ranorex Studio.
PS:
The 'Tag' element is short written, so i add the 'else' in function '__return_type'.Following :
for item in supported_types:
if ele.lower() == item.lower():
return item
elif ele.lower() == '':
raise AssertionError("No element entered")
else:
if item.find("Tag") != -1 and ele.lower() == item.split("Tag")[0].lower():
return item
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels