HI, Can you elaborate on calling QTP from external script. What I assume is that you are referring to a text file with .vbs extension that is called externally. If that is the case, how will you use object repository
On Wed, Mar 11, 2009 at 9:06 PM, Roman Zilber <[email protected]> wrote: > You call action by name, and if it the search path QTP will find it. > I have solved (almost) the problem by not using actions and starting QTP > from external script, which setups resources based on relative path. > > > On Wed, Mar 11, 2009 at 11:42 AM, Daim Phillips <[email protected]>wrote: > >> Thanks for the reply. >> >> Can you tell me the exact steps by which I can use relative path. I >> navigated to Tool -> Options -> folders, but I couldn't understand what >> exactly I should do to tell QTP if to use absolute or relative path. >> >> >> Regards >> On Wed, Mar 11, 2009 at 8:35 PM, Ayal <[email protected]> wrote: >> >>> >>> Try to use relative path while calling the action (relative to the >>> test or relative to a specific folder in the folder list (Tools -> >>> Options) >>> >>> On Mar 11, 4:04 pm, Roman Zilber <[email protected]> wrote: >>> > Your test has a reference to an actions, which doesn't exist on second >>> > machine or exists in different location. That what I understand from >>> the >>> > description of the problem. Why does it surprise you, that QTP throw an >>> > error? >>> > >>> > On Wed, Mar 11, 2009 at 1:08 AM, Daim <[email protected]> wrote: >>> > >>> > > Hi, >>> > >>> > > I have automated a test on one machine with Web add-in loaded by >>> > > default. The test contains multiple scenarios where each scenario >>> > > calls an existing call to an action. There is no problem in running >>> > > the test there. >>> > >>> > > Now, I copy that test on another machine with only Web add-in loaded >>> > > there as well. >>> > >>> > > Whenever the test is opened, an error message is generated "Missing >>> > > Resources" and then the full path to folder is mentioned. I have to >>> > > delete that specific call to action, and then call the action again. >>> > > There is no more missing resource error when i load the test again. >>> > >>> > > The question is that why is this error message generated on second >>> > > machine and why this occurs every time for that specific scenario >>> > > within test. >>> > >>> > > Regards >>> >>> >>> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
