Tuesday, July 26, 2011

Function in QTP

Login "Skhan","Mercury"

Public Function Login (Agent,Password)

Dialog("Login").WinEdit("Agent Name:").Set (Agent)
Dialog("Login").WinEdit("Password:").Set (Password)
Dialog("Login").WinButton("OK").Click
End Function

1 comment:

  1. Hi,

    First of all want to Thank You for your useful post.This Software Testing article is very useful for me. I would like to introduce
    another good site which is having Software testing and QTP resource site, Have a
    look on QTPbook

    ReplyDelete