I want to open a Notepad window without recording a
test and I do not want to use SystemUtil.Run command as
well How do I do this?
Answer Posted / ravindra
Setfso = CrateObject("scripting.filesystem object")
setf=fso.opentextfile("path of that notepad file",mode of
file,value)
while (f.end of line)<>true
x=f.readline
some statements
f.close
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
What is optional step in qtp? How you can add optional step in qtp?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
Is QTP supports Unix. If yes, then how the test automation is done?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Should have experience in framework means?
whow much strong on VB and C?
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); }
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How to run a test using quicktest professional?
why should we give deliver good quality software?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
Explain the terms test and business component?