How do you get the program-id of a program, when the same program is executing

Questions by ravi1729

Showing Answers 1 - 3 of 3 Answers

naags

  • Aug 9th, 2007
 

Open the QTP application >go to File>Settings

In settings Select the Environment Tab

Then you can see the details of your program Like under which "OS" it is
running, the name of case, programid etc.

Come back to your test and write a statement as follows.

Environment("Programid") = Environment.Value("Programid")

msgbox = Environment("Programid")

If you get any problem just check the syntax, modify if necessary and run it.

Then you 'll get msgbox of programid


Thanks & Regards

Naag

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions