Hi,
I would like to know where to start or if it is even possible to test using QUnit an igCombo DOM element (created with MVC Helpers). I would like to test its datasource and some options if are enabled or not.
Any suggestions are highly appreciated,
Kind regards,
Zora
Hello Zora ,
I’m just following up to see if you need any further assistance. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support
Hi Angel,
Thanks a lot, I've looked at it but unfortunately doesn't give a solution on how to test a dom element existing on a page (unless I recreate the element on the test page). All the paths lead to selenium for that.
Thanks a lot for your help,
Hi Zora,
You may refer to the following article, I think it will be of help to you:
http://haacked.com/archive/2011/12/10/using-qunit-with-razor-layouts.aspx
Thanks
Angel
Hey Angel,
I am a beginner in qunit and javascript but let me get this straight:
I should put the script references(qunit, JS script for test) in the aspx page. Then where do I display the results of the tests? I mean this part:
<body> <h1 id="qunit-header">QUnit Test Suite</h1> <h2 id="qunit-banner"></h2> <div id="qunit-testrunner-toolbar"></div> <h2 id="qunit-userAgent"></h2> <ol id="qunit-tests"></ol> <div id="qunit-fixture">test markup</div></body>
Before I had it in another html page, which I was calling directly. How am I testing then, by calling the page where the objects are initialized?
Sorry for still not getting it,
hey,
Let me know if you need any additional help with this. Thanks