I was testing QTP in My MSN website which has Portlets.
When attepting to move one of the Portlets, say the center one moving it to the Left, etc.
QTP fails to record the middle step which is "Move"
The Portlet box has a dropdown menu with submenus but the middle one opens on mouse over and not on a click, therefore QTP fails to record this step.
when the mouse curson is moved to the "Move" option it opens another submenu with left, right, down, etc which QTP also fails to Record.
How to use desctriptive programming to handle the middle step (the "Move" part) and the options left, right, down, etc. that QTP does not pick up.
I have search though the forum but have not been unable to find a solution.
Also, when I attemp to use object spy I cannot see the submenus.
Thanks in advance.
[ 05-25-2006, 01:35 PM: Message edited by: garifo ]
Re: Portlet-Recording issue
Ok...I found the solution.
I needed to use "onmouseover" for the element.
To do this I changed the settings under Web Event Recording Configuration---->Custom Settings-->WebObjects--->WebElement.
Here I needed to add an "onmouseover" event.
So under the Menu--click Event-->Add-->onmouseover
it will add the even to the Event Name.
For Listing -select If Handler or Behavior for Record: Enable.
With is I was able to do the mouse over on the "Move" to the next submenu with another onmouse over for the directions where the box should be click to. In my case was Right.
Then Click on Right.
After running the script it was able to move the portlet as needed.