The AUT has a page where there is a WebElement which pops up a small window
on mouseover. Once this window opens then there is a login to access
another site. So I have the code to trigger the window open withe a
onmouseover FireEvent. The issue I am facing is that this fireevent works
in the debug mode but when I run, the rollover does not work. Or if I have
a message box after the FIreEvent then also it works; so it looks like as
if it is waiting for a click to happen for the window to open.
Following is how I have the code for this FireEvent
Setting.WebPackage("Replay Type") = 2
Browser(--).Page(--).Frame(--).WebElement(--).FireEvent "onmouseover"
Browser(-).Page(-).Frame(-).WebElement(-).WaitProperty "visible", True,
10000 (This is one of the properties of the new window that opens)
Browser(-).Page(-).Frame(-).WebElement(-).Exist Then
Set the user id here
Set the password here
Click Login
----
Any thoughts on how I can make this work when it runs. Thanks for any help.
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.