Inserted WebEdit value is not sticking in UFT during playback - 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: Inserted WebEdit value is not sticking in UFT during playback (/Thread-Inserted-WebEdit-value-is-not-sticking-in-UFT-during-playback) |
Inserted WebEdit value is not sticking in UFT during playback - priyaUFTlearner - 04-10-2015 My application has a dropdown, UFT is recognizing it as WebEdit. I am able to record dropdown but during playback inserted value is not sticking. Getting cleared as cursor moves out of that field. Tried all these diff ways but none of them worked: 1. Code: Browser("abc").Page("abc").WebEdit("d-0184").object.value = "Corporation" Code: Browser("abc").Page("abc").WebEdit("d-0184").Set "Corporation" Code: Set WshShell = CreateObject("WScript.Shell") Code: Setting.WebPackage("ReplayType") = 2 None of above codes are throwing any error but during playback value is not sticking into the field. Getting cleared out after exiting that field. Can someone suggest me any diff approach? Thanks, Priya RE: Inserted WebEdit value is not sticking in UFT during playback - Sreeni.lutukurthy - 04-13-2015 try Code: WshShell.SendKeys "Corporation" even i have the similar issue , it worked for me. RE: Inserted WebEdit value is not sticking in UFT during playback - babu123 - 04-13-2015 Code: WshShell.SendKeys "Corporation" check this tooo RE: Inserted WebEdit value is not sticking in UFT during playback - priyaUFTlearner - 04-14-2015 Thanks Babu, this code worked for me. Thanks, Priya |