first we should now the application.exe name . after than using filesystem object , get all the files in the driver and verify our application is exists or not Another method is ganesh mentioned
On Tue, Dec 17, 2013 at 11:02 AM, Amit <[email protected]> wrote: > HI All > > The application exe can be saved at any location in the test machine. we > want to get the location of the exe at run time > > > On Monday, December 16, 2013 4:01:47 PM UTC+5:30, Amit wrote: > >> We need to know the location where exe of application under test is saved >> in the system. we are not mentioning path in QTP code as we are first >> launcing application (manually) and then opens the QTP >> >> is there any method by which we can get the location where application >> exe is running >> >> we are trying it by using windows task manager >> >> Open the windows task manager >> In the 'Processes' tab > 'Image Name' column > look for the application >> exe name > Right click on it > Select 'Properties' in the context menu > >> here path pf the application is mentioned (in 'General' tab, Location >> field). pls suggest any way to do it >> >> 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 > > --- > You received this message because you are subscribed to the Google Groups > "QTP - HP Quick Test Professional - Automated Software Testing" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- 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 --- You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
