qtp script for recording and running the application.need
script for short cut keys like f3,f4 etc.how to write
script for recording?
Answers were Sorted based on User's Feedback
Answer / chandu
Hi there,
here u can use "Sendkeys" concepts..for further info please
see the QTP help.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / neeraj
Suppose steps in application are as below
Steps:
1: Click on add ( ctrl+a)
2: enter "hi"
3: click on save (ctrl+s)
use sendkey concept
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.sendkeys "^a"
objShell.sendkeys "hi"
objShell.sendkeys "^s"
For more information refer below: http://abcinqtp.blogspot.com/2011/02/how-to-use-sendkey-in-qtp-script.html
set objShell = nothing
Is This Answer Correct ? | 0 Yes | 1 No |
Does the Existing reusable action can be modified at the time of calling the action?? Please help me..
How can you merge two Object Repositories?
How u perform Batch Program in QTP?
How does quicktest professional (qtp) identifies the object in the application?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", Second button "html id:=btnSave "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", Third button "html id:=", outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab Fourth button "html id:=btnSave outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"" 5th button "html id:=", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">",
how we connect oracle or sql data server database to qtp
what are the principles of good testing scripts for automation?
What are the Features & Benefits of Quick Test Pro ?
Can u call winRunner scripts from QTP?
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
How many type of status messages are there ..explain?