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
avatar
lorenlai
Posts : 2
Join date : 2012-09-17

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar Empty isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Mon Sep 17, 2012 8:45 pm
Hi all,

I'm newbie and I have a question regarding to isTextPresentXML and selenium-server-standalone-2.25.0.jar, please .

I would like to use "selenium-server-standalone-2.25.0.jar" to generate a "test report" (using Selenium IDE there is no test report generator).

My test cases runs well by using Selenium IDE (plugin in firfox), but it does not work with selenium-server-standalone-2.25.0.jar Sad Sad Sad

I would like to have a check a text on an XML-Result.

My Test Case looks like this ...
...

open
dummyURL




isTextPresentXML
field name="title"
avatar
sharath
Regular Participant
Regular Participant
Posts : 29
Join date : 2012-08-04

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar Empty Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Tue Sep 18, 2012 11:43 am
Hi Loren,

Selenium IDE does not natively support xml elements.Only buy using user extensions this is possible.

Please refer this site for use with RC.
http://seleniumhq.org/docs/08_user_extensions.html

Regards,
Sharath
avatar
lorenlai
Posts : 2
Join date : 2012-09-17

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar Empty Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

Tue Sep 18, 2012 2:22 pm
Hello Sharath,

thank you for your quick answer. Very Happy

Yes, I use "user-extensions.js" and it works with Selenium IDE (firefox plugin), but by using Selenium IDE I do not have a possibility to generate a test report.

That's why I want to use selenium-server-standalone-2.25.0.jar ...
to generate my test report and it works (I have my test report), but the test was not running correctly.

Example ...

1) Open an URL
2) expect an XML as result
3) check the text/field in xml

There is a test case where the URl is not correct, so an error is returned and not an XML.
But my test case said or the test report said that everything is fine.
The check does not work. BUT by using Selenium IDE the check is correct. Crying or Very sad

Could you help me again , please ? :-)

Thanks a lot

Cheers

Loren
Sponsored content

isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar Empty Re: isTextPresentXML does not work with selenium-server-standalone-2.25.0.jar

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