![]() |
Unable to pass "Enter" Key through Sendkeys - 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 pass "Enter" Key through Sendkeys (/Thread-Unable-to-pass-Enter-Key-through-Sendkeys) |
Unable to pass "Enter" Key through Sendkeys - Lavanya N - 07-23-2015 I am unable to Pass "Enter" Key using sendKeys. Please chk my piece of code below: Code: SiebApplication("Siebel Comunicaciones_5").SiebScreen("Ordenes").SiebView("Detalles").SiebApplet("Pedido de ventas").SiebText("Número de Orden").SetText "1-630947340" the object I am using is a Siebel object. Hence I am not able to pass 'Click' functionality using this object due to which I guess the object is not getting activated. Note: I have used the following options too: mySendKeys.SendKeys {"ENTER"} mySendKeys.SendKeys ENTER Please help me to solve this RE: Unable to pass "Enter" Key through Sendkeys - Lavanya N - 07-24-2015 Got a solution for this: Code: SiebApplication("Siebel Comunicaciones_5").SiebScreen("Ordenes").SiebView("Detalles").SiebApplet("Pedido de ventas").SiebText("Número_de_Orden_Edit").ProcessKey "EnterKey" syntax would be Code: SiebApplication(..).SiebScreen(..).................Siebtext(..).ProcessKey "EnterKey" |