Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Execution Problem
#13
Not Solved
Below mentioned script is in Testcase file(.xls file)
Component Browser Page Object ObjectName Action Parameter

Web An inspiring place to An inspiring place to WebFile Story_Image Set C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Winter.jpg

Web An inspiring place to Choose File to Upload WinButton Open Click


In library file contains


Code:
Public function fnFile(WebBrowserDesc,WebPageDesc,WebFileDesc,strAction,strParam,strExpected,strChkPoint)
   Select Case strAction
           'Set Value
     Case "Set"
    Browser(WebBrowserDesc).Page(WebPageDesc).WebFile(WebFileDesc).Set strParam
    End Select
End Function



Code:
Public function fnWinButton(WebBrowserDesc,WebDialogDesc,WinButtonDesc,strAction,strParam,strExpected,strChkPoint)

   Select Case strAction
        'Click Button
    Case "Click"
          Browser(WebBrowserDesc).Dialog(WebDialogDesc).WinButton(WInButtonDesc).Click
End Select
End Function
Reply


Messages In This Thread
QTP Execution Problem - by nelmanoj - 06-23-2011, 04:36 PM
RE: QTP Execution Problem - by souvikghosh_diatm - 06-27-2011, 04:30 PM
RE: QTP Execution Problem - by nelmanoj - 06-30-2011, 05:37 PM
RE: QTP Execution Problem - by Skepsis - 06-30-2011, 06:30 PM
RE: QTP Execution Problem - by rajpes - 07-04-2011, 11:10 PM
RE: QTP Execution Problem - by kotaramamohana - 07-07-2011, 12:16 PM
RE: QTP Execution Problem - by rajpes - 07-07-2011, 04:44 PM
RE: QTP Execution Problem - by kotaramamohana - 07-07-2011, 05:26 PM
RE: QTP Execution Problem - by Skepsis - 07-07-2011, 08:59 PM
RE: QTP Execution Problem - by rajpes - 07-07-2011, 10:00 PM
RE: QTP Execution Problem - by kotaramamohana - 07-08-2011, 10:47 AM
RE: QTP Execution Problem - by rajpes - 07-08-2011, 01:26 PM
RE: QTP Execution Problem - by kotaramamohana - 07-08-2011, 03:09 PM
RE: QTP Execution Problem - by rajpes - 07-08-2011, 04:08 PM
RE: QTP Execution Problem - by kotaramamohana - 07-08-2011, 05:33 PM
RE: QTP Execution Problem - by rajpes - 07-08-2011, 05:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to catch the script execution when QTP scripts are executed from command line Sreeni.lutukurthy 0 2,943 03-19-2015, 05:55 PM
Last Post: Sreeni.lutukurthy
  Sybase connectivity and PROC execution by QTP 10 guin.anirban 0 2,575 06-14-2011, 11:33 PM
Last Post: guin.anirban
  Error during execution of QTP script prasadworld321 6 7,448 04-22-2010, 07:17 PM
Last Post: Vandembergue

Forum Jump:


Users browsing this thread: 1 Guest(s)