Reusable Actions. - 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: Reusable Actions. (/Thread-Reusable-Actions) Pages:
1
2
|
Reusable Actions. - Raj20091 - 11-12-2009 Hello, I have couple of reusable action I call from other scripts. When I make changes to the reusable actions the changes are not reflected in the calling scripts. Is there a way to do this? I am deleting the reusable action and adding it back in to get the updated version. I want to avoid doing this. Thanks, Raj RE: Reusable Actions. - venkatbatchu - 11-13-2009 Hi Raj, You might have used "Call to copy of an action" with this updates will not reflect instead of this use "Call to Existing action". Thanks, Venkat.Bathu RE: Reusable Actions. - say2shravan - 11-13-2009 I have a query like I am getting some unwanted pop up windows even I am using recovery scenario concept also. cud you please help me out one this. thanks in advance shravan RE: Reusable Actions. - venkatbatchu - 11-13-2009 Hi Shravan, Its good practise that always post a new query and do not interupt the queries which not related to ur's,It seems this is your first post so please read the post guide lines... Definetly u would get the prompt replies for your query.... All the Best... Thanks, Venkat.Batchu RE: Reusable Actions. - Saket - 11-13-2009 @Sharvan - As suggested by Venkat, Please read the forum Posting Guidelines and create a new thread for your query. RE: Reusable Actions. - Raj20091 - 11-13-2009 Venkat, Thanks for the response. I am using Call to Existing action, not Call to Copy, and I am not seeing the updates. RE: Reusable Actions. - sreekanth chilam - 11-13-2009 Hi Raj, Fyi, "Call to Existing Action" is applicable for calling "Reusable Actions" only. When a Reusable Action of a Test(say Test1) is called in other Test(Test2) then it would be treated as "External Action"(Read Only i.e Cannot be edited, since it contains a link to the source Action of Test1) RE: Reusable Actions. - Raj20091 - 11-13-2009 Sreekanth, I am not trying to edit the action that I am calling (yes it is read only). Heres what I want to do. I am calling a reusable action A in script B. Later I update action A. If I go back and look at action A in script B. The changes are not reflected. I usually remove the action and add it back in to get the changes. And I am looking for a better way to get the updated action. Thanks, Raj RE: Reusable Actions. - sreekanth chilam - 11-14-2009 Hi Raj, Seems a bit strange !! As far as I worked with Reusable Actions , never faced any issues regarding the updations.(Changes get reflected) @Saket : Any inputs from you on this. RE: Reusable Actions. - Saket - 11-16-2009 I agree with you Sreekanth, QTP does not behave this way. the script should be updated with the changes in reusable actions. Raj - Just in case, have you used relative path? can you check whether you are saving your changes to the correct location which is linked with your test. you can view the location of your reusable action in the general tab of action properties and check with that your folders listed in options. |