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:
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.
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.