Answer Posted / ramchandra patil
Hi Keshab,
we can run shell script commands(DOS commands) in windows
environment...as QTP support only windows operating system...
you can create object of Wscript.shell as below n can
execute commands..
eg.
Set obj=CreateObject("WScript.Shell")
WshShell.SendKeys “%fâ€
please guys let me know if Iam wrong and what is psbl
correct amswer..
Thanks,
Ramchandra Patil
9699851282
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the use of action split in qtp?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
What is the difference between shared and local object repository?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
Write a script to customize the test results in PDF and HTML format.
hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?
If I give some thousand tests to execute in two days what do you do?
What is the syntax for how to call one script from another?
Name the properties you would use for identifying a browser and page when using descriptive programming?
Approach for Installation,comaptibility,system testing
What is difference between design time and run time data table?
What are the advantages of a Hybrid framework?
How to customize qtp?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }