![]() |
|
Automate Spiratest mgt tool to add testcases - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Automate Spiratest mgt tool to add testcases (/Thread-Automate-Spiratest-mgt-tool-to-add-testcases) Pages:
1
2
|
RE: Automate Spiratest mgt tool to add testcases - basanth27 - 08-31-2009 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. RE: Automate Spiratest mgt tool to add testcases - Malini - 08-31-2009 Hi Basanth, I will try both methods: 1. first Now I tried to recognize the object just outside the webelement before the click which is a webtable and its recognized...Now, I am trying to extract the cells in the webtable(which are nothing but the webelements). ****till here its working now.. Once I capture the cells, I will check if the cells exist before i perform a click->if exists then click it...after clicking change the properties and then perform the action of copying and pasting the steps and expected results into the cells. click save... once this works, I will try te second method of VO.. Thanks, Malini ![]() I am able to open the virtual object file...and now its got converted to .tsr..
RE: Automate Spiratest mgt tool to add testcases - Malini - 09-01-2009 Hi Basanth, The code is working perfect, I just tested out for 25 test cases..Thanks a ton for your valuable suggestion and such a quick help... <p> Code: For i=50 to 77</p> ------------------------------------------------------------------- Right now the coding is done for the test case entry, the same logic holds for the expected result, which I will implement soon..
|