Share
Go down
lorenlai
Posts : 2
Join date : 2012-09-17

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

on 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"
sharath
Regular Participant
Regular Participant
Posts : 29
Join date : 2012-08-04

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

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

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

on 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

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