The software is a central part of any robot. Software defines a line of the behaviour of the robot. That`s why laws of robotics refer to the software of robots. 3 laws which have been invented by a famous writer of science fiction Isaak Asimov describe important characteristics of software: safety, functionality and protection. I want to show how these laws are projected on software development and what an important role they play in the software testing.