UFT 12 hangs on a line (.NET forms) - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: UFT 12 hangs on a line (.NET forms) (/Thread-UFT-12-hangs-on-a-line-NET-forms) |
UFT 12 hangs on a line (.NET forms) - sara- - 10-22-2014 Hi Ankur, I am pretty new at testing with UFT (well, to tell the truth, I am pretty new at testing). I'm trying to testing .NET forms and I'm having a trouble that is blocking all my work: in the form, I click with the right button of the mouse and a context menu appears. I tried to capture it with Object Spy and it saves the menu in the Object Repository as SwfToolbar (without name), but can't recognize the various items of the menu. Since I'm new at this, I tried to record the action and utf was not able to record the "select item" step. It recorded just the right button click and the subsequent action I did after the selection of the menu item. So, for selecting the particular item "Add Process", I used this code: Code: SwfWindow(" ").SwfToolbar("SwfToolbar").Select "Add Process" and it actually worked to select the item and so open the "Add Process" window. The problem is that then uft hangs on the line that I reported above and can't proceed with the next steps. Any idea of how I can solve or bypass this? Thanks in advance for your answer. |