Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

how to translate the windows python script to linux version

Options
jas
jas Posts: 2

Hello
Getting the import module error while i run the script in linux, below are the import statements

from soaptest.api import *
from com.parasoft.api import *
from java.lang import *
from java.text import *
from java.util import *
from java.io import *

These works fine in windows, however in linux its failing:

"ImportError: No module named soaptest.api" occurs.

Can someone direct , how can it be rectified in linux

Comments

  • Ramiro Martinez
    Ramiro Martinez Posts: 53 admin
    Options

    Hi Jas,

    There should not be any changes between Windows and Linux for the importation of libraries.
    I have tested the import of these libraries on Linux and did not receive this message.
    Have you noticed any other unexpected behavior with SOATest? It may be possible that you have a corrupted installation, with missing libraries.