Unable to identify the web button. - 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: Unable to identify the web button. (/Thread-Unable-to-identify-the-web-button) |
Unable to identify the web button. - laxmiaparna - 10-27-2009 Hi all, Basically it is a web application,When we enter a Customer Name,Register no into the edit Box,then the "Next" button will be Enabled. Before entering the name and register no into the edit boxes,"Next" button will be disabled. My problem is, this is Working properly while iam trying it Manually, but whiel Automating it shows problem at "Next" button. Showing error message "Next" button is disabled.But i checked "Next" button properties in the Object repository,and compared with Object spy. All are same properties. I inserted Standard checkpoint,GetRoproperties and GetToproperties. I could see the snapshot of the "Next" button,which is enabled. But i could not get enable when i run the script. Can any one help me on this. Thanks RE: Unable to identify the web button. - Saket - 10-27-2009 You can refer the thread Button is not getting enabled See if it helps you. RE: Unable to identify the web button. - laxmiaparna - 10-28-2009 Hi, Saket, Thanks for your help. I solved my issue by seeing your way. But iam facing another problem that is, iam trying to pass a value in an webedit box. Now to pass a value in an edit box i have to check a webelement, for example if the webelement will display the records which is relevent to the given value in the webeditbox. Here am trying to select the row from the webelement, but i am not able to select exact webelement from the existing rows. But for one value in the webeditbox is executing successfully. When I parameterised the webeditbox but i could not parameterise the webelement,because when i select exact webelement from the existing rows, it is displaying the same record for every value where i given in webeditbox. I checked the OR there webelement is placed by perticular selected value. Code is Code: Browser("Combined website testing").Page("Combined website testing").Link("Login as intermediary").Click Can you please suggest me what i need to do. Regards Laxmi RE: Unable to identify the web button. - Saket - 10-28-2009 Hi Laxmi, You should always create a new thread for your new query. also wrap your code with proper tags. Refer Posting Guidelines. For answer to your question as you explained and If I am getting it right the text of webelement is changing as you set the web edit, You can use Descriptive programming in your code to identify the webElement. try to modify your code with below statements Code: sText = DataTable("Name","dtLocalSheet") ' parameterized |