Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Query:Input from Keyboard
#6
Not Solved
Thanks for your help.
But while executing a scenario Tongueress CTRL F10 once the "Insertcard dailog" appears so that "keyEnter Dialog" appears and we can enter the Card number ihav eused the below mentioned script ,but it doesnt work.Kindly help.
Code:
JavaWindow("Sales_BasicFlow").JavaButton("Card").Click
JavaWindow("Sales_BasicFlow").JavaDialog("Credit/Debit Card Payment").JavaButton("£50.00").Click

set WshShell = CreateObject("WScript.Shell")
JavaWindow("Sales_BasicFlow").JavaDialog("Insert Card").Activate
wait(2)
WshShell.SendKeys("^{F10}")

JavaWindow("Sales_BasicFlow").JavaDialog("Key Enter").JavaEdit("Card Number").Set "5454609899026213"[hr]
Thanks for your help.
But while executing a scenario Tongueress CTRL F10 once the "Insertcard dailog" appears so that "keyEnter Dialog" appears and we can enter the Card number ihav eused the below mentioned script ,but it doesnt work.Kindly help.
Code:
JavaWindow("Sales_BasicFlow").JavaButton("Card").Click
JavaWindow("Sales_BasicFlow").JavaDialog("Credit/Debit Card Payment").JavaButton("£50.00").Click

set WshShell = CreateObject("WScript.Shell")
JavaWindow("Sales_BasicFlow").JavaDialog("Insert Card").Activate
wait(2)
WshShell.SendKeys("^{F10}")

JavaWindow("Sales_BasicFlow").JavaDialog("Key Enter").JavaEdit("Card Number").Set "5454609899026213"[hr]
Thanks for your help.
But while executing a scenario Tongueress CTRL F10 once the "Insertcard dailog" appears so that "keyEnter Dialog" appears and we can enter the Card number ihav eused the below mentioned script ,but it doesnt work.Kindly help.
Code:
JavaWindow("Sales_BasicFlow").JavaButton("Card").Click
JavaWindow("Sales_BasicFlow").JavaDialog("Credit/Debit Card Payment").JavaButton("£50.00").Click

set WshShell = CreateObject("WScript.Shell")
JavaWindow("Sales_BasicFlow").JavaDialog("Insert Card").Activate
wait(2)
WshShell.SendKeys("^{F10}")

JavaWindow("Sales_BasicFlow").JavaDialog("Key Enter").JavaEdit("Card Number").Set "5454609899026213"
Reply


Messages In This Thread
Query:Input from Keyboard - by Rachna - 04-02-2009, 05:13 PM
RE: Query:Input from Keyboard - by manojith1984 - 04-02-2009, 05:33 PM
RE: Query:Input from Keyboard - by Tarik Sheth - 04-02-2009, 07:16 PM
RE: Query:Input from Keyboard - by Tarik Sheth - 04-07-2009, 10:50 AM
RE: Query:Input from Keyboard - by Rachna - 04-07-2009, 11:45 AM
RE: Query:Input from Keyboard - by Rachna - 04-08-2009, 09:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 909 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 18,588 08-07-2017, 11:34 PM
Last Post: zunebuggy
  KeyBoard Events ravi.gajul 4 16,096 07-19-2017, 08:49 PM
Last Post: sathish_win@outlook.com
  how to use keyboard "Space' using qtp Naresh 2 3,118 06-11-2015, 06:30 PM
Last Post: venkatesh9032
  Query regarding "Call" statement anupam4j 1 2,049 09-26-2014, 01:46 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)