In which line do you have this error? Is it in: SwfWindow("HA - [Login
Mode]_2").SwfEdit("txtUserId").Set user or in the place where you
call the function?
On Thu, Jan 14, 2010 at 10:09 AM, Puneet <[email protected]> wrote:
> I am getting a type mismatch. What is the issue here?
>
> contePPDHA_App = "HA.exe"
> 'Enter the userid
> SwfWindow("HA - [Login Mode]").SwfRadioButton("CLIENT").Set
> SwfWindow("HA - [Login Mode]").SwfButton("btnContinue").Click
> SwfWindow("HA - [Server IP]").SwfEdit("txtServerIp").Set "localhost"
> SwfWindow("HA - [Server IP]").SwfButton("btnContinue").Click
>
> Function HA_Login(user)
> SwfWindow("HA - [Login Mode]_2").SwfEdit("txtUserId").Set user
> End Function
>
> --
> 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
"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