Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

It cannot create web element like BTag ATag #3

Copy link
Copy link
@jianmei1987

Description

@jianmei1987
Issue body actions

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.