11-20-2011, 07:36 PM
Am trying to autoamte the web application and in the same in one of the steps haveto click on the Username link and the username is unique for each customer,
Username mailAddress ID Name Phone Number
Smith smith@gmail.com 123789 smithg -
Based on the Id search we were on the above page so here have to automate to click the username(Contains href) and have to proceed to another page
Every time user changes and QTP failing by object is not found in repositry - yes true every time objects changes based on ID search and here is my code.
So please help our here.
Thanks,
Saisu
Username mailAddress ID Name Phone Number
Smith smith@gmail.com 123789 smithg -
Based on the Id search we were on the above page so here have to automate to click the username(Contains href) and have to proceed to another page
Every time user changes and QTP failing by object is not found in repositry - yes true every time objects changes based on ID search and here is my code.
Code:
Browser("Browser").Page("Page").WebButton("Yes I Am!").Click
Browser("Browser").Page("Page").Frame("toolbar").Link("Customer Search").Click
Browser("Browser").Page("Page").Frame("workarea").WebEdit("v_value").Set "03478921683"
wait 2
Browser("Browser").Page("Page").Frame("workarea").WebButton("Search").Click
Browser("Browser").Page("Page").Frame("workarea_2").Link("Smith").Click---------------------------------> object name Smith
Browser("Browser").Page("Page").Frame("workarea_3").WebButton("View Services").Click
So please help our here.
Thanks,
Saisu