Answer Posted / rambabu-hyd&banga
using exception handling we can handle the run time errors
they are three types in winrunner
1)tsl
2)object
3)pop-up
In qtp they are 4 types
1)pop-up window
2)object state
3)Test run error
4)application crash
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
How many add-ins comes by default with qtp?
How may types of defects identify application or your currently working application?pls give me answer..
How to use checkpoints in qtp ?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
What are the different types of recording modes?
What are the different kinds of test steps?
What is throw object?
what is description object?
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); }
What is the use of ordinal identifier in qtp?
What is QTP and the use of QTP in TD?
In qtp, how you can use xpath to identify objects?
Name the properties you would use for identifying a browser and page when using descriptive programming?
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:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",