Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» 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

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

storeText is not working in IE sometimes

View previous topic View next topic Go down

storeText is not working in IE sometimes

Post by Archana on Mon Aug 31, 2009 7:41 pm

assertElementPresent | //table[2]/tbody/tr[2]/td[1]
storeText | //table[2]/tbody/tr[2]/td[1] | v1
type | search | ${v1}

above testcase is working fine in firefox, but giving some error, but in IE giving runtime exception
RuntimeException: The response from the Selenium RC server is invalid: ERROR: Co
mmand execution failure. Please search the forum at http://clearspace.openqa.org
for error details from the log window. The error message is: Permission denied

error is on command storeText.

why the test is being failed in IE?

Archana
Regular Participant
Regular Participant

Posts : 33
Join date : 2009-08-21

Back to top Go down

Re: storeText is not working in IE sometimes

Post by Adviser on Tue Sep 01, 2009 11:22 am

hi,

you are using storeText command here. This command has following description regarding browser:

This command uses either the textContent (Mozilla-like browsers) or
the innerText (IE-like browsers) of the element, which is the rendered
text shown to the user
.

May be the text you are using is present in textcontent but not in its innerText for IE.

Try not to use xpath, use the dom location which selenium creates by right click on that text and use command verifyElementPresent.
Then copy the locator and used that in storeText.

Try this and let me know. Best of luck.

Bye.

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