Hosted Control hosting a Web application and doing automation using Workflow assembly

Aug 8, 2014 at 4:49 PM
Hello All,

I have hosted one web application by setting hosted application type as Web Hosted application. I am automating my application by defining automation mode "Use WorkFlow Assembly" in default Action.In workflow assembly class i have written workflow Activity. My automation is working Successfully with this scenario.
Now I want to host same application in Hosted control due to some custom requirement.I want to automate my application by using Workflow assembly only.
I have defined same default action and automation parameters as i did for web hosted application. But my Workflow is not getting trigger in this case. anything am i doing wrong?

One more question if i want to execute my workflow activity through code which i have written for automation how to do that?

Appreciate help in advance!!