Submitted Questions

  • Invoke an application and login using QTP problem

    I am trying to invoke an application and login to it using QTP. I was able to use the systemutil.run to get the application to invoke, however, i can't get it to log in. I did this in winrunner with the following code:UserID = "XXX";login_application(UserID);invoke_application("path","db","",SW_SHOW);Please login...set_window ("Please login...", 32);edit_set ("dfUser", User);password_edit_set("dfPassword",...

    rcb

    • Jul 19th, 2007

    systemutil.run("Path of the Application.exe")wait 2If window("Window Name").exsit(10) thenwindow("window Name").winedit("Edit Box Name").Type("Login Name")--- like this for Password. if button exsit Click the Button.