Menu

#15 [FITpro] Creating fit test in MS Excell

Unreleased NET
open-postponed
nobody
None
3
2008-03-13
2007-12-19
No

There is a possible problem in Fit parcer of FitPro.DotNet

Next action should made to reproduce the bug.
1. Open MS Excell 2003
2. Create a fit.TimedActionFIXTure
3. Save the result File->Save as WebPage->click on Selection:Sheet -> Click on Save button
4. Open VS 2005
5. Create a new FitPro test library project
6. Click on Import HTML Fit Files and select the created fit test in the MS Excell
7. Create an appropriate Fixture. It should be inherited from the Fixture class
8. Rebuild solution
9. Run an appropriate fit test.
10. Try to open the result file inside the VS 2005
11. Then select the design view. You will see the next warning "Can not switch to Design view because of errors in the page. Please correct all errors labeled 'Can not switch:' in the Error List and try again". I had about 130 'Can not switch:' errors in my test.
12. Try to open the result again but select 'View in Browser'
13. As a result you will see than not all fixture methods were run. So it is real problem.

I don't know why the problem happened but I saw it and it is required detailed analisis.

Discussion

  • Alexey Prokopenko

    Logged In: YES
    user_id=1927931
    Originator: YES

    It was checked one more time and I found the reason of it. There were names in the FIT test with underlines (E.g. "Select_filter" or "Filter_Year_Name") and same names were in a Fixture. So FIT parser could not find it. As I discovered Fixture names should be without underlin symbols (E.g. "SelectFilter" or "FilterYearName"). After I changed it the Parser started to find out it.

    However there are still problems left:
    10. Try to open the result file inside the VS 2005
    11. Then select the design view. You will see the next warning "Can not
    switch to Design view because of errors in the page. Please correct all
    errors labeled 'Can not switch:' in the Error List and try again". I had
    about 130 'Can not switch:' errors in my test

    It happens because FIT pro inserts CLASS property inside the table without deleting the previos class tag. For instance <td CLASS="fail" CLASS=xl2211597 align=right style='border-top:none;border-left:none' x:num>1281 ...
    However it should be used next style of CLASS writting <td CLASS="fail xl2211597"> by the FIT pro.

    The bug wasn't closed because the reason above.

     
  • Alexey Prokopenko

    • status: open --> open-postponed
     
  • Alexey Prokopenko

    • assigned_to: alex_p6 --> nobody
     
  • Vladimir

    Vladimir - 2008-03-13
    • summary: Creating fit test in MS Excell --> [FITpro] Creating fit test in MS Excell
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.