Application crashes when Set method used to set the value of SwfEdit box.
following is my code: SwfWindow("Workspace 01 - TradeXpert").SwfWindow("Connection Properties").SwfEdit("userTextEditor").Set "vpoin".
userTextEditor is a Edit field where I want to enter a new value. I am using Set method to enter value in the Edit field but my application hanging up and i need to go to Task manager to to end my App.
I am using QTP 9.2
Test Advantage 2008 Vol. 2 CLR 2.0
.Net 3.5 framework
Please help me in this issue as this is urgent.
Did the patch end up working? I also had to change all of my Set commands to Type to avoid fatal QTP crashes.
If I remember correctly - if I closed the AUT (via Task Manager processes) I would be able to use QTP again without having to reboot. Just a tip (I think)...
I tried Type and that helped me to solve my problem. I have to install TestAdvantage Nov 6th hot fix to see whether that solves the problem of crashing App on using Set. I will let you know after installing TA hotfix.
Thanks Amit for your help. I tried so many functions but it did not striked me to use Type.
Just out of curiousity have you tried using "Type" instead of "Set"? Though why set is hanging app. must be interesting to know