svg automation

34 views
Skip to first unread message

Suresh Kumar

unread,
Sep 3, 2019, 1:39:01 PM9/3/19
to Selenium Users
How to validate logos/icons designed using svg in selenium jvm?

Santosh Temkar

unread,
Sep 3, 2019, 2:13:27 PM9/3/19
to Selenium Users
Find xpath of the svg icon first using syntax "//*[local-name() ='svg']" <name-of-svg-icon>

With this locator you may use isdisplayed method.

Aniket Mane

unread,
Sep 4, 2019, 3:53:30 AM9/4/19
to seleniu...@googlegroups.com
Suresh/santosh,

You need to check if that logo/icon is present or to compare that logo or icon image with expected result??

On Tue 3 Sep, 2019, 23:43 Santosh Temkar, <santosh...@gmail.com> wrote:
Find xpath of the svg icon first using syntax "//*[local-name() ='svg']" <name-of-svg-icon>

With this locator you may use isdisplayed method.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/570ea21a-3083-4d90-9521-b9e0087f3f83%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages