TypeError : coercing to Unicode : need string or buffer, NoneType found

427 views
Skip to first unread message

Rony

unread,
Apr 24, 2014, 4:37:51 AM4/24/14
to robotframe...@googlegroups.com
Hi,

When i execute script in IE8 its working as expected.But it creates problem when i try to run in IE9.
Robot Framework displays the error- " TypeError: coercing to Unicode: need string or buffer, NoneType found".

What was the reason behind that...any one can tell...?

-rony-.

Rony

unread,
Apr 25, 2014, 7:44:12 AM4/25/14
to robotframe...@googlegroups.com
hi,

Is there any update?
Because of this i can't execute my automation.Please give me a solution.

-rony

Kevin O.

unread,
Apr 25, 2014, 2:36:59 PM4/25/14
to robotframe...@googlegroups.com
Please run with log level debug or trace and provide the keyword that failed along with all messages logged under that keyword.

Rony

unread,
Apr 28, 2014, 5:27:30 AM4/28/14
to robotframe...@googlegroups.com
Hi Kevin O,

Many thanks for your reply.

Yes i can now run some of my cases but still i am facing some sort of problem like-
Element xpath=//input[@id="Create Object" or @name="Create Object" or @value="Create Object" or @src="Create Object" not found.

This error was showing when try to execute the following line...

Click Image (selenium built in keyword)- ${Function_Name} (Argument-locator)-don't wait (optional argument-locator)

Waiting for your reply.

-rony-.

Kevin O.

unread,
Apr 28, 2014, 10:04:55 AM4/28/14
to robotframe...@googlegroups.com
Maybe the object is not there when you expect it? Try Wait Until Page Contains Element.
Also if your element is inside a frame or iframe, you need to switch to that frame first before Selenium will "see" the element.
Reply all
Reply to author
Forward
0 new messages