![]() |
changing the name in OR -- is not recognized - 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: changing the name in OR -- is not recognized (/Thread-changing-the-name-in-OR-is-not-recognized) |
changing the name in OR -- is not recognized - appsved - 08-25-2010 Hello Can someone tel me what is wrong here. I am able to record a script in QTP 10.0 and when i go OR and change the similar names like WebEdit1, WebEdit2 etc.. to more sensible like namefield or address field. It seems to have saved automatically in the OR and in the scrip however when i run the scrip. qtp says objects not recognised or found. for namefield. If i change back to WebEdit1 it works. anyone has a clue what i am missing here. I tried saving the script multipletimes. Thank you in advance. Aparna RE: changing the name in OR -- is not recognized - venkatbatchu - 08-26-2010 Hi Aparna, 1. Make sure that you have changed logical name only not physical name 2. Observe whether updated logical names are changing in script i.e whichever u have renamed the test objects in OR 3. If you are able to view the updated logical names in script then it is fine. 4. Else use the below setting Tools-->Options-->Run-->Automatically update test and component steps when you rename the test object (Check the check box) 5. Now u could able to view modified logical names in the script. Hope it will solve ur issue. Please let me know for further clarification. Regards, Venkat.Batchu RE: changing the name in OR -- is not recognized - iamsekhar - 08-26-2010 Hi Venkat, i have a doubt, we cant change physical description? Sekhar RE: changing the name in OR -- is not recognized - appsved - 08-27-2010 Hello 1. I am able to see the change in the script. However its not right. 2. I do not see any setting under tools-->options--> run settings. attaching an example . script is Code: RunAction "Login [SJDMSLogin]", oneIteration I can see the change in the script however its not recognized. Hello Basically this Import is a Button in Java app on the web. Object spy has only these properties for this.. Name Web Element ( changed to Import) class Web Element Repository Local visible true outer text - huge sentence ) everything from the page) Innertext html tag - BODY class ext-ie Can someone tel me how to write descriptive program for this so that the Import Button is invoked by clicking? Thank you So much in advance. |