selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

loading old test cases in Selenium IDE

Open capoerafreak opened this issue 8 years ago • 6 comments

hello,

for me it is not possible to load old test cases into the new IDE. (Windows 7, latest Chrome Version, Selenium IDE 1.0.1)

Test Case Test Case Test.txt

We use very often .txt or .html for the Test Cases, but we can't load them in the new IDE. Is there a solution? The log is empty.

We have a lot of "old" test cases and we are still using the an old firefox to run these internal tests.

capoerafreak avatar Feb 06 '18 10:02 capoerafreak

I was able to pinpoint the error, it is caused by 2 things

<link rel="selenium.base" href="http://unknow.url">

Is not closed with /> and <td>http://unknow.url/?func=ll&objid=2838227</td> fails due to unencoded &

This is the fixed file Test.Case.Test.txt

We will fix this permanently in the IDE

corevo avatar Feb 06 '18 11:02 corevo

Thanks for this fast reaction.

I tried it with our files and it works, I will change our system! Thanks for that!

Is it possible to enable ".txt" for test case import?

capoerafreak avatar Feb 06 '18 14:02 capoerafreak

I would really like to refrain from doing this, as the file type is HTML, and adding txt could prove confusing.

corevo avatar Feb 20 '18 09:02 corevo

Hi , corevo how can we import old HTML file to new IDE .Where can I find that way

manikumary avatar Feb 21 '18 10:02 manikumary

When you open a file, you can either load the new .side format or an old HTML, which will be migrated.

corevo avatar Feb 21 '18 11:02 corevo

@manikumary When you click the Open Project icon and get the dialog, it defaults the file type to .side, or at least mine did the other day. If you change the type in the drop down, you can choose all files or .side/.html or .html only.

I don't think you can import a suite yet though, just individual old html scripts.

bryanl-csi avatar Feb 21 '18 23:02 bryanl-csi