Unable to import legacy suite
I have been trying to import a legacy test suite, I have tried through FF and Chrome but Selenium IDE just hangs, it doesn't do anything. Please advise.
Can you tell me if theres an error in the console?
Maybe if possible upload your test cases
Not sure if this is same issue but dragging a file in generates a check mark and a class named "accepted" is associated with the appropriate li tag. However, it is not clear where to go from there. Only visual options are "Cancel" and close dialog.

Wondering if you had the same issue I did. The new IDE requires that the name inside the title field in the html is unique. I have a nasty habit of creating one script,then copying it. The old ide would just show the file name in the suite section and never really cared about the actual
I just ran into an issue not being able to import my suite. I opened the suite, it gave me the dialog, then I dragged my html's over to it and it just sat there and blinked at me. Took me a few minutes to remember having this issue a while back.
I then changed all my test files to have the file prefix match the title tag in the file, then it imported fine doing the above steps.
While importing a testsuite i also get a blank SeIDE window, as it hangs. But than i tried to import one-by-one, and appeared there are faulty testcases there. Most of them have comments with problem. But one cannot know what is the problem: when one gives all the files wanted for testsuite it just hangs. @corevo does it helps?
@Dukuu-Wild that problem is tracked at #237
@corevo, please check also the following cases:
-
While importing the testsuite with multiple same testcases used, it assumes that same-named testcases should be different files. See the screenshot: http://i.prntscr.com/cE6dEwTsROCF3VJA1APtMQ.png Red lines should link to the same file that is already linked. Somewhy this multi-linkage is not respected. Here are sample files:
Suite login_multiple cases.zip -
When there is a faulty case there in testsuite opened, the SeIDE hangs blank: (case with "!" in name has comment problem from #237 ) http://i.prntscr.com/eCpYIzlyRV_32g_av2TFJw.png After accepting this dialog it hangs blank. Sample files: Suite login_faulty case in suite.zip
-
The sequence of cases from testsuite is not respected: Screenshot http://i.prntscr.com/gESbJ0tqS6CoLRtv3dEpFg.png Sample files: Suite login_sequence of cases in suite.zip
I'll take a look at point 1 & 2.
About point 3, tests in the general test view are sorted alphabetically, #128 will let you sort them inside a test suite.
Alphabetical order in suite is an obvious pain and cause unwanted duplicating of testcases in testsuites. I've read that branch #128. Great thing that it is going to be implemented. And yes, pt.3 is blocked by that. But this is still an issue to check after #128 is done, as we talk about importing procedure here. Import should be done not alphabetically but in the same way it is listed in a testsuite-file. Thanks in forward. Great thanks for your work.
@Dukuu-Wild fixed as 58c6e42e.
Please note when importing that only one copy of the test suite will be imported, this is the intended behavior, instead of having users have multiple copies of the same test case, we are working on a way to invoke the same test case multiple times.
I know that this isn't solving the issue completely, as the test case would only run once, the issue of running the test case multiple times will be tracked at #244 as it is a more focused issue.
Closed since there is no response from OP.
@Elbap please answer my first comment to reopen this issue.
@corevo actually case#2 from my comment above makes the same behavior as described in the start of this thread. Did you try it?
Yes, and I'm working on it. But I'm not sure if that's the original cause of the issue.
Cheers, Tom On 26 Jun 2018, 11:51 +0300, Dukuu-Wild notifications@github.com, wrote:
@corevo actually case#2 from my comment above makes the same behavior as described in the start of this thread. Did you try it? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Any updates on this issue?, console does not show any errors for me
It is resolved.
I still face the same issue
I just tried the suite you attached as 2. and it worked perfectly for me.
Suites are working fine on my end too, its the individual test cases that I am not able to import
I was able to import them manually one-by-one.
Add steps to reproduce this with the faulty test case please.
@corevo I am using another tool to create test cases and then exporting them as suite faulty.zip I cannot import the items as either a suite or individual test cases Though I was able to import @Dukuu-Wild suite, maybe because his suite contains an additional file
I can import both cases you attached