How can we use the "CreateObject("Wscript.Shell")" in QTP
and what is the definition and purpose of it?
Answer Posted / hemakumar.m
For perfoming keyboard operations "Wscript" is use full.
Eg:For Pressing "F5"
Set Object=CreateObject("Wscript.Shell")
Object.SendKeys "{F5}"
U can find this in qtp help.
| Is This Answer Correct ? | 10 Yes | 4 No |
Post New Answer View All Answers
We stored into the objects OR and then write the scripting
What are metrics and matrix?
Does QTP run in any environment?
how u will evaluate the tool for test automation?
What are the Application Functions available in QTP?
Which recording modes need more memory?
Connect to QC using AOM.
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
What are the challenges u faced in testing with crm domain? How u overcome with?
How to run a test using quicktest professional?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Explain how to use QTP to check broken links on a page?
What is post recovery scenario?
How to use the object spy in quicktest professional (qtp) 8.0 version?