Micro Focus QTP (UFT) Forums
Test Case passed and Action Failed Why? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Test Case passed and Action Failed Why? (/Thread-Test-Case-passed-and-Action-Failed-Why)



Test Case passed and Action Failed Why? - Uma - 10-17-2011

Hi ,

I have a resuable Action and inside the test case is passed ,but the action shows failed symbol why?
screen shot is attached.

Any help?
Thanks
Uma


RE: Test Case passed and Action Failed Why? - Ankesh - 10-17-2011

Hi Uma,

Have u used any On Error Resume Next statement?

Regards,
Ankesh


RE: Test Case passed and Action Failed Why? - Uma - 10-17-2011

No Ankesh,I am not using On error Resume Next st,but some times it is not asking userid and password,it is automatically Login.


I attached my testresult page too.
Any help
Thanks,
uma


RE: Test Case passed and Action Failed Why? - Ankesh - 10-18-2011

Uma, before running ur script could u please check the application, I mean which page is displayed. If the user is alredy logged in, log him out and close the application. Now run ur script. I hope this would help.

Meanwhile i am looking for some alternate solution and the reson behind this.

Regards,
Ankesh



RE: Test Case passed and Action Failed Why? - Uma - 10-20-2011

Hi Ankesh,
Even though I log out it is giving the same problem.
I am using input/outputparameters and I am using the following st
RunAction "f-str",oneiteration,sen
it gives the problem.I am trying to solve it.

Thank you for spending time on this issue.
Thank you
Uma


RE: Test Case passed and Action Failed Why? - Uma - 10-20-2011

Ankesh,
login passed using test parameters with TestArgs
Thank you
Uma