How to refer to HTML element using non-standard attributes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-11-20 05:31 PM
Hi,
What is the easiest way to refer to HTML element which attributes are not visible in Application Modeller?
See example below. I want to manipulate highlighted div object, and all I know is it's "data-module-id='course-taking'" (I can't get data-module-id in Application modeller)
I there an easy no (or amost no-coding) way to do that?
------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-11-20 09:57 PM
In Chrome you can use xpath, like this - Web Path/XPath: //*[@data-module-id="course-taking"]
Make sure other attributes do not interfere.
p.s. Some xpath expressions won't work, but for most cases it is good enough and much better than IE anyway.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
Make sure other attributes do not interfere.
p.s. Some xpath expressions won't work, but for most cases it is good enough and much better than IE anyway.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-11-20 07:36 AM
Works great.
I've found some missleading info online, saying that it's not possible to use XPath in BP.
Thanks!
------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------
I've found some missleading info online, saying that it's not possible to use XPath in BP.
Thanks!
------------------------------
Michal Plich
PD
Nordea
Europe/Oslo
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-11-20 12:46 PM
It doesn't work with legacy Internet explorer.
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------
