mde / flex-pilot

Testing automation library for Flex and Flash.
55 stars 30 forks source link

Changes on FPAssert.as (issue with ObjectUtil.toString) #4

Open mariangemarcano opened 14 years ago

mariangemarcano commented 14 years ago

Hello,

Method ObjectUtil.toString(attrVal) is not working on this scenario selenium.FlexAssertProperty("id=App", "chain=id:curPage, validator=text|1"); I chage it to String(attrVal) instead.

I am not sure if this is the right solution but for the moment I tested using the following properties and it is working:

chain=id:curPage, validator=enabled|true chain=id:curPage, validator=text|1 chain=id:curPage, validator=width|35

admc commented 14 years ago

Thanks so much for the work, I got two pull requests on this nearly at the same moment so I tried to merge it all in, please let me know if I screwed something up, or your issue isn't fixed!

Adam

mariangemarcano commented 14 years ago

Hi Adam I tested and the fix worked, I just did a small change on flex4 branch since the lines are no longer needed (because of Meghna fix).