hi all
QTP recognizing objects
as "string_1","string_2","string_3","string_4" like that
but when using FOR LOOP for these.QTP not proceeding further
can i declare these _1,_2,_3,_4 as a single variable
Answer Posted / ramchandra patil
u can use Regular expressions and iterate through loop.No
need to declare four variables.
Let me know if u need code.
Ramchandra Patil
9699851282
Is This Answer Correct ? | 0 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.
What is the script for database check point, bitmapchek point, regular expression ?
Difference between test object and run time object?
What are the types of data tables in qtp?
Explain how to use QTP to check broken links on a page?
What is text check point and text area check point?
How to find the length of the string in qtp?
What is expert view in qtp?
Can we run multiple QTP scripts one after the other without manual intervention? How?
is it possible to add sheets to excel at runtime
What are the ordinal identifiers in web page?
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 handle Java tree in QTP?
How to suppress warnings from the test results page?
What is a checkpoint? How many check points are there in qtp?