06-24-2009, 02:35 PM
Ok,
Will ask the questions 1 at a time.
1) I have a link on a web browser, the object name that is recorded takes the name of whoevr is logged in. e.g if user 5, is logged in,, the link's name in the object spy will become user 5. if i now run the script and am logged in as user 7,, the script will fail as QTP name for the object has now changed to user 7. How can I reference this object so no matter who is logged in qtp can recognise the link?
Will ask the questions 1 at a time.
1) I have a link on a web browser, the object name that is recorded takes the name of whoevr is logged in. e.g if user 5, is logged in,, the link's name in the object spy will become user 5. if i now run the script and am logged in as user 7,, the script will fail as QTP name for the object has now changed to user 7. How can I reference this object so no matter who is logged in qtp can recognise the link?