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

Unable to import legacy suite

Open Elbap opened this issue 8 years ago • 24 comments

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.

Elbap avatar Jun 06 '18 16:06 Elbap

Can you tell me if theres an error in the console?
Maybe if possible upload your test cases

corevo avatar Jun 07 '18 07:06 corevo

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.

image

mnbeer avatar Jun 07 '18 20:06 mnbeer

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 field in the html. The new one does care.</p> <p>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.</p> <p>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.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/33339926?v=4" alt="98gmarquee avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 07 '18 20:06 </span> <a class="owner-name" href="http://gitmemories.com/98gmarquee"> 98gmarquee </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>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 <!---- comment --> 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?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/20105241?u=7c55d58aca9548be5efbdf5a79d70d15d2a646fb&v=4" alt="Dukuu-Wild avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 18 '18 12:06 </span> <a class="owner-name" href="http://gitmemories.com/Dukuu-Wild"> Dukuu-Wild </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@Dukuu-Wild that problem is tracked at #237</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 18 '18 12:06 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@corevo, please check also the following cases:</p> <ol> <li> <p>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:<br> <a href="https://github.com/SeleniumHQ/selenium-ide/files/2111289/Suite.login_multiple.cases.zip" rel="nofollow" target="_blank" >Suite login_multiple cases.zip</a></p> </li> <li> <p>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: <a href="https://github.com/SeleniumHQ/selenium-ide/files/2111318/Suite.login_faulty.case.in.suite.zip" rel="nofollow" target="_blank" >Suite login_faulty case in suite.zip</a></p> </li> <li> <p>The sequence of cases from testsuite is not respected: Screenshot http://i.prntscr.com/gESbJ0tqS6CoLRtv3dEpFg.png Sample files: <a href="https://github.com/SeleniumHQ/selenium-ide/files/2111314/Suite.login_sequence.of.cases.in.suite.zip" rel="nofollow" target="_blank" >Suite login_sequence of cases in suite.zip</a></p> </li> </ol> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/20105241?u=7c55d58aca9548be5efbdf5a79d70d15d2a646fb&v=4" alt="Dukuu-Wild avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 18 '18 13:06 </span> <a class="owner-name" href="http://gitmemories.com/Dukuu-Wild"> Dukuu-Wild </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I'll take a look at point 1 & 2.<br> About point 3, tests in the general test view are sorted alphabetically, #128 will let you sort them inside a test suite.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 18 '18 19:06 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>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.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/20105241?u=7c55d58aca9548be5efbdf5a79d70d15d2a646fb&v=4" alt="Dukuu-Wild avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 19 '18 08:06 </span> <a class="owner-name" href="http://gitmemories.com/Dukuu-Wild"> Dukuu-Wild </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@Dukuu-Wild fixed as 58c6e42e.<br> 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.<br> 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.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 26 '18 08:06 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Closed since there is no response from OP.<br> @Elbap please answer my first comment to reopen this issue.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 26 '18 08:06 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@corevo actually case#2 from my comment above makes the same behavior as described in the start of this thread. Did you try it?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/20105241?u=7c55d58aca9548be5efbdf5a79d70d15d2a646fb&v=4" alt="Dukuu-Wild avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 26 '18 08:06 </span> <a class="owner-name" href="http://gitmemories.com/Dukuu-Wild"> Dukuu-Wild </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Yes, and I'm working on it. But I'm not sure if that's the original cause of the issue.</p> <p>Cheers, Tom On 26 Jun 2018, 11:51 +0300, Dukuu-Wild <span>notifications@github.com</span>, wrote:</p> <blockquote> <p>@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.</p> </blockquote> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jun 26 '18 09:06 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Any updates on this issue?, console does not show any errors for me</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/32504250?v=4" alt="yawningemu avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 08:07 </span> <a class="owner-name" href="http://gitmemories.com/yawningemu"> yawningemu </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>It is resolved.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 08:07 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I still face the same issue</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/32504250?v=4" alt="yawningemu avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 08:07 </span> <a class="owner-name" href="http://gitmemories.com/yawningemu"> yawningemu </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I just tried the suite you attached as 2. and it worked perfectly for me.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 08:07 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Suites are working fine on my end too, its the individual test cases that I am not able to import</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/32504250?v=4" alt="yawningemu avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 09:07 </span> <a class="owner-name" href="http://gitmemories.com/yawningemu"> yawningemu </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I was able to import them manually one-by-one.<br> Add steps to reproduce this with the faulty test case please.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 09:07 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@corevo <strong>I am using another tool to create test cases and then exporting them as suite</strong> <a href="https://github.com/SeleniumHQ/selenium-ide/files/2179805/faulty.zip" rel="nofollow" target="_blank" >faulty.zip</a> 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</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/32504250?v=4" alt="yawningemu avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 09:07 </span> <a class="owner-name" href="http://gitmemories.com/yawningemu"> yawningemu </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I can import both cases you attached</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/888886?u=495dd133f9f60fd3308b72bb887f9e03accf60a1&v=4" alt="corevo avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 10 '18 10:07 </span> <a class="owner-name" href="http://gitmemories.com/corevo"> corevo </a> </div> </div> <div class="clear-both"></div> </div> <nav> <ul class="pagination"> <li class="page-item disabled" aria-disabled="true"> <span class="page-link">« Previous</span> </li> <li class="page-item"> <a class="page-link" href="http://gitmemories.com/SeleniumHQ/selenium-ide/issues/224?page=2" rel="next">Next »</a> </li> </ul> </nav> </section> </div> </div> </div> <aside class="detail-info-box"> <h3 class="title pkg-infobox-metadata">Labels</h3> <div class="pub-labels"> <div class="pub-label-item" style="background-color: 8724d8"> c-migration </div> <div class="pub-label-item" style="background-color: d4c5f9"> awaiting answer </div> </div> <script type="text/javascript"> atOptions = { 'key' : '6ca19c2b16e3f20a28885886ef99a68e', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; </script> <script type="text/javascript" src="https://www.highperformanceformat.com/6ca19c2b16e3f20a28885886ef99a68e/invoke.js" ></script> <h3 class="title">Owner</h3> <div class="owner-info flex-items-center d-flex"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/40001203?v=4" alt="Elbap avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <a class="owner-name" href="http://gitmemories.com/Elbap"> Elbap </a> </div> <hr class="color1"> <h3>Other Repo Issues</h3> <div class="packages"> </div> <div style="clear: both"></div> </aside> </div> </div> </main> <footer class="site-footer"> <span>© 2022 Git Memory </span> <a class="link sep" href="http://gitmemories.com/privacy-policy">Policy</a> <a class="link sep" href="http://gitmemories.com/terms">Terms </a> <a class="link sep" href="http://gitmemories.com/contact">Contact </a> <a class="link sep" href="https://exchangetuts.com">Exchangetuts </a> <a class="link sep" href="https://onltools.com/">Onltools </a> <a class="link sep" href="https://serveraide.com/">Serveraide </a> </footer> <script src="http://gitmemories.com/js/app.js?id=a1337f444c840fae34ad"></script> </body> </html>