08-31-2009, 03:29 PM
Malini -
I regret opening a pandora's box here. Virtual Objects are supposed to be very unstable and ineffective and should be used only in rare case.
You were correct in creating it. Open the OR manager, click on Open, navigate to c:\program files\Mercury Interactive\QuickTest Proffesional\dat\VoTemplate and open the file. You will get the objects added to the Repository.
Use them in your script, It may look like,
Browser().Page().VirtualButton("nameofthebutton").click
PS : I would advise you give up this method if it does not work because persistence with this method kills time and nothing else. This does not signify a hope-less situation.
I regret opening a pandora's box here. Virtual Objects are supposed to be very unstable and ineffective and should be used only in rare case.
You were correct in creating it. Open the OR manager, click on Open, navigate to c:\program files\Mercury Interactive\QuickTest Proffesional\dat\VoTemplate and open the file. You will get the objects added to the Repository.
Use them in your script, It may look like,
Browser().Page().VirtualButton("nameofthebutton").click
PS : I would advise you give up this method if it does not work because persistence with this method kills time and nothing else. This does not signify a hope-less situation.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.