![]() |
Webedit Javascript sync issue - 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: Webedit Javascript sync issue (/Thread-Webedit-Javascript-sync-issue) |
Webedit Javascript sync issue - praveenzack - 10-03-2012 HI Friends, I am facing a below issue - appreciate your help I have a web page which has a text box. When I enter a data in the text box it searchs for validity of the text and then applies the text to the box. I know that it uses a js script to check, but the script also pops a message box saying wait for loading. I am not able to handle this. As soon as i use the .set the message box appears and the text box becomes empty. is there a better way to handle this? thanks Zack RE: Webedit Javascript sync issue - krr - 10-04-2012 Praveen, What you can do is, 1.Set the desired test data into the text field. 2.After that click/close the pop up which you are expecting by checking for its existance. If pop up doesn;t appear also this will carry on. 3.If pop exists once again set the data into the text field. This will resolve your issue. RE: Webedit Javascript sync issue - sshukla12 - 10-04-2012 HI, Try to go with .object property. For ex: ......WebEdit(xx).Object.SetText("Test") Let me know if its work for u. Regards, Sankalp RE: Webedit Javascript sync issue - praveenzack - 10-10-2012 Hi Sankalp thanks for the solution but it does not work. there is no settext property available for the object. Is there a better solution? thanks Praveen |