Forum Discussion

shantlk's avatar
shantlk
Contributor
6 years ago
Solved

Test runs successfully with TestComplete but fails when run with TestExecute

Hi,

I have a python script which reads data from an excel file.

Test passes when run through TestComplete, but fails with following error when run through TestExecute.

 

Python runtime error.

External table is not in the expected format Error location:

 

I have not done any changes to the excel file and columns are as expected.

Appreciate if someone can help me with this.

Note: This test was successful earlier with TestExecute too !

I'm onfused as to what has happened.

 

Thank you !

  • Hi All,

    I was able to find the issue and resolve it !

    Posting it anyway incase someone face a similar issue.

     

    I was running the script in commandline from the location the TestExecute was installed.

    Then it was looking for 32bit, though my TestComplete and TestExecute is 64.

     

    original path in which I ran the script from:

    C:\Program Files (x86)\SmartBear\TestExecute 12\Bin>

     

    Issue resolved after I ran from x64

    C:\Program Files (x86)\SmartBear\TestExecute 12\x64\Bin>

     

     

     

     

1 Reply

  • Hi All,

    I was able to find the issue and resolve it !

    Posting it anyway incase someone face a similar issue.

     

    I was running the script in commandline from the location the TestExecute was installed.

    Then it was looking for 32bit, though my TestComplete and TestExecute is 64.

     

    original path in which I ran the script from:

    C:\Program Files (x86)\SmartBear\TestExecute 12\Bin>

     

    Issue resolved after I ran from x64

    C:\Program Files (x86)\SmartBear\TestExecute 12\x64\Bin>