QTP Execution Problem - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: QTP Execution Problem (/Thread-QTP-Execution-Problem) Pages:
1
2
|
RE: QTP Execution Problem - kotaramamohana - 07-08-2011 Sample script also opened in Read only mode. No one is accessing my script because we are executing scripts in local machine only. I have attached screen shot for one line of code, I dont know how to change mode from Read-only to normal. I have verified setting under Tools-->"Options" too. Can you provide VB script to open in Normal mode Hi Friends, QTP opened in Read only mode because i have used below mentioned script in AOM. App.open "D:\QTP_RAZOO\Driver", True Instead of True if we use False (App.open "D:\QTP_RAZOO\Driver", False) QTP will be opened in Normal mode. But still i am facing, if QTP is not identified object in applicationa, again its traversing to First step of script. Can you provide what are the necessary settings i have to do. Thanks In Advance RE: QTP Execution Problem - rajpes - 07-08-2011 Show the code related to selecting an image and clicking on Open button RE: QTP Execution Problem - kotaramamohana - 07-08-2011 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) Code: Public function fnWinButton(WebBrowserDesc,WebDialogDesc,WinButtonDesc,strAction,strParam,strExpected,strChkPoint) RE: QTP Execution Problem - rajpes - 07-08-2011 WInButtonDesc may not be having sufficient description in it to identify that open button while using task manager? Instead of messing with this script create a new script and perform only selecting an image and clicking ok button using 1.recording process 2.using descriptive programming without calling any function Let me know if both ways work USING TASK SCHEDULAR RE: QTP Execution Problem - kotaramamohana - 07-08-2011 I have used both Descriptive program and Recording. If object is not identified by QTP its going to next step and so on. Its not traversing to first step. If object is not identified by QTP , It should show popup window. Normal execution its showing popup window(Stop, Retry, Debugging buttons), but when we are using Task scheduler its not showing any popup window RE: QTP Execution Problem - rajpes - 07-08-2011 ok,then i think there is some logical error, it might be trying to execute same test again in next loop or something. Comment the code which is doing image pick operation and see what happens when no errors anywhere |