Thanks for the approach and it worked for me.
I have one other query for you but NOT related to HTML.
Let say I have two tests - Test A and Test B
Test A - It contains only one coded step and inside it has "this.ExecuteTest(test_path);" . I am sending Test Path as an argument.
Test B - It contains some recorded steps
I am calling Test B from Test A.
After test execution, if Test B fails, I want to return a value to Test A like "Fail"
How can I achieve this ?
Let me know If you need more information.