| || |
Update logical name of object at run time
I have a web application to be tested through winrunner. In the search page, i will have several links that need to be navigated. Everytime, i test, i have many such links.
I dont want to add the object details of all the links in the gui map file.
Instead what i want to do is, have a temp object (link) definition in gui map file and evertime, i want to test a link, i will replace the logical name of this temp object with that of the name,i want to navigate.
Is this possible? if yes, then how?
Re: Update logical name of object at run time
You can have same logical name, Changing the Physical Description at run time would be the solution.
in the Physical description there is a property html_name, if you change the value of this property using Gui functions the problem would be solved. Please go through the GUI functions for the function name. There is no need to change the Logical Name.