how to find the value of ext:qtip

521 views
Skip to first unread message

poojamistry

unread,
Mar 8, 2010, 7:44:19 AM3/8/10
to Selenium Users
Hi,

I need to get the value of etx:qtip. When I inspect my element, this
is what I get:
<div class="blank" ext:qtip="Please select a file before uploading."
ext:width="400px">

When I try using something like //div[@ext:qtip="Please select a file
before uploading."], the XPather shows error.

Let me know if you need any further information in order to help me.

Thanks,
Pooja

Bindu Laxminarayan

unread,
Mar 8, 2010, 10:50:13 AM3/8/10
to seleniu...@googlegroups.com
To get the value of an attribute use gteAttribute-RC and storeattribute for IDE

Thanks
Bindu Laxminarayan


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.




--
L.SriChakraBindu

Pooja Mistry

unread,
Mar 8, 2010, 10:54:00 AM3/8/10
to seleniu...@googlegroups.com
Thanks for the reply. 

I am aware of the gteAttribute but what I am looking for is the Xpath that I could use to get the value. The X path that I mentioned below ://div[@ext:qtip="Please select a file before uploading."] does not work. I am not sure if ext:qtip can be extracted in the normal way as you do for @id, @class etc.

Meerasaaheb Mohmmad

unread,
Mar 9, 2010, 12:26:01 AM3/9/10
to Selenium Users
Hi Pooja,

Ur using incorrect syntax.....

Try use the below and let me know if u have any issues,,,
System.out.println("The division which contains class as blank and its
another attribute ext:qtip value is : "+selenium.getAttribute("//
div[@class='blank']@ext:qtip"));

The above statement will print the O/p as::

The division which contains class as blank and its another attribute
ext:qtip value is : Please select a file before uploading.

Thanks & Regards,
Meerasaaheb Mohmmad

Pooja Mistry

unread,
Mar 9, 2010, 12:48:05 AM3/9/10
to seleniu...@googlegroups.com
Hi Meerasaaheb,

Thanks a lot. The Xpath worked!

Regards,
Pooja

Reply all
Reply to author
Forward
0 new messages