Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
Archana
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

storeText is not working in IE sometimes Empty storeText is not working in IE sometimes

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?
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

storeText is not working in IE sometimes Empty Re: storeText is not working in IE sometimes

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.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum