Skip to content

Feature Request - New keyword to perform operation elements returning from Get Webelements #1534

Open
@aliasgerkw

Description

@aliasgerkw

Can we have a keyword wrapped around Get Web Elements which will do operations on the list return by this? For example, If in an application I filtered a column and want to verify if the results are there in each row I can simply do below:

@{elList} = Get webelements ${OR_CELL_TO_CHECK}
:FOR ${item} IN @{elList}
${textOfAcc}= Get Text ${item}
Should Be Equal ${textOfAcc} ${SHOULD_CONTAINS}
END

We can have multiple keywords using this like:
Get elements and verify the text
Get elements and verify attribute
Get elements and verify does not contains text

For elements with text we can still use Page Should Contains Text with limit argument as suggested by @aaltat in another thread but I would still feel attribute checks are required some time and we should have a list of keywords to deal with it.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions