Mouseover item --> Popup appears : General Questions

Mouseover item --> Popup appears

Ask general questions here.

Mouseover item --> Popup appears

Postby Hermch » Mon Dec 05, 2011 1:03 pm

Hi,

my application has some popups which only appear, when a user moves the mouse over a specific item. As soon as the mouse leaves this item, the popup disappears again.
How can popups like these be tracked?
I could not track them yet with Ranorex spy because when i want to move the mouse to the popup, the cursor leaves the triggering item and the popup disappears again.

thanks and regards
Hermch
 
Posts: 26
Joined: Thu May 26, 2011 8:17 am
Location: Germany

Re: Mouseover item --> Popup appears

Postby Support Team » Mon Dec 05, 2011 3:26 pm

Hi,

basically, tooltips appears as own windows, therefore, if they are visible they are directly listed in the layer below the host. Because they are disappearing when moving the mouse away from the item, they have to be handled in a special way.

With Spy:
Move your mouse to the item, wait until the tooltip appears and do a instant tracking on that item.
Now the item your mouse was pointing on is highlighted in spy. Now look for your tooltip - it should be within the list in the layer below your host.

With Recorder: While recording, enable "Enable Hotkeys" in the recorder toolbar. After that, move your mouse to the item, press "m" (this records a mouse move to this item), wait until the tooltip appears, then press "t". Now the information about the tooltip is displayed - select the attribute of the tooltip which you want to validate.

You can also manually add the tooltip to your repository (in Respository, Add New Item -> Add Item, use path "/tooltip"). Drag and drop the added repository item to the action table of your recorder to do a validation (Manually create recordings)

Best Regards,
Martin
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Mouseover item --> Popup appears

Postby jchou » Sat May 19, 2012 4:59 am

I followed what Martin said, pressed 'M' when mouse moved to the target item, then when tooltip appeared, pressed 'T'. After that, how do I get to the captured tooltip value/text? Thanks.
jchou
 
Posts: 2
Joined: Wed Apr 25, 2012 12:19 am

Re: Mouseover item --> Popup appears

Postby Support Team » Mon May 21, 2012 3:23 pm

Hi,

After you pressed "t" a validation dialog should appear where you can select the different attributes of the tool tip, did the tool tip window appear?
If not there is also another way how you can get it, it is described at the following link in section "Snapshots from popup windows, dropdown combo boxes or dropdown menus".
After you have pressed the <SCROLL> key you have to search for the specific element, if you can't find it you can also try to create a Snapshot with the <SCROLL> key from the host, because then you should also get the popup if it is shown in a separate form.

Regards,
Markus
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria

Re: Mouseover item --> Popup appears

Postby Hermch » Fri May 25, 2012 9:56 am

How about Popups which only appear for a very short time. About one second.
Is there a way to track such popups?

I have the following situation:

- Click on an item to change application language
- Popup appers with: "please wait... change to English" (for one second or even less)

How can I track such a popup? In the tree view of spy I cannot find it. And it is not possible to track it fast enough with spy or instant tracking
Hermch
 
Posts: 26
Joined: Thu May 26, 2011 8:17 am
Location: Germany

Re: Mouseover item --> Popup appears

Postby Hermch » Fri May 25, 2012 4:08 pm

I've got it working.

The way with the Recorder and enabled hotkeys has worked.
Hermch
 
Posts: 26
Joined: Thu May 26, 2011 8:17 am
Location: Germany


Return to General Questions

Who is online

Users browsing this forum: No registered users and 0 guests