Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

» Selenium IDE Verify different Maps (Hybridview, Mapview etc.)
Fri Nov 25, 2016 9:56 pm by DJ87

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

attribute selector failing in assertAttribute

View previous topic View next topic Go down

attribute selector failing in assertAttribute

Post by apineda on Fri Jan 07, 2011 9:14 pm

So I have a div element with id "lightbox" and attribute "style" with display information depending on whether I need it to be visible or not. I wish to test it's visibility with a test. So,

assertAttribute | lightbox@style | glob:*display*block*

The glob logic I'm unsure of but I do know there are other styles that are inline as well. The real problem is that it's not finding the style attribute of lightbox :S Although if I take away the attribute and "find" lightbox it succeeds. Any ideas?

apineda

Posts : 1
Join date : 2011-01-07

Back to top Go down

Re: attribute selector failing in assertAttribute

Post by Adviser on Fri Jan 28, 2011 7:57 pm

hi,

try to use regular expression instead of that
reg : .*display.*block.*

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum