what is difference between calling a function and reusing
an action?
Action and function both are using for reusable purpose.
Action is from qtp side and function is from vbscript side.
If at all any validation need to do in our application then
we go for action.Using function we cann't do any validations
Action can return more than one value using action
parameters whereas function can return only one value.
Regards,
mahi.kotike@gmail.com
| Is This Answer Correct ? | 1 Yes | 2 No |
What are the QTP advantages and disadvantages?
What is difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?
Excepton Handling?
Hi I am working with QTP.If I want to write a certification exams,Which one is the best one suggest me friends!!
What all challenges you have faced during automation and how you have resolved it?
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 u do the back end testing in QTP?
Can anybody give the script to addsheet, add column,add values under that column in the rows??
how to merge object repositories?
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
what are the settings to be done to make the recovery scenario created for one test to be used bye all the other tests. please tell me recovery scenario process in detail.
Connect to QC using AOM.